Patrick Daehne wrote:
Ok, the problem with the code in System/Text is that it is based on Freetype
only when compiling on Linux/Unix systems. On Windows and MacOS, it is based
on the native APIs of these operating systems. Therefore, the current API of
System/Text is the least common denominator of these three different APIs.
Whenever we add a new feature, we have to find an implementation for all
three APIs. That makes it a little bit difficult to find a quick solution
for your problem. The Windows and MacOS APIs allow to load a font from
memory into the font server, but they do not allow to open the font
directly, you still have to request the font from the font server by
specifying its name. In contrast, when using Freetype, you get a direct
reference to the font when you load it from memory. It's not an easy task to
squeeze these different behaviours into a common OpenSG API. For this reason
it is not implemented yet (and I do not expect it to be implemented in the
very near future).
Bye,
Patrick
Ok, I'll take a look at the Win32 implementation / native font API and
then decide if I hack it for my purpose or just deploy the font on
installation...it's a licence-free font anyway...
Thanks!
Thomas
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users