From 52c4c7a6bbb27c4b5244a031b3426b475e4ffc56 Mon Sep 17 00:00:00 2001 From: rjh <15191819693@163.com> Date: Fri, 20 Sep 2024 09:38:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20[Issue:=20#IASCTZ]=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-text-size=E7=9A=84=E6=8C=87=E5=AF=BC?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/react-native-text-size.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zh-cn/react-native-text-size.md b/zh-cn/react-native-text-size.md index a6fc4f4c..cb705db1 100644 --- a/zh-cn/react-native-text-size.md +++ b/zh-cn/react-native-text-size.md @@ -345,10 +345,12 @@ ohpm install | fontFamilyNames | Returns a Promise for an array of font family names available on the system | string[] | No | All | yes | | fontNamesForFamilyName | Return the data of the corresponding font according to the name | string[] | No | All | yes | +> [!tip] 参数信息查看 [Github 地址](https://github.com/react-native-oh-library/react-native-text-size) + ## 遗留问题 - [ ] fontFamilyNames&fontNamesForFamilyName 问题:需要依赖手机文件 font 目录下的 json 文件,该文件目前没有预置在手机目录下,会导致该接口调用为空。后续底层框架侧修复该问题 [issue#1](https://github.com/react-native-oh-library/react-native-text-size/issues/1) -- [ ] measure方法缺少lastLineWidth和lineInfo的返回处理 [issue#2](https://github.com/react-native-oh-library/react-native-text-size/issues/8) +- [ ] measure方法缺少lineInfo的返回处理 [issue#2](https://github.com/react-native-oh-library/react-native-text-size/issues/8) ## 其他 -- Gitee From 5ef59c4a2219c40b01cc3614921c5430f9ea8127 Mon Sep 17 00:00:00 2001 From: rjh <15191819693@163.com> Date: Fri, 20 Sep 2024 10:01:43 +0800 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20[Issue:=20#IASCTZ]=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-text-size=E7=9A=84=E6=8C=87=E5=AF=BC?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/react-native-text-size.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zh-cn/react-native-text-size.md b/zh-cn/react-native-text-size.md index cb705db1..e9ac3327 100644 --- a/zh-cn/react-native-text-size.md +++ b/zh-cn/react-native-text-size.md @@ -12,6 +12,7 @@

+ > [!TIP] [Github 地址](https://github.com/react-native-oh-library/react-native-text-size) ## 安装与使用 @@ -336,6 +337,8 @@ ohpm install > [!tip] "HarmonyOS Support"列为 yes 表示 HarmonyOS 平台支持该属性;no 则表示不支持;partially 表示部分支持。使用方法跨平台一致,效果对标 iOS 或 Android 的效果。 +> [!tip] 参数信息查看 [Github 地址](https://github.com/react-native-oh-library/react-native-text-size) + | Name | Description | Type | Required | Platform | HarmonyOS Support | | ---------------------- | ------------------------------------------------------------------------------- | ------------------------------- | -------- | -------- | ----------------- | | measure | Measurement Text | TSMeasureResult | No | All | partially | @@ -345,7 +348,6 @@ ohpm install | fontFamilyNames | Returns a Promise for an array of font family names available on the system | string[] | No | All | yes | | fontNamesForFamilyName | Return the data of the corresponding font according to the name | string[] | No | All | yes | -> [!tip] 参数信息查看 [Github 地址](https://github.com/react-native-oh-library/react-native-text-size) ## 遗留问题 -- Gitee