Yes, I am aware that MONO uses 8 pixels per byte. Good call on the demo 
programs... I forgot about them.

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Werner LEMBERG
Sent: Saturday, December 8, 2018 9:51 AM
To: Dryden, Thomas <[email protected]>
Cc: [email protected]
Subject: Re: [ft] Help with Rasterizing


> 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
________________________________
________________________________


Please be advised that this email may contain confidential information. If you 
are not the intended recipient, please notify us by email by replying to the 
sender and delete this message. The sender disclaims that the content of this 
email constitutes an offer to enter into, or the acceptance of, any agreement; 
provided that the foregoing does not invalidate the binding effect of any 
digital or other electronic reproduction of a manual signature that is included 
in any attachment.

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to