Hi,

why isn't it possible to use the freetype2 backend also on MacOS X?
Since the library is available, it seems to be merely a question of the
build system configuration.

And the following lines have to be re-ordered in the TextFaceFactory
constructor:

#if defined(_WIN32)
    _backend = new TextWIN32Backend();
#elif defined(FT2_LIB)
    _backend = new TextFT2Backend();
#elif defined(__APPLE__)
#ifdef __LP64__
    _backend = 0;
#else
    _backend = new TextMacBackend();
#endif
    //_backend = new TextFT2Backend();                                          
                                                                                
                   
#else
    _backend = 0;
#endif

Before, the __APPLE__ define was checked first thus it wasn't possible
to enable the freetype backend on Mac OS.

However, I don't manage to tweak the build system for darwin (I use
autoconf) to set the appropriate FT2_LIB define and include the library
during build. Is someone able to quickly allow this, so that
--enable-text also has an effect on Mac OS? That would be great. 

For now I'm trying to build OpenSG as 32 bit, let's see if that works
for me, since the app itself has to be 64 bit.

Best regards,
Patric

-- 
Patric Schmitz, MaTA, B.Sc.

Virtual Reality Group, RWTH Aachen University
Lehrstuhl für Informatik 12 (Hochleistungsrechnen)

Immersive Visualization Services

  Rechen- und Kommunikationszentrum
  Seffenter Weg 23, 52074 Aachen
  Tel. +49 241 80-24893
  Email schm...@vr.rwth-aachen.de
  URL www.vr.rwth-aachen.de

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to