Appcelerator自定义字体helvetica
我正在尝试在appcelerator alloy框架中使用自定义字体。 我有以下文件: 标题。tssAppcelerator自定义字体helvetica,appcelerator,appcelerator-mobile,titanium-alloy,Appcelerator,Appcelerator Mobile,Titanium Alloy,我正在尝试在appcelerator alloy框架中使用自定义字体。 我有以下文件: 标题。tss ".headerButtonLabel": { color: '#5d5d5d', shadowOffset: {x: 1, y: 1}, shadowColor: '#ffffff', font: {fontSize: 18, fontFamily: 'Helvetica Neue LT Std 77 Bold Condensed'}, textAlig
".headerButtonLabel": {
color: '#5d5d5d',
shadowOffset: {x: 1, y: 1},
shadowColor: '#ffffff',
font: {fontSize: 18, fontFamily: 'Helvetica Neue LT Std 77 Bold Condensed'},
textAlign: 'left'
}
header.xml
<Button class="headerButton">
<Label class="headerButtonLabel" text="Text button here"></Label>
</Button>
<ios>
<plist>
<dict>
<key>UIAppFonts</key>
<array>
<string>fonts/HelveticaNeueLTStd-Bd.otf</string>
<string>fonts/HelveticaNeueLTStd-BdCn.otf</string>
<string>fonts/HelveticaNeueLTStd-Roman.otf</string>
</array>
</dict>
</plist>
</ios>
tiapp.xml
<Button class="headerButton">
<Label class="headerButtonLabel" text="Text button here"></Label>
</Button>
<ios>
<plist>
<dict>
<key>UIAppFonts</key>
<array>
<string>fonts/HelveticaNeueLTStd-Bd.otf</string>
<string>fonts/HelveticaNeueLTStd-BdCn.otf</string>
<string>fonts/HelveticaNeueLTStd-Roman.otf</string>
</array>
</dict>
</plist>
</ios>
UIAppFonts
当我打开HelveticaNeueLTStd BdCn.otf
时,它会显示以下名称Helvetica Neue LT Std 77粗体压缩
我错过了什么吗?毕竟要想清楚
在为IOS开发时,字体手册中的PostScript名称似乎是正确的名称。毕竟要弄清楚
在为IOS开发时,字体手册中的PostScript名称似乎是正确的名称。如果与Tianium文档状态相同的系列中只有一种字体,则可以使用“系列”。但是,PostScript名称将始终有效,并且可以区分同一系列中的不同字体样式。如果与文档状态相同的系列中只有一种字体,则可以使用“系列”。但是,PostScript名称将始终有效,并且可以区分同一系列中的不同字体样式