-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfonts.xml
More file actions
129 lines (114 loc) · 8.94 KB
/
fonts.xml
File metadata and controls
129 lines (114 loc) · 8.94 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<themes>
<!--
Possible values for fontDef
ref="name" - defines whatever this font definition is a clone of other font ( if it does, fonts share VRAM & below params except color="#HEX" )
size="12" - defines font atlas pixel size
mono="false" - If true, font smoothing is disabled.
hinting="AutoMedium" - Strength of hinting ( See https://github.com/libgdx/libgdx/blob/ca7d1884b85917ee968a9c5ea2726024f525c1dc/extensions/gdx-freetype/src/com/badlogic/gdx/graphics/g2d/freetype/FreeTypeFontGenerator.java#L706 )
color="#HEX" - defines font tint color on render ( not atlas color )
font_color="#HEX" - defines atlas font color
shadow_x="0" - defines shadow x offset
shadow_y="0" - defines shadow y offset
shadow_color="#HEX" - defines atlas shadow color. Values are defined as Alpha/R/G/B bytes. Default: #BF000000 (Black @ 75% opacity)
border_width="0" - defines thickness of border in pixels
border_color="#HEX" - defines atlas border color
border_straight="bool" - true/false defines whether square edges for borders are used (default: false)
incremental="bool" - true/false defines whether the font is incremental. For fonts which have limited expected characters, e.g. trainer names, predefining the characters attribute will save vram by creating a minimally sized texture
unique_atlas="bool" - true/false defines whether the font is given a unique atlas. Increases memory usage, but can help performance in some circumstances.
For more options see https://github.com/libgdx/libgdx/blob/ca7d1884b85917ee968a9c5ea2726024f525c1dc/extensions/gdx-freetype/src/com/badlogic/gdx/graphics/g2d/freetype/FreeTypeFontGenerator.java#L733
Capital letters should be replaced with lowercases, starting with an underscore. e.g. "magFilter" should be "mag_filter"
-->
<fontDef name="battle" filename="res/fonts/battle.ttf" color="#FFFFFF" shadow_offset_x="1" shadow_offset_y="1"
shadow_color="#CC000000" size="48" hinting="Full"/>
<fontDef name="braille" ref="battle"/>
<fontDef name="alphabeta" filename="res/fonts/NotoSansCJK-Medium.ttc" faces="sc,tc,jp" color="#FFFFFF" size="12"
size_cjk="14" hinting="Full" hinting_cjk="Slight" default="true"
unique_atlas="true"><!-- Chat font gets its own atlas -->
<fontParam if="disabled" color="#A9A9A9"/>
<fontParam if="pressed" offsetX="1" offsetY="1"/>
</fontDef>
<fontDef name="alphabeta-markup" markup="true" filename="res/fonts/NotoSansCJK-Medium.ttc" faces="sc,tc,jp"
color="#FFFFFF" size="12" size_cjk="14" hinting="Full" hinting_cjk="Slight"
unique_atlas="true"><!-- Chat font gets its own atlas -->
<fontParam if="disabled" color="#A9A9A9"/>
<fontParam if="pressed" offsetX="1" offsetY="1"/>
</fontDef>
<fontDef name="alphabeta-gray" ref="alphabeta" color="#484848"/>
<fontDef name="alphabeta-black" ref="alphabeta" color="black"/>
<fontDef name="alphabeta-green" ref="alphabeta" color="#7CB147"/>
<fontDef name="alphabeta-blue" ref="alphabeta" color="#AACFFF"/>
<fontDef name="alphabeta-orange-shadow" ref="alphabeta" color="#FF9900"/>
<fontDef name="alphabeta-battle" ref="alphabeta" color="#FFFF00"/>
<fontDef name="alphabeta-orange" ref="alphabeta" color="#FF9900"/>
<fontDef name="alphabeta-lightgreen" ref="alphabeta" color="#66FF66"/>
<fontDef name="alphabeta-purple" ref="alphabeta" color="#FF99FF"/>
<fontDef name="alphabeta-teal" ref="alphabeta" color="#81ddf1"/>
<fontDef name="alphabeta-red" ref="alphabeta" color="#f09999"/>
<fontDef name="alphabeta-yellow" ref="alphabeta" color="#e2c57e"/>
<fontDef name="alphabeta-brown" ref="alphabeta" color="#ff8484"/>
<fontDef name="alphabeta-gm" ref="alphabeta" color="#5e98ff"/>
<fontDef name="alphabeta-cm" ref="alphabeta" color="#58ff64"/>
<fontDef name="alphabeta-hgm" ref="alphabeta" color="#ff5858"/>
<fontDef name="alphabeta-dev" ref="alphabeta" color="#d575ff"/>
<fontDef name="alphabeta-admin" ref="alphabeta" color="#ff63cb"/>
<fontDef name="alphabeta-friend" ref="alphabeta" color="#58ff64"/>
<fontDef name="alphabeta-team" ref="alphabeta" color="#00ffff"/>
<fontDef name="alphabeta-link" ref="alphabeta" color="#00e6b8"/>
<fontDef name="alphabeta-border" filename="res/fonts/NotoSansCJK-Medium.ttc" faces="sc,tc,jp" kerning="true" color="white" size="12" size_cjk="14" hinting="AutoSlight" hinting_cjk="Full" border_width="1" border_color="#434343">
<fontParam if="pressed" offsetX="1" offsetY="1"/>
</fontDef>
<fontDef name="alphabeta-border-red" ref="alphabeta-border" color="#f09999"/>
<fontDef name="alphabeta-border-friend" ref="alphabeta-border" color="#58ff64"/>
<fontDef name="alphabeta-border-team" ref="alphabeta-border" color="#00ffff"/>
<fontDef name="alphabeta-border-yellow" ref="alphabeta-border" color="#e2c57e"/>
<fontDef name="alphabeta-small" filename="res/fonts/NotoSansCJK-Medium.ttc" faces="sc,tc,jp" color="#FFFFFF" size="12" size_cjk="13" hinting="Full" hinting_cjk="Slight"/>
<fontDef name="pb-dark" ref="alphabeta" color="#FFFFFF">
<fontParam if="disabled" color="#A9A9A9"/>
<fontParam if="pressed" offsetX="1" offsetY="1"/>
</fontDef>
<fontDef name="tooltip-font" filename="res/fonts/NotoSansCJK-Medium.ttc" faces="sc,tc,jp" color="#535353" size="12" size_cjk="14" hinting="Full" hinting_cjk="Full" shadow_color="#20FFFFFF" shadow_offset_x="1" shadow_offset_y="1">
<fontParam if="disabled" color="#CCC"/>
</fontDef>
<fontDef name="tooltip-font-markup" filename="res/fonts/NotoSansCJK-Medium.ttc" markup="true" faces="sc,tc,jp" color="#535353" size="12" size_cjk="14" hinting="Full" hinting_cjk="Full" shadow_color="#20FFFFFF" shadow_offset_x="1" shadow_offset_y="1">
<fontParam if="disabled" color="#CCC"/>
</fontDef>
<fontDef name="pb-dark-link" ref="pb-dark" color="#434343">
<fontParam if="disabled" color="#000"/>
</fontDef>
<fontDef name="pb-tab" ref="pb-dark" color="#999">
<fontParam if="selected" color="#FFFFFF"/>
</fontDef>
<fontDef name="pb-dark-green" ref="pb-dark" color="#56d245">
<fontParam if="selected" color="white"/>
</fontDef>
<fontDef name="pb-dark-yellow" ref="pb-dark" color="#FFD800"/>
<fontDef name="pb-dark-red" ref="pb-dark" color="#fc6a78"/>
<fontDef name="listbox-display" ref="pb-dark" color="#FFFFFF">
<fontParam if="hover | keyboardFocus | selected" color="#FFFFFF"/>
</fontDef>
<fontDef name="pb-dark-orange" ref="pb-dark" color="#BBBBBB"/>
<fontDef name="noto-8pt" filename="res/fonts/NotoSansCJK-Medium.ttc" faces="sc,tc,jp" color="#FFFFFF" border_width="1" border_color="#434343" size="8" incremental="false" characters="0123456789ABCDEF"/>
<fontDef name="noto-bold-large-white" filename="res/fonts/NotoSansCJK-Bold.ttc" faces="sc,tc,jp" color="#FFFFFF" hinting="Medium" kerning="false" size="16" shadow_color="#40000000" shadow_offset_x="1" shadow_offset_y="1" border_width="1" border_color="#282828"/>
<fontDef name="messagebox" filename="res/fonts/NotoSansCJK-Bold.ttc" faces="sc,tc,jp" color="#222222" hinting="Medium" kerning="false" size="24" shadow_color="#40000000" shadow_offset_x="1" shadow_offset_y="1" border_width="0" border_color="#484848"/>
<fontDef name="mechabold" filename="res/fonts/NotoSansCJK-Bold.ttc" faces="sc,tc,jp" color="#FFFFFF" hinting="Medium" kerning="false" size="14" border_width="1" border_color="#484848"/>
<fontDef name="mechabold-red" ref="mechabold" color="#F09999" />
<fontDef name="mechabold-orange" ref="mechabold" color="#FF9900" />
<fontDef name="mechabold-green" ref="mechabold" color="#9BFF9B" />
<fontDef name="mechabold-blue" ref="mechabold" color="#87ceeb" />
<fontDef name="mechabold-tm" ref="mechabold" color="#ffffff">
<fontParam if="disabled" color="#CCC"/>
</fontDef>
<fontDef name="title-font" filename="res/fonts/NotoSansCJK-Bold.ttc" faces="sc,tc,jp" color="#FFFFFF" size="12" size_cjk="15" hinting="AutoMedium" hinting_cjk="Slight" shadow_color="#55000000" shadow_offset_x="1" shadow_offset_y="1"/>
<fontDef name="title-font-black" filename="res/fonts/NotoSansCJK-Bold.ttc" faces="sc,tc,jp" color="#252525" size="12" size_cjk="15" hinting="AutoMedium" hinting_cjk="Slight"/>
<!-- Here lies the color for the trainer card player name -->
<fontDef name="trainer-name" filename="res/fonts/NotoSans-SemiCondensedBlack.ttf" color="#FFFFFF" size="18" incremental="false" characters="AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"/>
<fontDef name="console-green" ref="alphabeta" color="#7CB147"/>
<fontDef name="console-red" ref="alphabeta" color="#FF0000"/>
<fontDef name="console-blue" ref="alphabeta" color="#AACFFF"/>
<fontDef name="console-purple" ref="alphabeta" color="#FF99FF"/>
<fontDef name="console-orange" ref="alphabeta" color="#FF9900"/>
<fontDef name="console" ref="alphabeta" color="#FFFFFF"/>
<fontDef name="symbols-white" filename="res/fonts/DejaVuLGCSans.ttf" color="#FFFFFF" size="14" hinting="AutoFull" incremental="false" characters="┌├└─←→↑↓▸◂↖↗↙↘☒➤↻☒⇲"/>
<fontDef name="symbols-black" ref="symbols-white" color="#000000"/>
</themes>