[GEM-dev] gemcvs pix_texture: not using client storage??
IOhannes zmoelnig
zmoelnig at iem.kug.ac.at
Tue Jan 13 08:34:13 CET 2004
tigital at mac.com wrote:
> On Monday, January 12, 2004, at 02:19 PM, ben at ekran.org wrote:
>
>> Doh! The font path in the example 03.ChangeText.pd file is wrong,
>> it should be [font arial.ttf] not [font ../data/arial.ttf]
>
>
> ...yeh, definately a problem when ya don't load the font ;-) Btw, this
> is another sticky spot in the examples when done on osx, because the
> patches assume that font's are [loadbang]'ed, but that doesn't do the
> right thing on OSX (need to have an opengl context before creating the
> gl font representations)...I've been meaning to upload versions of these
> examples without the [loadbang], or at least with another comment
> explaining that the font needs to be loaded AFTER the gl window has been
> created...
and i think(!) it is the same under linux (with ftgl), however, the
examples were written for gltt.
anyhow, couldn't the font-loading be executed when the gl-context has
been established, no matter, when the user clicks/loadbangs the
"font"-message.
you don't see anything without gl-context, so no one should complain...
>> So I get text now with gltt. So whats the improvement with ftgl?
>
>
> ...very big improvement: extruded 3d fonts! plus the ability to play
> with character vertices and such...
for me, the most important improvement of ftgl is, that it renders the
fonts correctly!
under gltt, some letters at special font-sizes (esp. small fonts, like
"e" @ 8pts - if i remember correctly) are not rendered at all, resulting
in output like "H llo", which is not very useful...
(but i guess this could have been fixed with some scaling-tricks)
mf.as.dr
IOhannes
More information about the GEM-dev
mailing list