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/01/23 10:11:08 UTC

[GitHub] julonglu commented on issue #2072: ttf字体无效,woff未测试

julonglu commented on issue #2072: ttf字体无效,woff未测试
URL: https://github.com/apache/incubator-weex/issues/2072#issuecomment-456744414
 
 
   问题产生源文件WXTextComponent.m:
   行数185至194
   - (BOOL)useCoreText
   {
   if ([_useCoreTextAttr isEqualToString:@"true"]) {
   return YES;
   }
   if ([_useCoreTextAttr isEqualToString:@"false"]) {
   return NO;
   }
   return YES;//问题在这,此处改为false 或者 所有的text标签按如下写法 <text coretext="false" :style="mergeStyle" >&#xe642;</text>
   }
   coretext="false" 是关键
   因公司业务源码需要修改的地方太多,我在这将return YES;改为return NO;

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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