freetype
[Top][All Lists]
Advanced

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

[ft] ShowImage


From: samaram s
Subject: [ft] ShowImage
Date: Thu, 28 Jan 2010 10:20:31 -0500


Please,,,,,,,,
How to get the bitmap image like below if type is MONO,can you explain me your logic please.I am not getting where to print dot and where *.I couldnt able to understand based on what you are forming bitmap->buffer.

Very thankful to you.

address@hidden:~/Downloads# ./cglyph2bitmap ACME.ttf A
Family name of the font is --- A.C.M.E. Explosive
Style name of the font is --- Bold
Text A
Pixel Mode 2
.......**.
......***.
.....****.
....**.**.
...**..**.
...******.
..*******.
..***..**.
.**....**.
.**....**.
..........

When i was trying with the API's i could able to get the bitmap of the glyph "A",But why only if value >128 trace outs the character glyph that i gave?Does it mean the Glyph data(i am assuming  1 as (*)  intersection of the Glyph) is always greater than 128?





reply via email to

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