Increased interglyph spacing to avoid artifacts when mipmapping is enabled.

This commit is contained in:
Maciej Suminski 2016-05-02 16:14:26 +02:00
parent fff3abc9a0
commit 0c4b6dabd3
12 changed files with 7470 additions and 19322 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -16,10 +16,11 @@ To create a new bitmap font atlas for Graphics Abstraction Layer, follow these s
* Copy bitmap_font_0.png to common/gal/opengl/bitmap_font_img.c
Recommended export options:
Texture size: 1024x1024 (should be supported by majority GPUs)
Texture size: 1024x1024 or 2048x2048 (should be supported by majority GPUs)
Bit depth: 8
Font descriptor: XML
Textures: png
Layout spacing: 2 (both horizontal and vertical)
To match as closely as possible the newstroke_font glyph set,
mark the following character subsets in Bitmap Font Generator right panel:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 569 KiB

After

Width:  |  Height:  |  Size: 548 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -5,8 +5,8 @@ fileVersion=1
fontName=Ubuntu Mono
fontFile=
charSet=0
fontSize=111
aa=2
fontSize=110
aa=1
scaleH=100
useSmoothing=1
isBold=0
@ -24,8 +24,8 @@ paddingDown=0
paddingUp=0
paddingRight=0
paddingLeft=0
spacingHoriz=1
spacingVert=1
spacingHoriz=2
spacingVert=2
useFixedHeight=0
forceZero=0
@ -37,7 +37,7 @@ fontDescFormat=1
fourChnlPacked=0
textureFormat=png
textureCompression=0
alphaChnl=1
alphaChnl=0
redChnl=0
greenChnl=0
blueChnl=0