Implement kerning, ligatures, etc., and cleanup; in ios.

Implement hasGlyph ligature helper.

Export view property setters for:
 text: textLength, baselineShift, lengthAdjust, alignmentBaseline,
 textPath: side, method, midLine, spacing.

Attempt to fix alignmentBaseline and baselineShift,
but both properties are nil at all times, I must be missing something.
This commit is contained in:
Mikael Sand
2017-08-29 02:34:56 +03:00
parent 0dbddcc2b4
commit 04887af278
15 changed files with 505 additions and 916 deletions
+4
View File
@@ -20,6 +20,10 @@ RCT_EXPORT_MODULE()
}
RCT_EXPORT_VIEW_PROPERTY(href, NSString)
RCT_EXPORT_VIEW_PROPERTY(side, NSString)
RCT_EXPORT_VIEW_PROPERTY(method, NSString)
RCT_EXPORT_VIEW_PROPERTY(midLine, NSString)
RCT_EXPORT_VIEW_PROPERTY(spacing, NSString)
RCT_EXPORT_VIEW_PROPERTY(startOffset, NSString)
@end