assetpack icon indicating copy to clipboard operation
assetpack copied to clipboard

feat: Bitmapfont add cachebuster & compress

Open h1ve2 opened this issue 1 year ago • 0 comments

BitmapFont (sdf/msdf)

  • add cachebuster
  • support mipmap
  • add compress
  • add support for cachebuster for existing BMFont #88
  • use a custom configuration file for sdf/msdf.

Note: To be compatible with compress, the output file name has been changed to xxx.[png|webp|...].fnt. There should be no impact for projects using a manifest. If you need to use xxx.fnt by default, please let me know, and I will take the time to modify it so that xxx.fnt is used without compress.

cachebuster

image

compress

image

mipmap

image

split

replace the file of all pages in fnt image

BMFont file

support .xml | .fnt mipmap is not supported image

custom config

The font.charset in the JSON will be merged with the global font.charset, while other fields will be replaced by the JSON.

.json : image

pipes : image

output (fnt): image

output (image): image

h1ve2 avatar Feb 03 '25 10:02 h1ve2