react-native-text-size icon indicating copy to clipboard operation
react-native-text-size copied to clipboard

Measure text accurately before laying it out and get font information from your App.

Results 25 react-native-text-size issues
Sort by recently updated
recently updated
newest added

When I test both chinese text and english text for Multi font. the english text height is correct. but the chinese text height is incorrect.

I'm using a custom font. It returns the text width for ios correctly. but in Android it always measures over the correct amount of width. anyway to incorporate custom fonts?

Seems like the TextInput width is greater than the same text in Text. If I apply the calculated `width` to the Text, it displays it without a problem, but if...

is it possible with image sizes provided? thanks!

修复安卓行数计算的逻辑bug

So i spent hours trying to figure out why do i get `'React/RCTBridgeModule.h' file not found` when trying to build my project after linking `react-native-text-size`, i tried both manual install...

Check this blog for more information on Lazy loading the native modules http://blog.nparashuram.com/2019/04/lazy-native-modules-react-native-android.html

Hi, I'm getting following error when try this library to calculate height of text in iOS: `'Error in measure:', { [Error: Missing required text.] framesToPop: 1, code: 'E_MISSING_TEXT', domain: 'RCTErrorDomain',...

When "./gradlew assembleRelease" I get this error: ``` > Task :react-native-text-size:compileReleaseJavaWithJavac Note: C:\Users\MyUser\Documents\Git\my-app\node_modules\react-native-text-size\android\src\main\java\com\github\amarcruz\rntextsize\RNTextSizeModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. ```

I fixed autolinking issue in this library, it works in android and ios. Please consider to merge this contribution.