Hallo anyone at FreeType,
If any one could answer my (silly?) question. I need to use FT_Set_Char_Size()
to set my character size at point 7,25 (verdana).
Since this function accepts FT_F26dot6 as the char height and width, I am
wondering how I can set point 7,25 without losing data
if I cast
If any one could answer my (silly?) question. I need to use
FT_Set_Char_Size() to set my character size at point 7,25 (verdana).
Since this function accepts FT_F26dot6 as the char height and width, I
am wondering how I can set point 7,25 without losing data
if I cast 7,25 to FT_F26dot6.
As
I think you can pack the bin better if you start from the largest
size. There is tons of empty space at the bottom that could easily be
filled with small glyphs. Or go bottom-up for more natural fill. In
other words, I bet you can pack more glyphs into 512x512.
I am not sure I understood how you
Thanks for the tips, I'll give it a try. One problem is that glyphs are loaded
on demand and consequently I do not have full control.
The subpixel positionning is made using a shader. I display the glyph at a
given integer coordinate and send along the float component:
If glyph must be
Hi Nicolas,
This is great stuff!
Humm, may I suggest that you write a PangoRenderer implementation around this?
You can then render any language...
behdad
On 09/21/11 06:55, Nicolas Rougier wrote:
Hi Folks,
You might be interested in the following code that allow to render freetype