diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-10-17 18:06:59 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-10-17 18:06:59 +0000 |
commit | 990a17b6b72252ea338e545274800867ee492f55 (patch) | |
tree | 14fcf4d39afa3b3faa907523eebb36028c210564 /medley_new/game | |
parent | f5b0f20934afd14448235c2c0db84c670f75ff4e (diff) | |
download | usdx-990a17b6b72252ea338e545274800867ee492f55.tar.gz usdx-990a17b6b72252ea338e545274800867ee492f55.tar.xz usdx-990a17b6b72252ea338e545274800867ee492f55.zip |
- added PreCache option in font.ini
- added MaxResolution option in font.ini
- added new font type: bold high-res (for medley count-down)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2678 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rwxr-xr-x | medley_new/game/fonts/fonts.ini | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/medley_new/game/fonts/fonts.ini b/medley_new/game/fonts/fonts.ini index f152852d..6ac269ab 100755 --- a/medley_new/game/fonts/fonts.ini +++ b/medley_new/game/fonts/fonts.ini @@ -5,20 +5,32 @@ ;-------------------------------------------------
;[Font_XYZ]
;# the font file
-;File=Filename
+;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)
;
+;# set the maximum resolution (default: 64)
+;MaxResolution=integer([16, 32, 64, 128, 256, 512, ...])
+;
+;# precache of font (default=1=true)
+;PreCache=integer([0;1])
+;
;[Font_...]
;...
;
@@ -51,6 +63,11 @@ Outline=0.06 File=FreeSans/FreeSansBold.ttf
Outline=0.06
+[Font_BoldHighRes]
+File=FreeSans/FreeSansBold.ttf
+MaxResolution=256
+PreCache=0
+
[Fallbacks]
File1=wqy-microhei/wqy-microhei.ttc
;File2=C:/Windows/Fonts/simsun.ttc
|