mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-05 07:59:28 +00:00
Fix fontSize calculation for pushContext getFloatArrayFromReadableArray calls.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user