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:
[email protected]


With regards,
Apache Git Services

Reply via email to