> >> Right now it writes directly to the buffer assuming 24-bit (rgb888).
> >> So the quick fix for now is "800x600x24" on line 612.
> >
> > Thanks, it works!  I have updated my local 'sdf' branch.[*]
>
> You can also use the patch I sent. It calculates the number of bits
> per pixel before writing to the display buffer. That way it can even
> work with 32-bit buffer.

That would be nice too. Can you avoid direct access altogether and use
grBlitGlyphToBitmap, which works with 256-level gray and lcd bitmaps.
So you would need to scale dimensions and bits accordingly. In other
words, why not use ftgrid?

Alexei

Reply via email to