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 2020/03/30 14:38:43 UTC

[GitHub] [incubator-weex] MagicLinuxRing opened a new issue #3182: [Android][iOS]使用dom addRule添加字体,发现不起效果

MagicLinuxRing opened a new issue #3182: [Android][iOS]使用dom addRule添加字体,发现不起效果
URL: https://github.com/apache/incubator-weex/issues/3182
 
 
         beforeCreate: function() {
         var domModule = weex.requireModule('dom');
         domModule.addRule('fontFace', {
           'fontFamily': "iconFont_DIN",
           'src': "url('https://oss-upload.hz5800.com/common/weex/lzcj_home/font/2020/3/30/1585577732369599640.ttf')"
         });
     },
   
   本意是自定义字体DIN medium 发现根本没起作用

----------------------------------------------------------------
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

[GitHub] [incubator-weex] MagicLinuxRing closed issue #3182: [Android][iOS]使用dom addRule添加字体,发现不起效果

Posted by GitBox <gi...@apache.org>.
MagicLinuxRing closed issue #3182: [Android][iOS]使用dom addRule添加字体,发现不起效果
URL: https://github.com/apache/incubator-weex/issues/3182
 
 
   

----------------------------------------------------------------
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