mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-03 23:16:13 +00:00
[android] Fix unicode emoji modifiers.
This commit is contained in:
@@ -695,12 +695,9 @@ class TSpanShadowNode extends TextShadowNode {
|
||||
break;
|
||||
}
|
||||
String nextLigature = current + String.valueOf(chars[nextIndex]);
|
||||
boolean hasNextLigature = PaintCompat.hasGlyph(paint, nextLigature);
|
||||
if (hasNextLigature) {
|
||||
ligature[nextIndex] = true;
|
||||
current = nextLigature;
|
||||
hasLigature = true;
|
||||
}
|
||||
ligature[nextIndex] = true;
|
||||
current = nextLigature;
|
||||
hasLigature = true;
|
||||
}
|
||||
}
|
||||
double charWidth = paint.measureText(current) * scaleSpacingAndGlyphs;
|
||||
|
||||
Reference in New Issue
Block a user