aboutsummaryrefslogtreecommitdiffstats
path: root/game/fonts/fonts.ini
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-23 22:39:26 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-23 22:39:26 +0000
commit69cf82185e7f559d8858b44fa76379c771acc6b6 (patch)
tree408ec5fb96da98a352588858db9ac3184d438b07 /game/fonts/fonts.ini
parenteecfb075df0c92a46c73901ee3cacbf061742825 (diff)
downloadusdx-69cf82185e7f559d8858b44fa76379c771acc6b6.tar.gz
usdx-69cf82185e7f559d8858b44fa76379c771acc6b6.tar.xz
usdx-69cf82185e7f559d8858b44fa76379c771acc6b6.zip
- font fallback added
- more configurable fonts.ini - ftNormal/ftBold/ftOutline1/2 added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2293 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'game/fonts/fonts.ini')
-rwxr-xr-xgame/fonts/fonts.ini53
1 files changed, 49 insertions, 4 deletions
diff --git a/game/fonts/fonts.ini b/game/fonts/fonts.ini
index a705d665..739fa7c9 100755
--- a/game/fonts/fonts.ini
+++ b/game/fonts/fonts.ini
@@ -1,11 +1,56 @@
-[Normal]
+;+++++++++++++++++++++++++++++++++++++++++++++++++
+; UltraStar Deluxe font configuration file
+;-------------------------------------------------
+; Format:
+;-------------------------------------------------
+;[Font_XYZ]
+;# the font file
+;File=Filename
+;# space between glyphs (default: 0.0)
+;GlyphSpacing=float
+;# width stretch factor (default: 1.0)
+;Stretch=float
+;# makes the font more bold (default: 0.0). Not used if Outline > 0.0.
+;Embolden=float(>=0.0)
+;# draws an outline around the glyph
+;Outline=float(>=0.0)
+;# outline color components (default: 0.0/0.0/0.0/-1.0)
+;OutlineColorR/G/B=float([0..1])
+;# outline alpha, -1.0 for alpha of interior (default: -1.0)
+;OutlineColorA=float([0..1] or -1)
+;
+;[Font_...]
+;...
+;
+; Fonts that are used in case a character can't be found in the regular font.
+; This is used to display Japanese characters.
+;[Fallbacks]
+;File1=xy.ttf
+;File2=...
+;...
+;+++++++++++++++++++++++++++++++++++++++++++++++++
+
+[Font_Normal]
File=FreeSans/FreeSans.ttf
+;GlyphSpacing=1.4
+;Stretch=1.2
-[Bold]
+[Font_Bold]
File=FreeSans/FreeSansBold.ttf
+;Embolden=0.06
-[Outline1]
+[Font_Outline1]
File=DejaVu/DejaVuSans-Bold.ttf
+Outline=0.06
+;OutlineColorR=0.3
+;OutlineColorG=0.3
+;OutlineColorB=0.3
+;OutlineColorA=0.3
-[Outline2]
+[Font_Outline2]
File=FreeSans/FreeSansBold.ttf
+Outline=0.08
+
+[Fallbacks]
+File1=wqy-zenhei/wqy-zenhei.ttc
+;File2=C:/Windows/Fonts/simsun.ttc