flex-actionbar

embedded font won't work in Flex mobile ActionBar

房东的猫 提交于 2019-12-04 12:06:27
问题 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 else, and substituting "Comic Sans MS" for "titleCGF" changes it to Comic Sans. So why won't it work with my custom fontFamily? <fx:Style> @namespace s "library://ns.adobe.com/flex/spark"; @font-face { src: url("assets/Comic_Book.ttf"); fontFamily: comic; embedAsCFF: false; } /****************************** @font-face{

embedded font won't work in Flex mobile ActionBar

我怕爱的太早我们不能终老 提交于 2019-12-03 07:33:05
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 else, and substituting "Comic Sans MS" for "titleCGF" changes it to Comic Sans. So why won't it work with my custom fontFamily? <fx:Style> @namespace s "library://ns.adobe.com/flex/spark"; @font-face { src: url("assets/Comic_Book.ttf"); fontFamily: comic; embedAsCFF: false; } /****************************** @font-face{ src: url("assets/CGF_Locust_Resistance.ttf"); fontFamily: titleCGF; embedAsCFF: false; } @font-face{ src