[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Help with Rasterizing

From: Dryden, Thomas
Subject: Re: [ft] Help with Rasterizing
Date: Mon, 10 Dec 2018 17:12:46 +0000

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

-----Original Message-----
From: address@hidden <address@hidden> On Behalf Of Werner LEMBERG
Sent: Saturday, December 8, 2018 9:51 AM
To: Dryden, Thomas <address@hidden>
Cc: address@hidden
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?


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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]