add a 24px font and a 20px import font that uses it

This commit is contained in:
Glenn Maynard
2003-02-06 19:47:45 +00:00
parent b876008648
commit e7a0d8c33a
3 changed files with 90 additions and 0 deletions
@@ -0,0 +1,15 @@
# 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,_game chars 16px
# XXX ,_misc 16px
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

@@ -0,0 +1,75 @@
# Approximately 24x24-pixel CJK font. (That is, it should look
# reasonable alongside Western fonts that are about 24 pixels high.)
# Most units are 28, to give up to 4 pixels of padding on each side.
# Constructed from MS Gothic, 9pt, 72 pixels/cm, "Strong" antialiasing.
[main]
Top=5
Baseline=26
LineSpacing=28
# This page maps to basic-japanese (Unicode U+3000 to U+30FF.)
range basic-japanese=0
# All characters on this page have a width of 20 pixels; it's a strictly
# monospaced font.
DefaultWidth=28
# Smaller center dot.
251=14
[kanji]
Top=5
Baseline=26
LineSpacing=28
DefaultWidth=28
map num-ichi=0
map num-ni=1
map num-san=2
map num-yon=3
map num-go=4
map num-roku=5
map num-nana=6
map num-hachi=7
map num-kyuu=8
map num-juu=9
map kakumei1=16
map kakumei2=17
map matsuri=18
map sakura=19
map kosaka1=20
map kosaka2=21
map oni=22
map michi=23
map futatsu=24
map kami=25
map sama=26
map minyou1=27
map minyou2=28
map aka=29
map nichi=30
map aoi=31
map shoudou1=32
map shoudou2=33
map neko=34
map hair=35
map anettai1=36
map anettai2=37
map anettai3=38
map bakudan1=39
map bakudan2=40
map shintani1=41
map shintani2=42
map ookii=43
map kenkai1=44
map kenkai2=45
map mahou1=46
map mahou2=47
map tobira=48
map yozora1=49
map yozora2=50
map sai=51