'나눔글꼴'에 해당되는 글 1건

  1. 2011.12.29 [IPHONE] 나눔고딕 적용

[IPHONE] 나눔고딕 적용

CS/iPhone 2011. 12. 29. 03:25
참고 : http://kgriff.posterous.com/45359635

1. plist 에 폰트 등록

<key>UIAppFonts</key>
<array>
<string>NanumGothicExtraBold.ttf</string>
<string>NanumGothicBold.ttf</string>
<string>NanumGothic.ttf</string>
</array>

혹은  "Fonts provided by application" 에 추가

OTF는 시뮬러에터에서는 동작하나, Device 에서 동작 안하는듯. (확인 필요)

2. 사용

[UIFont fontWithName:@"NanumGothicExtraBold" size:22.0];
[UIFont fontWithName:@"NanumGothicBold" size:22.0];
[UIFont fontWithName:@"NanumGothic" size:22.0]; 



Device 에서 보았을 때, 그다지 깔끔하지 않은 것 같음. OTL...

: