forked from pyrite-dev/milsko
better font
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@483 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
1bf872088c
commit
f0d9b5fddc
11 changed files with 4302 additions and 20903 deletions
BIN
resource/DejaVuSansMono-Bold.ttf
Normal file
BIN
resource/DejaVuSansMono-Bold.ttf
Normal file
Binary file not shown.
BIN
resource/DejaVuSansMono.ttf
Normal file
BIN
resource/DejaVuSansMono.ttf
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4 KiB |
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
object {
|
object {
|
||||||
text {
|
text {
|
||||||
ttf "resource/mononoki.ttf",
|
ttf "resource/DejaVuSansMono.ttf",
|
||||||
"Milsko Toolkit",
|
"Milsko Toolkit",
|
||||||
1, 0
|
1, 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 54 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
Binary file not shown.
12899
src/text/boldttf.c
12899
src/text/boldttf.c
File diff suppressed because it is too large
Load diff
12300
src/text/ttf.c
12300
src/text/ttf.c
File diff suppressed because it is too large
Load diff
|
|
@ -7,8 +7,8 @@ for out in src/text/ttf.c src/text/boldttf.c; do
|
||||||
echo '' >> $out
|
echo '' >> $out
|
||||||
echo '#ifdef USE_STB_TRUETYPE' >> $out
|
echo '#ifdef USE_STB_TRUETYPE' >> $out
|
||||||
done
|
done
|
||||||
xxd -n MwBoldTTFData -i resource/mononoki.ttf | sed s/_len/Size/ >> src/text/ttf.c
|
xxd -n MwTTFData -i resource/DejaVuSansMono.ttf | sed s/_len/Size/ >> src/text/ttf.c
|
||||||
xxd -n MwTTFData -i resource/mononoki-Bold.ttf | sed s/_len/Size/ >> src/text/boldttf.c
|
xxd -n MwBoldTTFData -i resource/DejaVuSansMono-Bold.ttf | sed s/_len/Size/ >> src/text/boldttf.c
|
||||||
for out in src/text/ttf.c src/text/boldttf.c; do
|
for out in src/text/ttf.c src/text/boldttf.c; do
|
||||||
echo '#endif' >> $out
|
echo '#endif' >> $out
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue