added the ability to premultiply the font file, removing fringing.
This commit is contained in:
BIN
desktop/resources/ego/font.tif
Normal file
BIN
desktop/resources/ego/font.tif
Normal file
Binary file not shown.
BIN
desktop/resources/font-pack/font.png
Normal file
BIN
desktop/resources/font-pack/font.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
36
desktop/resources/font-pack/pack.json
Normal file
36
desktop/resources/font-pack/pack.json
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
pot: true,
|
||||||
|
paddingX: 2,
|
||||||
|
paddingY: 2,
|
||||||
|
bleed: true,
|
||||||
|
edgePadding: true,
|
||||||
|
duplicatePadding: false,
|
||||||
|
rotation: false,
|
||||||
|
minWidth: 1024,
|
||||||
|
minHeight: 1024,
|
||||||
|
maxWidth: 2048,
|
||||||
|
maxHeight: 2048,
|
||||||
|
square: false,
|
||||||
|
stripWhitespaceX: false,
|
||||||
|
stripWhitespaceY: false,
|
||||||
|
alphaThreshold: 0,
|
||||||
|
filterMin: Nearest,
|
||||||
|
filterMag: Nearest,
|
||||||
|
wrapX: ClampToEdge,
|
||||||
|
wrapY: ClampToEdge,
|
||||||
|
format: RGBA8888,
|
||||||
|
alias: true,
|
||||||
|
outputFormat: png,
|
||||||
|
jpegQuality: 0.9,
|
||||||
|
ignoreBlankImages: true,
|
||||||
|
fast: false,
|
||||||
|
debug: false,
|
||||||
|
combineSubdirectories: true,
|
||||||
|
flattenPaths: false,
|
||||||
|
premultiplyAlpha: true,
|
||||||
|
useIndexes: true,
|
||||||
|
limitMemory: true,
|
||||||
|
grid: false,
|
||||||
|
scale: [ 1 ],
|
||||||
|
scaleSuffix: [ "" ]
|
||||||
|
}
|
||||||
13
desktop/resources/font-pack/packed/pack.atlas
Normal file
13
desktop/resources/font-pack/packed/pack.atlas
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
pack.png
|
||||||
|
size: 2048,2048
|
||||||
|
format: RGBA8888
|
||||||
|
filter: Nearest,Nearest
|
||||||
|
repeat: none
|
||||||
|
font
|
||||||
|
rotate: false
|
||||||
|
xy: 2, 2
|
||||||
|
size: 1024, 1024
|
||||||
|
orig: 1024, 1024
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
BIN
desktop/resources/font-pack/packed/pack.png
Normal file
BIN
desktop/resources/font-pack/packed/pack.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
Reference in New Issue
Block a user