You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/11/07 03:27:55 UTC

[GitHub] [incubator-weex] krimeshu edited a comment on issue #2859: [iOS] XCode11打包,iOS13系统手机,使用组件,字体非苹果默认的苹方字体

krimeshu edited a comment on issue #2859: [iOS] XCode11打包,iOS13系统手机,使用<text>组件,字体非苹果默认的苹方字体
URL: https://github.com/apache/incubator-weex/issues/2859#issuecomment-550635087
 
 
   > 感谢你的反馈,Weex目前是隶属于Apache Software Foundation的项目,因此在Gtihub渠道我们鼓励使用英文反馈问题。下面我将使用Google Trasnlate将你的问题翻译成英语,并以英语回答。
   > 
   > > [iOS] XCode11 package, iOS13 system phone, use  component, font is not Apple's default apple font
   > 
   > Change it to whatever you want by using [font-family](https://weex.apache.org/docs/styles/text-styles.html#font-family)
   
   你好,请问具体怎么设置 font-family 呢?
   判断 iOS 原生环境,然后给每个 text 组件都设置一遍 font-family: PingFang; 吗?好像效率很低,还不确定是否能生效,多封装一层组件似乎没必要。
   请问推荐的详细解决方案是什么样呢?
   
   Hello, what's the value be setted to `font-family`? 
   Check if in the iOS native environment, and set `font-family: PingFang;` to every `<text>` or wrap an component (e.g. `<my-text>`) to replace all `<text>`? It seems ugly, and not sure it'll work.
   Would you mind offer an more detail and effective solution? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services