mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-08 01:00:43 +00:00
Fix fontSize calculation for pushContext getFloatArrayFromReadableArray calls.
This commit is contained in:
@@ -132,6 +132,13 @@ class GlyphContext {
|
|||||||
this.reset();
|
this.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mFontContext.add(font);
|
||||||
|
mNodes.add(node);
|
||||||
|
mContextLength++;
|
||||||
|
top++;
|
||||||
|
|
||||||
|
fontSize = getFontSize();
|
||||||
|
|
||||||
if (x != null) {
|
if (x != null) {
|
||||||
mXsIndex++;
|
mXsIndex++;
|
||||||
mXIndex = -1;
|
mXIndex = -1;
|
||||||
@@ -172,13 +179,7 @@ class GlyphContext {
|
|||||||
mdYsContext.add(mdYs);
|
mdYsContext.add(mdYs);
|
||||||
}
|
}
|
||||||
|
|
||||||
mFontContext.add(font);
|
|
||||||
mNodes.add(node);
|
|
||||||
mContextLength++;
|
|
||||||
pushIndices();
|
pushIndices();
|
||||||
top++;
|
|
||||||
|
|
||||||
fontSize = getFontSize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void pushIndices() {
|
private void pushIndices() {
|
||||||
|
|||||||
Reference in New Issue
Block a user