null check

This commit is contained in:
honfika@gmail.com
2016-03-06 21:04:49 +01:00
parent 5a42f1ed91
commit 65c5943544

View File

@@ -298,8 +298,14 @@ public abstract class TextTag extends CharacterTag implements DrawableTag {
}
y = rec.yOffset;
}
firstLine = false;
allLeftMargins.add(currentLeftMargin);
if (glyphs == null) {
continue;
}
int letterSpacing = 0;
for (int e = 0; e < rec.glyphEntries.size(); e++) {
GLYPHENTRY entry = rec.glyphEntries.get(e);