负责的项目要大改版,字体使用平方字体。因此调研了系统支持的字体。
系统默认字体
使用系统默认字体,这个是我们开发时最常用的了,现在打出来字体的 Family 和 FontName 看下吧:
NSLog(@"%@:%@",[NSFont systemFontOfSize:14].familyName,[NSFont systemFontOfSize:14].fontName);
1
.AppleSystemUIFont:.AppleSystemUIFont
支持的 FontFamily
NSLog(@"%@",[[NSFontManager sharedFontManager]availableFontFamilies]);
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
[
Al Bayan,
Al Nile,
Al Tarikh,
American Typewriter,
Andale Mono,
Arial,
Arial Black,
Arial Hebrew,
Arial Hebrew Scholar,
Arial Narrow,
Arial Rounded MT Bold,
Arial Unicode MS,
Athelas,
Avenir,
Avenir Next,
Avenir Next Condensed,
Ayuthaya,
Baghdad,
Bangla MN,
Bangla Sangam MN,
Baoli SC,
Baoli TC,
Baskerville,
Beirut,
BiauKai,
Big Caslon,
Bodoni 72,
Bodoni 72 Oldstyle,
Bodoni 72 Smallcaps,
Bodoni Ornaments,
Bradley Hand,
Brush Script MT,
Chalkboard,
Chalkboard SE,
Chalkduster,
Charter,
Cochin,
Comic Sans MS,
Copperplate,
Corsiva Hebrew,
Courier,
Courier New,
Damascus,
DecoType Naskh,
Devanagari MT,
Devanagari Sangam MN,
Didot,
DIN Alternate,
DIN Condensed,
Diwan Kufi,
Diwan Thuluth,
Euphemia UCAS,
Farah,
Farisi,
Futura,
GB18030 Bitmap,
Geeza Pro,
Geneva,
Georgia,
Gill Sans,
Gujarati MT,
Gujarati Sangam MN,
GungSeo,
Gurmukhi MN,
Gurmukhi MT,
Gurmukhi Sangam MN,
Hannotate SC,
Hannotate TC,
HanziPen SC,
HanziPen TC,
HeadLineA,
Hei,
Heiti SC,
Heiti TC,
Helvetica,
Helvetica Neue,
Herculanum,
Hiragino Kaku Gothic Pro,
Hiragino Kaku Gothic ProN,
Hiragino Kaku Gothic Std,
Hiragino Kaku Gothic StdN,
Hiragino Maru Gothic Pro,
Hiragino Maru Gothic ProN,
Hiragino Mincho Pro,
Hiragino Mincho ProN,
Hiragino Sans,
Hiragino Sans CNS,
Hiragino Sans GB,
Hoefler Text,
Impact,
InaiMathi,
Iowan Old Style,
ITF Devanagari,
ITF Devanagari Marathi,
Kai,
Kailasa,
Kaiti SC,
Kaiti TC,
Kannada MN,
Kannada Sangam MN,
Kefa,
Khmer MN,
Khmer Sangam MN,
Klee,
Kohinoor Bangla,
Kohinoor Devanagari,
Kohinoor Telugu,
Kokonor,
Krungthep,
KufiStandardGK,
Lantinghei SC,
Lantinghei TC,
Lao MN,
Lao Sangam MN,
Libian SC,
Libian TC,
LiHei Pro,
LingWai SC,
LingWai TC,
LiSong Pro,
Lucida Grande,
Luminari,
Malayalam MN,
Malayalam Sangam MN,
Marion,
Marker Felt,
Menlo,
Microsoft Sans Serif,
Mishafi,
Mishafi Gold,
Monaco,
Mshtakan,
Muna,
Myanmar MN,
Myanmar Sangam MN,
Nadeem,
Nanum Brush Script,
Nanum Gothic,
Nanum Myeongjo,
Nanum Pen Script,
New Peninim MT,
Noteworthy,
Noto Nastaliq Urdu,
Optima,
Oriya MN,
Oriya Sangam MN,
Osaka,
Palatino,
Papyrus,
PCMyungjo,
Phosphate,
PilGi,
PingFang HK,
PingFang SC,
PingFang TC,
Plantagenet Cherokee,
PT Mono,
PT Sans,
PT Sans Caption,
PT Sans Narrow,
PT Serif,
PT Serif Caption,
Raanana,
Rockwell,
Sana,
Sathu,
Savoye LET,
Seravek,
Shree Devanagari 714,
SignPainter,
Silom,
Sinhala MN,
Sinhala Sangam MN,
Skia,
Snell Roundhand,
Songti SC,
Songti TC,
STFangsong,
STHeiti,
STIXGeneral,
STIXIntegralsD,
STIXIntegralsSm,
STIXIntegralsUp,
STIXIntegralsUpD,
STIXIntegralsUpSm,
STIXNonUnicode,
STIXSizeFiveSym,
STIXSizeFourSym,
STIXSizeOneSym,
STIXSizeThreeSym,
STIXSizeTwoSym,
STIXVariants,
STKaiti,
STSong,
Sukhumvit Set,
Superclarendon,
Symbol,
Tahoma,
Tamil MN,
Tamil Sangam MN,
Telugu MN,
Telugu Sangam MN,
Thonburi,
Times,
Times New Roman,
Toppan Bunkyu Gothic,
Toppan Bunkyu Midashi Gothic,
Toppan Bunkyu Midashi Mincho,
Toppan Bunkyu Mincho,
Trattatello,
Trebuchet MS,
Tsukushi A Round Gothic,
Tsukushi B Round Gothic,
Verdana,
Waseem,
Wawati SC,
Wawati TC,
Webdings,
Weibei SC,
Weibei TC,
Wingdings,
Wingdings 2,
Wingdings 3,
Xingkai SC,
Xingkai TC,
Yuanti SC,
Yuanti TC,
YuGothic,
YuKyokasho,
YuKyokasho Yoko,
YuMincho,
YuMincho +36p Kana,
Yuppy SC,
Yuppy TC,
Zapf Dingbats,
Zapfino,
Apple Braille,
Apple Chancery,
Apple Color Emoji,
Apple LiGothic,
Apple LiSung,
Apple SD Gothic Neo,
Apple Symbols,
AppleGothic,
AppleMyungjo
]
支持的 Font
NSLog(@"%@",[[NSFontManager sharedFontManager]availableFonts]);
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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
[
.AlBayanPUA,
.AlBayanPUA-Bold,
.AlNilePUA,
.AlNilePUA-Bold,
.AlTarikhPUA,
.AppleColorEmojiUI,
.AppleSDGothicNeoI-Bold,
.AppleSDGothicNeoI-ExtraBold,
.AppleSDGothicNeoI-Heavy,
.AppleSDGothicNeoI-Light,
.AppleSDGothicNeoI-Medium,
.AppleSDGothicNeoI-Regular,
.AppleSDGothicNeoI-SemiBold,
.AppleSDGothicNeoI-Thin,
.AppleSDGothicNeoI-UltraLight,
.ArabicUIDisplay-Black,
.ArabicUIDisplay-Bold,
.ArabicUIDisplay-Heavy,
.ArabicUIDisplay-Light,
.ArabicUIDisplay-Medium,
.ArabicUIDisplay-Regular,
.ArabicUIDisplay-Semibold,
.ArabicUIDisplay-Thin,
.ArabicUIDisplay-Ultralight,
.ArabicUIText-Bold,
.ArabicUIText-Heavy,
.ArabicUIText-Light,
.ArabicUIText-Medium,
.ArabicUIText-Regular,
.ArabicUIText-Semibold,
.ArialHebrewDeskInterface,
.ArialHebrewDeskInterface-Bold,
.ArialHebrewDeskInterface-Light,
.BaghdadPUA,
.BeirutPUA,
.DamascusPUA,
.DamascusPUABold,
.DamascusPUALight,
.DamascusPUAMedium,
.DamascusPUASemiBold,
.DecoTypeNaskhPUA,
.DiwanKufiPUA,
.FarahPUA,
.GeezaProInterface,
.GeezaProInterface-Bold,
.GeezaProInterface-Light,
.GeezaProPUA,
.GeezaProPUA-Bold,
.HelveticaNeueDeskInterface-Bold,
.HelveticaNeueDeskInterface-BoldItalic,
.HelveticaNeueDeskInterface-Heavy,
.HelveticaNeueDeskInterface-Italic,
.HelveticaNeueDeskInterface-Light,
.HelveticaNeueDeskInterface-MediumItalicP4,
.HelveticaNeueDeskInterface-MediumP4,
.HelveticaNeueDeskInterface-Regular,
.HelveticaNeueDeskInterface-Thin,
.HelveticaNeueDeskInterface-UltraLightP2,
.HiraKakuInterface-W0,
.HiraKakuInterface-W1,
.HiraKakuInterface-W2,
.HiraKakuInterface-W3,
.HiraKakuInterface-W4,
.HiraKakuInterface-W5,
.HiraKakuInterface-W6,
.HiraKakuInterface-W7,
.HiraKakuInterface-W8,
.HiraKakuInterface-W9,
.HiraginoSansGBInterface-W3,
.HiraginoSansGBInterface-W6,
.Keyboard,
.KufiStandardGKPUA,
.LucidaGrandeUI,
.LucidaGrandeUI-Bold,
.MunaPUA,
.MunaPUABlack,
.MunaPUABold,
.NadeemPUA,
.NotoNastaliqUrduUI,
.PingFangHK-Light,
.PingFangHK-Medium,
.PingFangHK-Regular,
.PingFangHK-Semibold,
.PingFangHK-Thin,
.PingFangHK-Ultralight,
.PingFangSC-Light,
.PingFangSC-Medium,
.PingFangSC-Regular,
.PingFangSC-Semibold,
.PingFangSC-Thin,
.PingFangSC-Ultralight,
.PingFangTC-Light,
.PingFangTC-Medium,
.PingFangTC-Regular,
.PingFangTC-Semibold,
.PingFangTC-Thin,
.PingFangTC-Ultralight,
.SFCompactDisplay-Black,
.SFCompactDisplay-Bold,
.SFCompactDisplay-Heavy,
.SFCompactDisplay-Light,
.SFCompactDisplay-Medium,
.SFCompactDisplay-Regular,
.SFCompactDisplay-Semibold,
.SFCompactDisplay-Thin,
.SFCompactDisplay-Ultralight,
.SFCompactRounded-Black,
.SFCompactRounded-Bold,
.SFCompactRounded-Heavy,
.SFCompactRounded-Light,
.SFCompactRounded-Medium,
.SFCompactRounded-Regular,
.SFCompactRounded-Semibold,
.SFCompactRounded-Thin,
.SFCompactRounded-Ultralight,
.SFCompactText-Bold,
.SFCompactText-BoldItalic,
.SFCompactText-Heavy,
.SFCompactText-HeavyItalic,
.SFCompactText-Italic,
.SFCompactText-Light,
.SFCompactText-LightItalic,
.SFCompactText-Medium,
.SFCompactText-MediumItalic,
.SFCompactText-Regular,
.SFCompactText-Semibold,
.SFCompactText-SemiboldItalic,
.SFNSDisplay,
.SFNSDisplay-Black,
.SFNSDisplay-BlackItalic,
.SFNSDisplay-Bold,
.SFNSDisplay-BoldItalic,
.SFNSDisplay-Heavy,
.SFNSDisplay-HeavyItalic,
.SFNSDisplay-Italic,
.SFNSDisplay-Light,
.SFNSDisplay-LightItalic,
.SFNSDisplay-Medium,
.SFNSDisplay-MediumItalic,
.SFNSDisplay-Semibold,
.SFNSDisplay-SemiboldItalic,
.SFNSDisplay-Thin,
.SFNSDisplay-ThinG1,
.SFNSDisplay-ThinG2,
.SFNSDisplay-ThinG3,
.SFNSDisplay-ThinG4,
.SFNSDisplay-ThinItalic,
.SFNSDisplay-Ultralight,
.SFNSDisplay-UltralightItalic,
.SFNSDisplayCondensed-Black,
.SFNSDisplayCondensed-Bold,
.SFNSDisplayCondensed-Heavy,
.SFNSDisplayCondensed-Light,
.SFNSDisplayCondensed-Medium,
.SFNSDisplayCondensed-Regular,
.SFNSDisplayCondensed-Semibold,
.SFNSDisplayCondensed-Thin,
.SFNSDisplayCondensed-Ultralight,
.SFNSRounded-Black,
.SFNSRounded-Bold,
.SFNSRounded-Heavy,
.SFNSRounded-Light,
.SFNSRounded-Medium,
.SFNSRounded-Regular,
.SFNSRounded-Semibold,
.SFNSRounded-Thin,
.SFNSRounded-Ultralight,
.SFNSSymbols-Black,
.SFNSSymbols-Bold,
.SFNSSymbols-Heavy,
.SFNSSymbols-Light,
.SFNSSymbols-Medium,
.SFNSSymbols-Regular,
.SFNSSymbols-Semibold,
.SFNSSymbols-Thin,
.SFNSSymbols-Ultralight,
.SFNSText,
.SFNSText-Bold,
.SFNSText-BoldItalic,
.SFNSText-Heavy,
.SFNSText-HeavyItalic,
.SFNSText-Italic,
.SFNSText-Light,
.SFNSText-LightItalic,
.SFNSText-Medium,
.SFNSText-MediumItalic,
.SFNSText-Semibold,
.SFNSText-SemiboldItalic,
.SFNSTextCondensed-Bold,
.SFNSTextCondensed-Heavy,
.SFNSTextCondensed-Light,
.SFNSTextCondensed-Medium,
.SFNSTextCondensed-Regular,
.SFNSTextCondensed-Semibold,
.SanaPUA,
.SavoyeLetPlainCC,
AlBayan,
AlBayan-Bold,
AlNile,
AlNile-Bold,
AlTarikh,
AmericanTypewriter,
AmericanTypewriter-Bold,
AmericanTypewriter-Condensed,
AmericanTypewriter-CondensedBold,
AmericanTypewriter-CondensedLight,
AmericanTypewriter-Light,
AmericanTypewriter-Semibold,
AndaleMono,
Apple-Chancery,
AppleBraille,
AppleBraille-Outline6Dot,
AppleBraille-Outline8Dot,
AppleBraille-Pinpoint6Dot,
AppleBraille-Pinpoint8Dot,
AppleColorEmoji,
AppleGothic,
AppleMyungjo,
AppleSDGothicNeo-Bold,
AppleSDGothicNeo-ExtraBold,
AppleSDGothicNeo-Heavy,
AppleSDGothicNeo-Light,
AppleSDGothicNeo-Medium,
AppleSDGothicNeo-Regular,
AppleSDGothicNeo-SemiBold,
AppleSDGothicNeo-Thin,
AppleSDGothicNeo-UltraLight,
AppleSymbols,
AquaKana,
AquaKana-Bold,
Arial-Black,
Arial-BoldItalicMT,
Arial-BoldMT,
Arial-ItalicMT,
ArialHebrew,
ArialHebrew-Bold,
ArialHebrew-Light,
ArialHebrewScholar,
ArialHebrewScholar-Bold,
ArialHebrewScholar-Light,
ArialMT,
ArialNarrow,
ArialNarrow-Bold,
ArialNarrow-BoldItalic,
ArialNarrow-Italic,
ArialRoundedMTBold,
ArialUnicodeMS,
Athelas-Bold,
Athelas-BoldItalic,
Athelas-Italic,
Athelas-Regular,
Avenir-Black,
Avenir-BlackOblique,
Avenir-Book,
Avenir-BookOblique,
Avenir-Heavy,
Avenir-HeavyOblique,
Avenir-Light,
Avenir-LightOblique,
Avenir-Medium,
Avenir-MediumOblique,
Avenir-Oblique,
Avenir-Roman,
AvenirNext-Bold,
AvenirNext-BoldItalic,
AvenirNext-DemiBold,
AvenirNext-DemiBoldItalic,
AvenirNext-Heavy,
AvenirNext-HeavyItalic,
AvenirNext-Italic,
AvenirNext-Medium,
AvenirNext-MediumItalic,
AvenirNext-Regular,
AvenirNext-UltraLight,
AvenirNext-UltraLightItalic,
AvenirNextCondensed-Bold,
AvenirNextCondensed-BoldItalic,
AvenirNextCondensed-DemiBold,
AvenirNextCondensed-DemiBoldItalic,
AvenirNextCondensed-Heavy,
AvenirNextCondensed-HeavyItalic,
AvenirNextCondensed-Italic,
AvenirNextCondensed-Medium,
AvenirNextCondensed-MediumItalic,
AvenirNextCondensed-Regular,
AvenirNextCondensed-UltraLight,
AvenirNextCondensed-UltraLightItalic,
Ayuthaya,
Baghdad,
BanglaMN,
BanglaMN-Bold,
BanglaSangamMN,
BanglaSangamMN-Bold,
Baskerville,
Baskerville-Bold,
Baskerville-BoldItalic,
Baskerville-Italic,
Baskerville-SemiBold,
Baskerville-SemiBoldItalic,
Beirut,
BigCaslon-Medium,
BodoniOrnamentsITCTT,
BodoniSvtyTwoITCTT-Bold,
BodoniSvtyTwoITCTT-Book,
BodoniSvtyTwoITCTT-BookIta,
BodoniSvtyTwoOSITCTT-Bold,
BodoniSvtyTwoOSITCTT-Book,
BodoniSvtyTwoOSITCTT-BookIt,
BodoniSvtyTwoSCITCTT-Book,
BradleyHandITCTT-Bold,
BrushScriptMT,
Chalkboard,
Chalkboard-Bold,
ChalkboardSE-Bold,
ChalkboardSE-Light,
ChalkboardSE-Regular,
Chalkduster,
Charter-Black,
Charter-BlackItalic,
Charter-Bold,
Charter-BoldItalic,
Charter-Italic,
Charter-Roman,
Cochin,
Cochin-Bold,
Cochin-BoldItalic,
Cochin-Italic,
ComicSansMS,
ComicSansMS-Bold,
Copperplate,
Copperplate-Bold,
Copperplate-Light,
CorsivaHebrew,
CorsivaHebrew-Bold,
Courier,
Courier-Bold,
Courier-BoldOblique,
Courier-Oblique,
CourierNewPS-BoldItalicMT,
CourierNewPS-BoldMT,
CourierNewPS-ItalicMT,
CourierNewPSMT,
DFKaiShu-SB-Estd-BF,
DFWaWaSC-W5,
DFWaWaTC-W5,
DINAlternate-Bold,
DINCondensed-Bold,
Damascus,
DamascusBold,
DamascusLight,
DamascusMedium,
DamascusSemiBold,
DecoTypeNaskh,
DevanagariMT,
DevanagariMT-Bold,
DevanagariSangamMN,
DevanagariSangamMN-Bold,
Didot,
Didot-Bold,
Didot-Italic,
DiwanKufi,
DiwanMishafi,
DiwanMishafiGold,
DiwanThuluth,
EuphemiaUCAS,
EuphemiaUCAS-Bold,
EuphemiaUCAS-Italic,
FZLTTHB--B51-0,
FZLTTHK--GBK1-0,
FZLTXHB--B51-0,
FZLTXHK--GBK1-0,
FZLTZHB--B51-0,
FZLTZHK--GBK1-0,
Farah,
Farisi,
Futura-Bold,
Futura-CondensedExtraBold,
Futura-CondensedMedium,
Futura-Medium,
Futura-MediumItalic,
GB18030Bitmap,
GeezaPro,
GeezaPro-Bold,
Geneva,
Georgia,
Georgia-Bold,
Georgia-BoldItalic,
Georgia-Italic,
GillSans,
GillSans-Bold,
GillSans-BoldItalic,
GillSans-Italic,
GillSans-Light,
GillSans-LightItalic,
GillSans-SemiBold,
GillSans-SemiBoldItalic,
GillSans-UltraBold,
GujaratiMT,
GujaratiMT-Bold,
GujaratiSangamMN,
GujaratiSangamMN-Bold,
GurmukhiMN,
GurmukhiMN-Bold,
GurmukhiSangamMN,
GurmukhiSangamMN-Bold,
HannotateSC-W5,
HannotateSC-W7,
HannotateTC-W5,
HannotateTC-W7,
HanziPenSC-W3,
HanziPenSC-W5,
HanziPenTC-W3,
HanziPenTC-W5,
Helvetica,
Helvetica-Bold,
Helvetica-BoldOblique,
Helvetica-Light,
Helvetica-LightOblique,
Helvetica-Oblique,
HelveticaNeue,
HelveticaNeue-Bold,
HelveticaNeue-BoldItalic,
HelveticaNeue-CondensedBlack,
HelveticaNeue-CondensedBold,
HelveticaNeue-Italic,
HelveticaNeue-Light,
HelveticaNeue-LightItalic,
HelveticaNeue-Medium,
HelveticaNeue-MediumItalic,
HelveticaNeue-Thin,
HelveticaNeue-ThinItalic,
HelveticaNeue-UltraLight,
HelveticaNeue-UltraLightItalic,
Herculanum,
HiraKakuPro-W3,
HiraKakuPro-W6,
HiraKakuProN-W3,
HiraKakuProN-W6,
HiraKakuStd-W8,
HiraKakuStdN-W8,
HiraMaruPro-W4,
HiraMaruProN-W4,
HiraMinPro-W3,
HiraMinPro-W6,
HiraMinProN-W3,
HiraMinProN-W6,
HiraginoSans-W0,
HiraginoSans-W1,
HiraginoSans-W2,
HiraginoSans-W3,
HiraginoSans-W4,
HiraginoSans-W5,
HiraginoSans-W6,
HiraginoSans-W7,
HiraginoSans-W8,
HiraginoSans-W9,
HiraginoSansCNS-W3,
HiraginoSansCNS-W6,
HiraginoSansGB-W3,
HiraginoSansGB-W6,
HoeflerText-Black,
HoeflerText-BlackItalic,
HoeflerText-Italic,
HoeflerText-Ornaments,
HoeflerText-Regular,
ITFDevanagari-Bold,
ITFDevanagari-Book,
ITFDevanagari-Demi,
ITFDevanagari-Light,
ITFDevanagari-Medium,
ITFDevanagariMarathi-Bold,
ITFDevanagariMarathi-Book,
ITFDevanagariMarathi-Demi,
ITFDevanagariMarathi-Light,
ITFDevanagariMarathi-Medium,
Impact,
InaiMathi,
InaiMathi-Bold,
IowanOldStyle-Black,
IowanOldStyle-BlackItalic,
IowanOldStyle-Bold,
IowanOldStyle-BoldItalic,
IowanOldStyle-Italic,
IowanOldStyle-Roman,
IowanOldStyle-Titling,
JCHEadA,
JCfg,
JCkg,
JCsmPC,
Kailasa,
Kailasa-Bold,
KannadaMN,
KannadaMN-Bold,
KannadaSangamMN,
KannadaSangamMN-Bold,
Kefa-Bold,
Kefa-Regular,
KhmerMN,
KhmerMN-Bold,
KhmerSangamMN,
Klee-Demibold,
Klee-Medium,
KohinoorBangla-Bold,
KohinoorBangla-Light,
KohinoorBangla-Medium,
KohinoorBangla-Regular,
KohinoorBangla-Semibold,
KohinoorDevanagari-Bold,
KohinoorDevanagari-Light,
KohinoorDevanagari-Medium,
KohinoorDevanagari-Regular,
KohinoorDevanagari-Semibold,
KohinoorTelugu-Bold,
KohinoorTelugu-Light,
KohinoorTelugu-Medium,
KohinoorTelugu-Regular,
KohinoorTelugu-Semibold,
Kokonor,
Krungthep,
KufiStandardGK,
LaoMN,
LaoMN-Bold,
LaoSangamMN,
LastResort,
LiGothicMed,
LiHeiPro,
LiSongPro,
LiSungLight,
LucidaGrande,
LucidaGrande-Bold,
Luminari-Regular,
MLingWaiMedium-SC,
MLingWaiMedium-TC,
MalayalamMN,
MalayalamMN-Bold,
MalayalamSangamMN,
MalayalamSangamMN-Bold,
Marion-Bold,
Marion-Italic,
Marion-Regular,
MarkerFelt-Thin,
MarkerFelt-Wide,
Menlo-Bold,
Menlo-BoldItalic,
Menlo-Italic,
Menlo-Regular,
MicrosoftSansSerif,
Monaco,
MonotypeGurmukhi,
Mshtakan,
MshtakanBold,
MshtakanBoldOblique,
MshtakanOblique,
Muna,
MunaBlack,
MunaBold,
MyanmarMN,
MyanmarMN-Bold,
MyanmarSangamMN,
MyanmarSangamMN-Bold,
Nadeem,
NanumBrush,
NanumGothic,
NanumGothicBold,
NanumGothicExtraBold,
NanumMyeongjo,
NanumMyeongjoBold,
NanumMyeongjoExtraBold,
NanumPen,
NewPeninimMT,
NewPeninimMT-Bold,
NewPeninimMT-BoldInclined,
NewPeninimMT-Inclined,
Noteworthy-Bold,
Noteworthy-Light,
NotoNastaliqUrdu,
Optima-Bold,
Optima-BoldItalic,
Optima-ExtraBlack,
Optima-Italic,
Optima-Regular,
OriyaMN,
OriyaMN-Bold,
OriyaSangamMN,
OriyaSangamMN-Bold,
Osaka,
Osaka-Mono,
PTMono-Bold,
PTMono-Regular,
PTSans-Bold,
PTSans-BoldItalic,
PTSans-Caption,
PTSans-CaptionBold,
PTSans-Italic,
PTSans-Narrow,
PTSans-NarrowBold,
PTSans-Regular,
PTSerif-Bold,
PTSerif-BoldItalic,
PTSerif-Caption,
PTSerif-CaptionItalic,
PTSerif-Italic,
PTSerif-Regular,
Palatino-Bold,
Palatino-BoldItalic,
Palatino-Italic,
Palatino-Roman,
Papyrus,
Papyrus-Condensed,
Phosphate-Inline,
Phosphate-Solid,
PingFangHK-Light,
PingFangHK-Medium,
PingFangHK-Regular,
PingFangHK-Semibold,
PingFangHK-Thin,
PingFangHK-Ultralight,
PingFangSC-Light,
PingFangSC-Medium,
PingFangSC-Regular,
PingFangSC-Semibold,
PingFangSC-Thin,
PingFangSC-Ultralight,
PingFangTC-Light,
PingFangTC-Medium,
PingFangTC-Regular,
PingFangTC-Semibold,
PingFangTC-Thin,
PingFangTC-Ultralight,
PlantagenetCherokee,
Raanana,
RaananaBold,
Rockwell-Bold,
Rockwell-BoldItalic,
Rockwell-Italic,
Rockwell-Regular,
SIL-Hei-Med-Jian,
SIL-Kai-Reg-Jian,
STBaoliSC-Regular,
STBaoliTC-Regular,
STFangsong,
STHeiti,
STHeitiSC-Light,
STHeitiSC-Medium,
STHeitiTC-Light,
STHeitiTC-Medium,
STIXGeneral-Bold,
STIXGeneral-BoldItalic,
STIXGeneral-Italic,
STIXGeneral-Regular,
STIXIntegralsD-Bold,
STIXIntegralsD-Regular,
STIXIntegralsSm-Bold,
STIXIntegralsSm-Regular,
STIXIntegralsUp-Bold,
STIXIntegralsUp-Regular,
STIXIntegralsUpD-Bold,
STIXIntegralsUpD-Regular,
STIXIntegralsUpSm-Bold,
STIXIntegralsUpSm-Regular,
STIXNonUnicode-Bold,
STIXNonUnicode-BoldItalic,
STIXNonUnicode-Italic,
STIXNonUnicode-Regular,
STIXSizeFiveSym-Regular,
STIXSizeFourSym-Bold,
STIXSizeFourSym-Regular,
STIXSizeOneSym-Bold,
STIXSizeOneSym-Regular,
STIXSizeThreeSym-Bold,
STIXSizeThreeSym-Regular,
STIXSizeTwoSym-Bold,
STIXSizeTwoSym-Regular,
STIXVariants-Bold,
STIXVariants-Regular,
STKaiti,
STKaitiSC-Black,
STKaitiSC-Bold,
STKaitiSC-Regular,
STKaitiTC-Black,
STKaitiTC-Bold,
STKaitiTC-Regular,
STLibianSC-Regular,
STLibianTC-Regular,
STSong,
STSongti-SC-Black,
STSongti-SC-Bold,
STSongti-SC-Light,
STSongti-SC-Regular,
STSongti-TC-Bold,
STSongti-TC-Light,
STSongti-TC-Regular,
STXihei,
STXingkaiSC-Bold,
STXingkaiSC-Light,
STXingkaiTC-Bold,
STXingkaiTC-Light,
STYuanti-SC-Bold,
STYuanti-SC-Light,
STYuanti-SC-Regular,
STYuanti-TC-Bold,
STYuanti-TC-Light,
STYuanti-TC-Regular,
Sana,
Sathu,
SavoyeLetPlain,
Seravek,
Seravek-Bold,
Seravek-BoldItalic,
Seravek-ExtraLight,
Seravek-ExtraLightItalic,
Seravek-Italic,
Seravek-Light,
Seravek-LightItalic,
Seravek-Medium,
Seravek-MediumItalic,
ShreeDev0714,
ShreeDev0714-Bold,
ShreeDev0714-BoldItalic,
ShreeDev0714-Italic,
SignPainter-HouseScript,
SignPainter-HouseScriptSemibold,
Silom,
SinhalaMN,
SinhalaMN-Bold,
SinhalaSangamMN,
SinhalaSangamMN-Bold,
Skia-Regular,
Skia-Regular_Black,
Skia-Regular_Black-Condensed,
Skia-Regular_Black-Extended,
Skia-Regular_Bold,
Skia-Regular_Condensed,
Skia-Regular_Extended,
Skia-Regular_Light,
Skia-Regular_Light-Condensed,
Skia-Regular_Light-Extended,
SnellRoundhand,
SnellRoundhand-Black,
SnellRoundhand-Bold,
SukhumvitSet-Bold,
SukhumvitSet-Light,
SukhumvitSet-Medium,
SukhumvitSet-SemiBold,
SukhumvitSet-Text,
SukhumvitSet-Thin,
Superclarendon-Black,
Superclarendon-BlackItalic,
Superclarendon-Bold,
Superclarendon-BoldItalic,
Superclarendon-Italic,
Superclarendon-Light,
Superclarendon-LightItalic,
Superclarendon-Regular,
Symbol,
Tahoma,
Tahoma-Bold,
TamilMN,
TamilMN-Bold,
TamilSangamMN,
TamilSangamMN-Bold,
TeluguMN,
TeluguMN-Bold,
TeluguSangamMN,
TeluguSangamMN-Bold,
Thonburi,
Thonburi-Bold,
Thonburi-Light,
Times-Bold,
Times-BoldItalic,
Times-Italic,
Times-Roman,
TimesNewRomanPS-BoldItalicMT,
TimesNewRomanPS-BoldMT,
TimesNewRomanPS-ItalicMT,
TimesNewRomanPSMT,
ToppanBunkyuGothicPr6N-DB,
ToppanBunkyuGothicPr6N-Regular,
ToppanBunkyuMidashiGothicStdN-ExtraBold,
ToppanBunkyuMidashiMinchoStdN-ExtraBold,
ToppanBunkyuMinchoPr6N-Regular,
Trattatello,
Trebuchet-BoldItalic,
TrebuchetMS,
TrebuchetMS-Bold,
TrebuchetMS-Italic,
TsukuARdGothic-Bold,
TsukuARdGothic-Regular,
TsukuBRdGothic-Bold,
TsukuBRdGothic-Regular,
Verdana,
Verdana-Bold,
Verdana-BoldItalic,
Verdana-Italic,
Waseem,
WaseemLight,
Webdings,
WeibeiSC-Bold,
WeibeiTC-Bold,
Wingdings-Regular,
Wingdings2,
Wingdings3,
YuGo-Bold,
YuGo-Medium,
YuKyo-Bold,
YuKyo-Medium,
YuKyo_Yoko-Bold,
YuKyo_Yoko-Medium,
YuMin-Demibold,
YuMin-Extrabold,
YuMin-Medium,
YuMin_36pKn-Demibold,
YuMin_36pKn-Extrabold,
YuMin_36pKn-Medium,
YuppySC-Regular,
YuppyTC-Regular,
ZapfDingbatsITC,
Zapfino
]
使用
以平方字体举例:
[NSFont fontWithName:@"PingFangSC-Thin" size:14];
[NSFont fontWithName:@"PingFangSC-Regular" size:14];
实际使用中可能有些问题,我们 UI 设计师使用 sketch 工具标注的字体是 PingFangSC-Semibold,如果我直接用的话实际效果是字体太粗了,我使用 PingFangSC-Regular 是接近她想要的效果的,目前并不清楚哪里有问题,导致了这里的不对应!