Looks like I'm closing in on a font library. Here's a
first look at the api.
Looks good. A feq questions below:
int gelResetFontColor(ggi_visual_t vis);
What exactly does this do ? Im am wondering, because you give the visual ...
Is it an extension, so that you have metadata storage for
Quoting Andreas Beck [EMAIL PROTECTED]:
Looks good. Where are the functions to select and load/free fonts ?
It looks like you have to use the freetype library.
I'd like, if loading fonts could be done alternatively by font name or
by
an alias that is looked up through an alias database,
Hi,
I'm a bit confused, as I don't fully understand the goal of a font library
in GGI. FreeType2 is a wonderful little framework and it it certainly a good
idea to bridge it from GGI. However, I don't think that the right approach
is to write a wrapper library. the FreeType2 API isn't fixed yet,
Hi,
Ah - I see. But that somewhat defeats glyph caching - right ?
I haven't looked at freetype internal but I strongly suspect that they
do glyph caching.
Hmm - I saw a large speed increase, but that might also have been because I
cached in a very blit-friendly-way.
And as usually
I'm a bit confused, as I don't fully understand the goal of a font library
in GGI. FreeType2 is a wonderful little framework and it it certainly a good
idea to bridge it from GGI. However, I don't think that the right approach
is to write a wrapper library. the FreeType2 API isn't fixed yet,
1) Extension library
This is all an extension library I modeled after libXMI.
2) Global wrapper lib
I gave this a try and I'm not sure this is the way to go. I think adding a
wrapper doesn't add much functionality and could ultimately limit what the user can
accomplish rather
FreeType2 uses a rasterizer to generate bitmaps from the glyph descriptions.
I'm not sure how flexible that rasterizer is but I could imagine that this
is the ideal entry point for a 'ggi target'.
Yes I need to get a better handle on this.
Lee
--
Get your free email from www.linuxmail.org
1) Extension library
This is all an extension library I modeled after libXMI.
Ah good. This allows to tie into native rendering capabilities in targets
and to do target specific acceleration.
2) Global wrapper lib
I gave this a try and I'm not sure this is the way to go. I