lvgl / lv_font_conv

Converts TTF/WOFF fonts to compact bitmap format
https://lvgl.io/tools/fontconverter
MIT License
178 stars 77 forks source link

lvgl writer issues #10

Closed kisvegabor closed 5 years ago

kisvegabor commented 5 years ago
  1. The lines of uncompressed bitmaps should be byte aligned
  2. Minor typos in the generated file. See this
  3. Kern pair descriptor is updated to accept pairs with 1 and 2 byte size
  4. It seems the bitmaps are stored from bottom to top (should be top->bottom):

Explanations for bitmap direction: '!' is (here):

0xd0, 0xff, 0xfc,

In binary:

1101 0000
1111 1111
1111 1100

As '!' has box_w = 2 (here) I suppose it is:

XX
 X

XX
XX
XX
XX
XX
XX
XX

So it seems upside down.

kisvegabor commented 5 years ago

Sure, I updated.

puzrin commented 5 years ago

Let's close this, since it works somehow for 6.0. If anything else found - we can create new issues for particular cases.

kisvegabor commented 5 years ago

Not just somehow, it works well :)