
Jon A. Cruz wrote:
Bob Jamison wrote:
It works! Please try downloading this version:
(it was an error in FontFactory initializing the wrong font engine on Win32. Not FontInstance's fault)
Hmmm... was it the kind of thing that might have been caught sooner if variables/structs in question were set to initial values such as null?
I would say that it was a subtle error, though after you notice it, it is obvious, like "why didn't I see that?"
In FontFactory.cpp, there were #ifdef switches, like this:
#ifdef WITH_XFT ...code... #endif
#ifdef WIN32 ....code... #endif
Its structure should have been like in FontInstance.cpp, #ifdef WITH_XFT ...code... #elif defined(WIN32) ...code... #endif
...since the definitions are not mutually exclusive.
Thus the font server was being set to win32 in FontFactory, and FT2 was being called in FontInstance.
Obvious -after- you see it.
I'd say that this was 2/3 of the problem, and the wrong fontconfig DLL being called by Inkscape was the other 1/3.
Bob