[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SDF module ready for integration
From: |
Alexei Podtelezhnikov |
Subject: |
Re: SDF module ready for integration |
Date: |
Wed, 23 Dec 2020 11:02:51 -0500 |
> >> 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
- SDF module ready for integration, Werner LEMBERG, 2020/12/22
- Re: SDF module ready for integration, Anuj Verma, 2020/12/23
- Re: SDF module ready for integration, Werner LEMBERG, 2020/12/23
- Re: SDF module ready for integration, Anuj Verma, 2020/12/23
- Re: SDF module ready for integration, Alexei Podtelezhnikov, 2020/12/23
- Re: SDF module ready for integration, Werner LEMBERG, 2020/12/23