Xcode7/iOS9의 일본어 글꼴 주위에 대한 이야기입니다.

중화 글씨체 STHeiti가 안 나오면 되는데...


Interface Builder(실질적으로 아이폰 Simulator)의 일본어 글씨체는 이전의 중화 글씨체인'STHeiti/중국어 흑체'에서 다른 것으로 변한 것 같다.아직 쉽게 볼 수 있지만 이것도 중화서체라고 생각합니다.적어도 힐러지노는 아니야.

Xcode6.4: STHeiti의 메스꺼움이 앞에 나타났습니다.

Xcode7: 괜찮아요. 그런데 힐러지노 뿔고는 아니에요. "직"은 맞은편 글씨체예요.

STHeiti 램프(STXihei)."て"의 곡선과 "わ"의 균형 등은'특징성'이다.
SDK의 내용을 보고 "HeitiFallback"의 ttf 파일을 추가했습니다.폴백은 Heiti에 대한 패치일 수 있는 "정확하게 표시되지 않는 글꼴에 대한 대체 글꼴"입니다.나는 IB의 일본어 글씨체, 특히 한자가 매우 이상하다.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Fonts/LanguageSupport/HeitiFallback-Medium.ttf
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Fonts/LanguageSupport/HeitiFallback-Light.ttf

Interface Builder에서 힐러지노코를 직접 지정할 수 없나요?


Interface Builder에서 Hiragino Kaku Gothic ProN 패밀리를 직접 지정할 수 없습니다."Hiragino Sans"라면 언뜻 보면 그런 것 같지만 중국어를 향한 힐러지노 글씨체이기 때문에 Hiragino Kaku Gothic ProN과는 별개의 일이다.명나라가 있는데 왜 여러 가지 고딕 양식을 선택할 수 없지...?구린내야?
"Hiragino Kaku Gothic ProN"은 "Hiragino Sans"패밀리로 교체되었습니다.OS X El Capitan에서 힐러지노계가 이 Hiragino Sans 가문으로 변경된 것이 그 영향으로 여겨진다.
(또한 간체 중국어를 위한 힐러지노는 "Hiragino Sans GB"입니다. 부분을 취소하는 것은 잘못된 것입니다. 정정하겠습니다.)

Xcode6.4: Hiragino Kaku Gothic ProN 가족 선택

Xcode7: Hiragino Sans 가족 교체
기본적으로 시스템 글꼴을 지정하는 사람이 많을 것 같지만 이런 차이가 있다.

마음에 걸려서 UIFont에서 글꼴 패밀리를 출력해 보려고 합니다.

[UIFont familyNames]
Family name: Copperplate
    Font name: Copperplate-Light
    Font name: Copperplate
    Font name: Copperplate-Bold
Family name: Heiti SC
Family name: Iowan Old Style
    Font name: IowanOldStyle-Italic
    Font name: IowanOldStyle-Roman
    Font name: IowanOldStyle-BoldItalic
    Font name: IowanOldStyle-Bold
Family name: Kohinoor Telugu
    Font name: KohinoorTelugu-Regular
    Font name: KohinoorTelugu-Medium
    Font name: KohinoorTelugu-Light
Family name: Thonburi
    Font name: Thonburi
    Font name: Thonburi-Bold
    Font name: Thonburi-Light
Family name: Heiti TC
Family name: Courier New
    Font name: CourierNewPS-BoldMT
    Font name: CourierNewPS-ItalicMT
    Font name: CourierNewPSMT
    Font name: CourierNewPS-BoldItalicMT
Family name: Gill Sans
    Font name: GillSans-Italic
    Font name: GillSans-Bold
    Font name: GillSans-BoldItalic
    Font name: GillSans-LightItalic
    Font name: GillSans
    Font name: GillSans-Light
    Font name: GillSans-SemiBold
    Font name: GillSans-SemiBoldItalic
    Font name: GillSans-UltraBold
Family name: Apple SD Gothic Neo
    Font name: AppleSDGothicNeo-Bold
    Font name: AppleSDGothicNeo-Thin
    Font name: AppleSDGothicNeo-UltraLight
    Font name: AppleSDGothicNeo-Regular
    Font name: AppleSDGothicNeo-Light
    Font name: AppleSDGothicNeo-Medium
    Font name: AppleSDGothicNeo-SemiBold
Family name: Marker Felt
    Font name: MarkerFelt-Thin
    Font name: MarkerFelt-Wide
Family name: Avenir Next Condensed
    Font name: AvenirNextCondensed-BoldItalic
    Font name: AvenirNextCondensed-Heavy
    Font name: AvenirNextCondensed-Medium
    Font name: AvenirNextCondensed-Regular
    Font name: AvenirNextCondensed-HeavyItalic
    Font name: AvenirNextCondensed-MediumItalic
    Font name: AvenirNextCondensed-Italic
    Font name: AvenirNextCondensed-UltraLightItalic
    Font name: AvenirNextCondensed-UltraLight
    Font name: AvenirNextCondensed-DemiBold
    Font name: AvenirNextCondensed-Bold
    Font name: AvenirNextCondensed-DemiBoldItalic
Family name: Tamil Sangam MN
    Font name: TamilSangamMN
    Font name: TamilSangamMN-Bold
Family name: Helvetica Neue
    Font name: HelveticaNeue-Italic
    Font name: HelveticaNeue-Bold
    Font name: HelveticaNeue-UltraLight
    Font name: HelveticaNeue-CondensedBlack
    Font name: HelveticaNeue-BoldItalic
    Font name: HelveticaNeue-CondensedBold
    Font name: HelveticaNeue-Medium
    Font name: HelveticaNeue-Light
    Font name: HelveticaNeue-Thin
    Font name: HelveticaNeue-ThinItalic
    Font name: HelveticaNeue-LightItalic
    Font name: HelveticaNeue-UltraLightItalic
    Font name: HelveticaNeue-MediumItalic
    Font name: HelveticaNeue
Family name: Gurmukhi MN
    Font name: GurmukhiMN-Bold
    Font name: GurmukhiMN
Family name: Times New Roman
    Font name: TimesNewRomanPSMT
    Font name: TimesNewRomanPS-BoldItalicMT
    Font name: TimesNewRomanPS-ItalicMT
    Font name: TimesNewRomanPS-BoldMT
Family name: Georgia
    Font name: Georgia-BoldItalic
    Font name: Georgia
    Font name: Georgia-Italic
    Font name: Georgia-Bold
Family name: Apple Color Emoji
    Font name: AppleColorEmoji
Family name: Arial Rounded MT Bold
    Font name: ArialRoundedMTBold
Family name: Kailasa
    Font name: Kailasa-Bold
    Font name: Kailasa
Family name: Kohinoor Devanagari
    Font name: KohinoorDevanagari-Light
    Font name: KohinoorDevanagari-Regular
    Font name: KohinoorDevanagari-Semibold
Family name: Kohinoor Bangla
    Font name: KohinoorBangla-Semibold
    Font name: KohinoorBangla-Regular
    Font name: KohinoorBangla-Light
Family name: Chalkboard SE
    Font name: ChalkboardSE-Bold
    Font name: ChalkboardSE-Light
    Font name: ChalkboardSE-Regular
Family name: Sinhala Sangam MN
    Font name: SinhalaSangamMN-Bold
    Font name: SinhalaSangamMN
Family name: PingFang TC
    Font name: PingFangTC-Medium
    Font name: PingFangTC-Regular
    Font name: PingFangTC-Light
    Font name: PingFangTC-Ultralight
    Font name: PingFangTC-Semibold
    Font name: PingFangTC-Thin
Family name: Gujarati Sangam MN
    Font name: GujaratiSangamMN-Bold
    Font name: GujaratiSangamMN
Family name: Damascus
    Font name: DamascusLight
    Font name: DamascusBold
    Font name: DamascusSemiBold
    Font name: DamascusMedium
    Font name: Damascus
Family name: Noteworthy
    Font name: Noteworthy-Light
    Font name: Noteworthy-Bold
Family name: Geeza Pro
    Font name: GeezaPro
    Font name: GeezaPro-Bold
Family name: Avenir
    Font name: Avenir-Medium
    Font name: Avenir-HeavyOblique
    Font name: Avenir-Book
    Font name: Avenir-Light
    Font name: Avenir-Roman
    Font name: Avenir-BookOblique
    Font name: Avenir-Black
    Font name: Avenir-MediumOblique
    Font name: Avenir-BlackOblique
    Font name: Avenir-Heavy
    Font name: Avenir-LightOblique
    Font name: Avenir-Oblique
Family name: Academy Engraved LET
    Font name: AcademyEngravedLetPlain
Family name: Mishafi
    Font name: DiwanMishafi
Family name: Futura
    Font name: Futura-CondensedMedium
    Font name: Futura-CondensedExtraBold
    Font name: Futura-Medium
    Font name: Futura-MediumItalic
Family name: Farah
    Font name: Farah
Family name: Kannada Sangam MN
    Font name: KannadaSangamMN
    Font name: KannadaSangamMN-Bold
Family name: Arial Hebrew
    Font name: ArialHebrew-Bold
    Font name: ArialHebrew-Light
    Font name: ArialHebrew
Family name: Arial
    Font name: ArialMT
    Font name: Arial-BoldItalicMT
    Font name: Arial-BoldMT
    Font name: Arial-ItalicMT
Family name: Party LET
    Font name: PartyLetPlain
Family name: Chalkduster
    Font name: Chalkduster
Family name: Hoefler Text
    Font name: HoeflerText-Italic
    Font name: HoeflerText-Regular
    Font name: HoeflerText-Black
    Font name: HoeflerText-BlackItalic
Family name: Optima
    Font name: Optima-Regular
    Font name: Optima-ExtraBlack
    Font name: Optima-BoldItalic
    Font name: Optima-Italic
    Font name: Optima-Bold
Family name: Palatino
    Font name: Palatino-Bold
    Font name: Palatino-Roman
    Font name: Palatino-BoldItalic
    Font name: Palatino-Italic
Family name: Lao Sangam MN
    Font name: LaoSangamMN
Family name: Malayalam Sangam MN
    Font name: MalayalamSangamMN-Bold
    Font name: MalayalamSangamMN
Family name: Al Nile
    Font name: AlNile-Bold
    Font name: AlNile
Family name: Bradley Hand
    Font name: BradleyHandITCTT-Bold
Family name: PingFang HK
    Font name: PingFangHK-Ultralight
    Font name: PingFangHK-Semibold
    Font name: PingFangHK-Thin
    Font name: PingFangHK-Light
    Font name: PingFangHK-Regular
    Font name: PingFangHK-Medium
Family name: Trebuchet MS
    Font name: Trebuchet-BoldItalic
    Font name: TrebuchetMS
    Font name: TrebuchetMS-Bold
    Font name: TrebuchetMS-Italic
Family name: Helvetica
    Font name: Helvetica-Bold
    Font name: Helvetica
    Font name: Helvetica-LightOblique
    Font name: Helvetica-Oblique
    Font name: Helvetica-BoldOblique
    Font name: Helvetica-Light
Family name: Courier
    Font name: Courier-BoldOblique
    Font name: Courier
    Font name: Courier-Bold
    Font name: Courier-Oblique
Family name: Cochin
    Font name: Cochin-Bold
    Font name: Cochin
    Font name: Cochin-Italic
    Font name: Cochin-BoldItalic
Family name: Hiragino Mincho ProN
    Font name: HiraMinProN-W6
    Font name: HiraMinProN-W3
Family name: Devanagari Sangam MN
    Font name: DevanagariSangamMN
    Font name: DevanagariSangamMN-Bold
Family name: Oriya Sangam MN
    Font name: OriyaSangamMN
    Font name: OriyaSangamMN-Bold
Family name: Snell Roundhand
    Font name: SnellRoundhand-Bold
    Font name: SnellRoundhand
    Font name: SnellRoundhand-Black
Family name: Zapf Dingbats
    Font name: ZapfDingbatsITC
Family name: Bodoni 72
    Font name: BodoniSvtyTwoITCTT-Bold
    Font name: BodoniSvtyTwoITCTT-Book
    Font name: BodoniSvtyTwoITCTT-BookIta
Family name: Verdana
    Font name: Verdana-Italic
    Font name: Verdana-BoldItalic
    Font name: Verdana
    Font name: Verdana-Bold
Family name: American Typewriter
    Font name: AmericanTypewriter-CondensedLight
    Font name: AmericanTypewriter
    Font name: AmericanTypewriter-CondensedBold
    Font name: AmericanTypewriter-Light
    Font name: AmericanTypewriter-Bold
    Font name: AmericanTypewriter-Condensed
Family name: Avenir Next
    Font name: AvenirNext-UltraLight
    Font name: AvenirNext-UltraLightItalic
    Font name: AvenirNext-Bold
    Font name: AvenirNext-BoldItalic
    Font name: AvenirNext-DemiBold
    Font name: AvenirNext-DemiBoldItalic
    Font name: AvenirNext-Medium
    Font name: AvenirNext-HeavyItalic
    Font name: AvenirNext-Heavy
    Font name: AvenirNext-Italic
    Font name: AvenirNext-Regular
    Font name: AvenirNext-MediumItalic
Family name: Baskerville
    Font name: Baskerville-Italic
    Font name: Baskerville-SemiBold
    Font name: Baskerville-BoldItalic
    Font name: Baskerville-SemiBoldItalic
    Font name: Baskerville-Bold
    Font name: Baskerville
Family name: Khmer Sangam MN
    Font name: KhmerSangamMN
Family name: Didot
    Font name: Didot-Italic
    Font name: Didot-Bold
    Font name: Didot
Family name: Savoye LET
    Font name: SavoyeLetPlain
Family name: Bodoni Ornaments
    Font name: BodoniOrnamentsITCTT
Family name: Symbol
    Font name: Symbol
Family name: Menlo
    Font name: Menlo-Italic
    Font name: Menlo-Bold
    Font name: Menlo-Regular
    Font name: Menlo-BoldItalic
Family name: Bodoni 72 Smallcaps
    Font name: BodoniSvtyTwoSCITCTT-Book
Family name: Papyrus
    Font name: Papyrus
    Font name: Papyrus-Condensed
Family name: Hiragino Sans
    Font name: HiraginoSans-W3
    Font name: HiraginoSans-W6
Family name: PingFang SC
    Font name: PingFangSC-Ultralight
    Font name: PingFangSC-Regular
    Font name: PingFangSC-Semibold
    Font name: PingFangSC-Thin
    Font name: PingFangSC-Light
    Font name: PingFangSC-Medium
Family name: Euphemia UCAS
    Font name: EuphemiaUCAS-Italic
    Font name: EuphemiaUCAS
    Font name: EuphemiaUCAS-Bold
Family name: Telugu Sangam MN
Family name: Bangla Sangam MN
Family name: Zapfino
    Font name: Zapfino
Family name: Bodoni 72 Oldstyle
    Font name: BodoniSvtyTwoOSITCTT-Book
    Font name: BodoniSvtyTwoOSITCTT-Bold
    Font name: BodoniSvtyTwoOSITCTT-BookIt
'Hiragino Sans'를 보면 W3, W6가 있기 때문에 예전의 Hiragino Kaku Gothic ProN의 것으로 여겨진다.
발췌하다
Family name: Hiragino Sans
    Font name: HiraginoSans-W3
    Font name: HiraginoSans-W6
샌프란시스코(SF***)를 찾을 수 없어서 걱정입니다.
이전 글꼴 패밀리 이름을 직접 지정하면 어떻게 되는지 PostScript 이름을 받았습니다.그래서 호환성을 유지했다고 생각합니다.
[UIFont fontNamesForFamilyName:@"Hiragino Kaku Gothic ProN"]
(
    "HiraKakuProN-W6",
    "HiraKakuProN-W3"
)

아날로그에서 중화 글꼴 검증


영어 환경과 일본어 환경에서 확인했습니다.영어 환경에서는 (언어의 우선순위부터) 중화 글씨체를, 일본어 환경에서는 시스템 글씨체 히라지노를 사용했다.이것은 이전과 같다.
따라서 실제로는 성과물인 응용 프로그램에 큰 영향을 미치지 않는다.(오웬 글꼴이 샌프란시스코로 변경되었습니다.)억지로 말하면 인터페이스 빌더에서 좀 징그러워 보여요.

영어 환경 (언어 순서 기본값).위부터 시스템 글꼴/IB 지정, 시스템 글꼴/코드 지정, HiraKakuProN-W6/코드 지정

일본어 환경.동일 조건

참고 자료 등


http://ma9no.com/2014/12/13/heitl_iyada/
https://ja.wikipedia.org/wiki/힐러지노

좋은 웹페이지 즐겨찾기