vladimirgamalyan / fontbm

BMFont compatible, cross-platform (Linux/macOS/Windows) command line bitmap font generator (FreeType2 based).
MIT License
241 stars 38 forks source link

Horizontal scaling factor is wrong when image cropped. #21

Closed AlastairGrowcott closed 2 years ago

AlastairGrowcott commented 2 years ago

This may also apply to vertical cropping.

When using the "--texture-crop-width" option, my image was cropped to 128x138, but the horizontal scaling factor in the binary FNT file was 128.

AlastairGrowcott commented 2 years ago

My bad - it seems that somehow my make system is not detecting updated resource files and rebuilding.