embedded font won't work in Flex mobile ActionBar

前端 未结 6 1107
执念已碎
执念已碎 2021-02-09 14:33

i\'ve got a few fonts embedded and am using them in my mobile application, and they are all working, except for the ones i try to use for the \"ActionBar\". They work everywhere

6条回答
  •  北海茫月
    2021-02-09 15:01

    I had the same problem for mx buton in flex4 what I did was mentioned font weight in both place as bold. Then it got working.

    
    
    @font-face
            { 
                src: url("assets/fonts/Quasari1.ttf");
                fontFamily: msd;
                embedAsCFF: true; 
                fontWeight : bold;
    
            }
    mx|Button{   
                fontFamily: msd;
                fontSize:22;
                color: red;
                fontWeight : bold;
                textFieldClass: ClassReference("mx.core.UIFTETextField"); 
            } 
    
    
    

提交回复
热议问题