Edit text leading fixed (#922 Edit text rendering: position is wrong)

This commit is contained in:
honfika@gmail.com
2015-06-10 15:56:03 +02:00
parent 9a7d42d969
commit cfbb305ec5

View File

@@ -1059,7 +1059,7 @@ public class DefineEditTextTag extends TextTag {
List<TEXTRECORD> allTextRecords = new ArrayList<>();
int lastHeight = 0;
int yOffset = 0;
int yOffset = -leading;
for (List<SameStyleTextRecord> line : lines) {
int width = 0;
int currentOffset = 0;