0
appcelerator 합금 프레임 워크에서 사용자 정의 글꼴을 사용하려고합니다.Appcelerator 사용자 정의 글꼴 helvetica
header.tss
".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>
tiapp.xml
<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>
: 나는 다음과 같은 파일이개
글꼴이 나는 HelveticaNeueLTStd-BdCn.otf
을 열고있을 때 나는 그 글꼴
here을 첨부했습니다
응용 프로그램/자산/글꼴에 저장되어, 다음과 같은 이름 나타납니다.
내가 누락 된 항목이 있습니까?
티타늄 문서 상태와 동일한 패밀리에 글꼴이 하나만있는 경우 '패밀리'를 사용할 수 있습니다. 그러나 PostScript 이름은 항상 작동하며 동일한 패밀리의 서로 다른 스타일의 글꼴을 구별 할 수 있습니다 –