From ca44cbe5fb5f86e993a8e32d624bb360ff5c125f Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 5 May 2010 00:29:58 -0500 Subject: [PATCH] Common default now falls back on _16px fonts (which imports japanese, korean, game chars, misc.) --- Themes/_fallback/Fonts/Common default.ini | 6 +++++- Themes/_fallback/Fonts/_16px fonts.ini | 7 +++++++ Themes/_fallback/Fonts/_20px fonts.ini | 13 +++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 Themes/_fallback/Fonts/_16px fonts.ini create mode 100644 Themes/_fallback/Fonts/_20px fonts.ini diff --git a/Themes/_fallback/Fonts/Common default.ini b/Themes/_fallback/Fonts/Common default.ini index e1c4fdd65e..0e6dd43ff5 100644 --- a/Themes/_fallback/Fonts/Common default.ini +++ b/Themes/_fallback/Fonts/Common default.ini @@ -7,4 +7,8 @@ Top=3 Bottom=29 map default=0 -map invalid=1 \ No newline at end of file +map invalid=1 + +# Load the default 16-pixel glyphs. They can be overridden by fonts +# later. +import=_16px fonts \ No newline at end of file diff --git a/Themes/_fallback/Fonts/_16px fonts.ini b/Themes/_fallback/Fonts/_16px fonts.ini new file mode 100644 index 0000000000..810e988d42 --- /dev/null +++ b/Themes/_fallback/Fonts/_16px fonts.ini @@ -0,0 +1,7 @@ +# _16px fonts is a "virtual font" that assembles various fonts into a unified +# place. _16px fonts in particular is imported in Common default.ini. + +# Also, themes can create new fonts, and overload this file to +# have them pulled in for every 16-pixel font. +[main] +import=_japanese 16px,_korean 16px,_Thai 16px,_misc 16px,_game chars 16px diff --git a/Themes/_fallback/Fonts/_20px fonts.ini b/Themes/_fallback/Fonts/_20px fonts.ini new file mode 100644 index 0000000000..915647249d --- /dev/null +++ b/Themes/_fallback/Fonts/_20px fonts.ini @@ -0,0 +1,13 @@ +# This "font" just pulls in default characters for a 20-pixel +# font. Other import fonts can be created for other sizes. + +# Also, themes can create new fonts, and overload this file to +# have them pulled in for every 20-pixel font. +[main] +# We don't have a 20px Japanese font, so use the 24px one instead; +# pulling in a Kanji font that's a little too big looks fine, but +# pulling in one that's a little too small looks bad. + +# The characters in _game chars 16px are actually very large; +# they'll look fine here, too. +import=_japanese 24px,_korean 24px,_game chars 16px,_misc 16px