SDXFrameWork 0.09 SDXFrameWork

- Main Page
- Related Pages
- Classes

All Classes Namespaces Functions Variables Enumerations Enumerator Pages
SystemFont.h
1 #pragma once//☀SDL
2
5 namespace SystemFont
6 {
7 #ifdef __WINDOWS__
8 static const char* Gothic = "C:/Windows/Fonts/msgothic.ttc";
9 static const char* Mincho = "C:/Windows/Fonts/msmincho.ttc";
10
11 static const char* UI_Gothic = "C:/Windows/Fonts/msgothic.ttc";
12 static const char* Ｐゴシック = "C:/Windows/Fonts/msgothic.ttc";
13 static const char* Ｐ明朝 = "C:/Windows/Fonts/msmincho.ttc";
14 static const char* メイリオ = "C:/Windows/Fonts/meiryo.ttc";
15 static const char* Meiryo_UI = "C:/Windows/Fonts/meiryo.ttc";
16 //win8.1以降
17 //static const char* 游ゴシック = "C:/Windows/Fonts/";
18 //static const char* 游ゴシック_Light = "C:/Windows/Fonts/";
19 //static const char* 游ゴシック_Bold = "C:/Windows/Fonts/";
20 //static const char* 游明朝 = "C:/Windows/Fonts/";
21 //static const char* 游明朝_Demibold = "C:/Windows/Fonts/";
22
23 #elif defined(__MACOSX__)
24 const char* Gothic = "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf";
25 const char* Mincho = "/System/Library/Fonts/ヒラギノ明朝 ProN W3.otf";
26
27 const char* ヒラギノ角ゴPro_W3 = "/Library/Fonts/ヒラギノ角ゴ Pro W3.otf";
28 const char* ヒラギノ角ゴProN_W3 = "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf";
29 const char* ヒラギノ角ゴPro_W6 = "/Library/Fonts/ヒラギノ角ゴ Pro W6.otf";
30 const char* ヒラギノ角ゴProN_W6 = "/System/Library/Fonts/ヒラギノ角ゴ ProN W6.otf";
31 const char* ヒラギノ角ゴStd_W8 = "/Library/Fonts/ヒラギノ角ゴ Std W8.otf";
32 const char* ヒラギノ角ゴStdN_W8 = "/Library/Fonts/ヒラギノ角ゴ StdN W8.otf";
33 const char* ヒラギノ丸ゴPro_W4 = "/Library/Fonts/ヒラギノ丸ゴ ProN W4.otf";
34 const char* ヒラギノ丸ゴProN_W4 = "/Library/Fonts/ヒラギノ丸ゴ ProN W4.otf";
35 const char* ヒラギノ明朝Pro_W3 = "/Library/Fonts/ヒラギノ明朝 Pro W3.otf";
36 const char* ヒラギノ明朝ProN_W3 = "/System/Library/Fonts/ヒラギノ明朝 ProN W3.otf";
37 const char* ヒラギノ明朝Pro_W6 = "/Library/Fonts/ヒラギノ明朝 Pro W6.otf";
38 const char* ヒラギノ明朝ProN_W6 = "/System/Library/Fonts/ヒラギノ明朝 ProN W6.otf";
39 const char* 游明朝体 = "/Library/Fonts/Yu Mincho Demibold.otf";
40 const char* 游ゴシック体 = "/Library/Fonts/Yu Gothic Medium.otf";
41 const char* Osaka = "/Library/Fonts/Osaka.ttf";
42 const char* Osaka等幅 = "/Library/Fonts/OsakaMono.ttf";
43 #elif defined(__LINUX__)
44 static const char* Gothic;
45 static const char* Mincho;
46
47 static const char* TakaoGothic;
48 static const char* TakaoExGothic;
49
50 static const char* TakaoMincho;
51 static const char* TakaoPMincho;
52 static const char* TakaoEXMincho;
53
54 static const char* Monospace;
55 static const char* sans;
56 static const char* serif;
57 #elif defined(__ANDROID__)
58 static const char* Gothic = "/system/fonts/TBGothicMed_213.ttf";
59 static const char* Mincho = "/system/fonts/TBGothicMed_213.ttf";
60 #elif defined(__IPHONEOS__)
61 static const char* Gothic;
62 static const char* Mincho;
63 #endif
64 }