[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Help with Rasterizing
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Help with Rasterizing |
Date: |
Sat, 08 Dec 2018 18:50:43 +0100 (CET) |
> I have a simple piece of code that returns a character from a TTF
> file to the caller for rendering text labels. The caller of
> getCharacter() uses the buffer to merge to the frame buffer. The
> output looks like characters and numbers, but is certainly
> corrupted. I was hoping that maybe you could find something
> obviously wrong,
Hmm. You are aware that `FT_RENDER_MODE_MONO' uses eight pixels per
byte?
> and/or provide an example that is better than what's on FreeType's
> website.
Please define `better'.
What about looking at the FreeType demo programs, i.e., `ftview' and
friends?
Werner