我担心围绕Xcode 7 / iOS 9中的日语字体的事情


我希望中文字体STHeiti消失了,但是...

似乎Interface Builder的日语字体(内容实际上是iPhone Simulator)已经从以前的中文字体" ST Heiti"改变了。仍然比较容易看到,但是我仍然觉得这也是中文字体。至少没有平野。

ib6.4.png
Xcode 6.4:STHeiti的感觉在前面

ib.png
Xcode 7:仍然更好,但不是平野角吾," Nao"是那边的字体。

heiti.png
STHeiti灯(STXihei)。 " te"曲线和" o"平衡是"特征"。

当我查看SDK的内容时,添加了一个名为" Heiti Fallback"的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中直接指定每个Hiragino系统?

似乎您不能再在Interface Builder中直接指定Hiragino Kaku Gothic ProN系列。 " Hiragino Sans"乍一看像,但是由于这是中文的Hiragino字体,因此与Hiragino Kaku Gothic ProN不同。即使明天早晨……为什么我不能选择每个哥特式建筑?是虫子吗?
" Hiragino Kaku Gothic Pro N"已由" Hiragino Sans"家族取代。在OS X El Capitan中,Hiragino家族已更改为Hiragino Sans家族,这似乎是有效果的。
(简体中文的"平野"为" Hiragino Sans GB",因此取消的部分不正确。我将对其进行纠正。)

font64.png
Xcode 6.4:可选择Hiragino Kaku Gothic ProN系列

font7.png
Xcode 7:由Hiragino Sans家族取代

我认为基本指定系统字体是更常见的,但是有这种区别。

我很好奇,所以我尝试从UIFont

输出字体系列

1
[UIFont familyNames]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
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的版本。

摘抄

1
2
3
Family name: Hiragino Sans
    Font name: HiraginoSans-W3
    Font name: HiraginoSans-W6

我担心找不到

旧金山(SF ***)。

我尝试了如果直接指定旧字体系列名称会发生??什么情况,并且获得了PostScript名称。因此,我认为兼容性得以维持。

1
[UIFont fontNamesForFamilyName:@"Hiragino Kaku Gothic ProN"]
1
2
3
4
(
    "HiraKakuProN-W6",
    "HiraKakuProN-W3"
)

使用模拟器验证中文字体

在英语环境和日语环境中确认。在英语环境中(从语言优先级出发)采用了中文字体,在日语环境中采用了系统字体Hiragino。这和以前一样。

由于它是

,因此实际上对交付的应用程序影响不大。 (欧洲字体已更改为San Francisco。)说穿了,在Interface Builder中看起来有点令人作呕。

en.png
英文环境(默认语言顺序)。从顶部开始,从系统字体/ IB指定,从系统字体/代码指定,从HiraKakuProN-W6 /代码

指定

ja.png
日本环境。相同条件

参考资料等

http://ma9no.com/2014/12/13/heitl_iyada/
https://ja.wikipedia.org/wiki/平野