Fix fontSize calculation for pushContext getFloatArrayFromReadableArray calls.

This commit is contained in:
Mikael Sand
2017-07-22 06:32:16 +03:00
parent 2f80931f4d
commit 431efe3f7b
@@ -132,6 +132,13 @@ class GlyphContext {
this.reset();
}
mFontContext.add(font);
mNodes.add(node);
mContextLength++;
top++;
fontSize = getFontSize();
if (x != null) {
mXsIndex++;
mXIndex = -1;
@@ -172,13 +179,7 @@ class GlyphContext {
mdYsContext.add(mdYs);
}
mFontContext.add(font);
mNodes.add(node);
mContextLength++;
pushIndices();
top++;
fontSize = getFontSize();
}
private void pushIndices() {