tchapi / Adafruit-GFX-Font-Customiser

A little utility to customise pixel fonts for the Adafruit GFX library
https://tchapi.github.io/Adafruit-GFX-Font-Customiser/
MIT License
90 stars 47 forks source link

modifying cols and rows of 8b font messes up the chars #3

Closed SunboX closed 5 years ago

SunboX commented 5 years ago

if you create a font with

./fontconvert xxx.ttf 10 32 252 > xxx10pt8b.h

and you try to modify the columns and/or rows (+/-) it messes up the character.

clear-sky commented 5 years ago

Hi i tried to add column in my favorite font but all characters after modified character messes up it does not depend on font and its size!

thelevelofdetail commented 5 years ago

Not sure if this is the same issue, but when i try to open and export the font FreeMonoBold12pt7b and then open it again, some characters get messed up. In this case the uppercase letters A and V. Looking at the Glyphs array it seems like a negative xOffset is causing this Problem.

thelevelofdetail commented 5 years ago

I just made a pull request with changes that fixed my issue: https://github.com/tchapi/Adafruit-GFX-Font-Customiser/pull/6