简体   繁体   English

Adobe Flex Tabbed View Navigator移动应用程序嵌入式字体

[英]Adobe Flex Tabbed View Navigator Mobile Application Embedded Font

I have a TabbedViewNavigatorApplication, I am using an embeded font for my tabs however when a tab is selected it loses the embeded font as by default the selected item is italic (I believe). 我有一个TabbedViewNavigatorApplication,我为选项卡使用了嵌入字体,但是当选择一个选项卡时,它会失去嵌入字体,因为默认情况下,所选项目为斜体(我相信)。 I've tried several different styles but have not been able to figure out what style applies to the selected tab in my tabbedviewnavigator. 我尝试了几种不同的样式,但无法确定哪种样式适用于tabbedviewnavigator中的选定选项卡。 Thanks in advance for the help. 先谢谢您的帮助。

JH JH

Try to copy-paste your embedding declaration( @font-face ), add there fontStyle: italic , and change url of embedded file to version that contains italic font faces. 尝试复制粘贴您的嵌入声明( @font-face ),在其中添加fontStyle: italic ,然后将嵌入文件的url更改为包含斜体字体的版本。 (usually it is ended with i , like verdanai.tff . (通常,它以i结尾,例如verdanai.tff

You can also do this for fontWeight: bold , and for any other variations of font. 您还可以对fontWeight: bold和其他字体变体执行此操作。 All of your font-faces shall have similar fontFamily name - in that case correct version of font will be chosen automatically. 您的所有字体均应具有相似的fontFamily名称-在这种情况下,将自动选择正确的字体版本。

Ok, so I got it working... It was a bit of a pain and I'm sure could have been done in an easier way but here's what I did. 好的,这样我就可以正常工作了……这有点痛苦,我敢肯定可以用一种更简单的方式来完成,但这就是我所做的。

  1. Downloaded FontCreator 7 下载了FontCreator 7
  2. Opened my regular (non-italic) font 打开我的常规(非斜体)字体
  3. Selected "Font" > "Properties" 选择“字体”>“属性”
  4. Set it to Italic (only changes properties of the file, not how the font looks) 将其设置为斜体(仅更改文件的属性,而不更改字体的外观)
  5. Save my font 保存我的字体
  6. Embed the font with fontStyle: italic; 用fontStyle嵌入字体:斜体;
  7. Set the fontStyle:italic on the TabbedViewNavigator and set the font family to my embeded italic font 在TabbedViewNavigator上设置fontStyle:italic并将字体系列设置为我的嵌入斜体字体

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Adobe air mobile:在“选项卡式导航器”应用程序中将“ VIEW标题”设置为false - Adobe air mobile: Set VIEW Title visible false in Tabbed Navigator application 在flex mobile 4.5中的选项卡式视图导航器应用程序中,如何才能拥有不属于主要选项卡式应用程序的主页选项卡? - In a tabbed view navigator application in flex mobile 4.5 how can i have a home tab which is not part of the main tabbed application? Adobe Flex移动应用程序 - Adobe flex mobile application 在Adobe Flex Mobile中拆分视图 - Split View in adobe flex mobile Adobe Flex 3到Flex 4:旋转字体在嵌入式字体上消失 - Adobe Flex 3 to Flex 4: Rotated Text Disappears on Embedded font 如何在ipad应用程序的选项卡式视图导航器中添加皮肤? - How to add skin in a tabbed view navigator in ipad application? 在同一视图上显示Flex移动式底部和顶部选项卡式视图 - Flex mobile bottom and top tabbed views on the same view 在整个应用程序中更改字体大小或主题 - Adob​​e Flex / AIR - Change font size or theme across entire application - Adobe Flex / AIR Flex Mobile:从一种视图导航器到另一种视图导航器的交叉导航 - Flex mobile: cross navigation from one view navigator to other 在视图导航器过渡期间禁用操作栏动画-Flex Mobile? - Disable action bar aniation during a view navigator transition - Flex Mobile?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM