Re: PangoWarning: failed to choose a font with 'PangoRenderWin32' renderer



On 12.03.2011 11:52, John Emmas wrote:
Oh dear, you seem to be having all kinds of problems but do persevere.  It's well worth it when you get it all working.

For the project that I'm working on I've had to build dozens of gnu libraries using VC++.  Glib, GTK+, Pango, Cairo, FontConfig, Freetype.  You name it - I've probably had to build it..!  Let's deal with your pango.modules file first though....  Mine contains a list of about 20-30 entries looking like this:-

# ModulesPath = C:/Program Files/ardour2/lib/pango-1.0\1.28.0\modules
#
"C:/Program Files/ardour2/lib/pango-1.0/1.28.0/modules/pango_basic_win32.DLL" BasicScriptEngineWin32 PangoEngineShape PangoRenderWin32 common:
"C:/Program Files/ardour2/lib/pango-1.0/1.28.0/modules/pango_basic_fc.DLL" BasicScriptEngineFc PangoEngineShape PangoRenderFc Latin:* Cyrillic:* Greek:* Armenian:* Georgian:* runic:* ogham:* bopomofo:* Cherokee:* Coptic:* deseret:* ethiopic:* gothic:* han:* hiragana:* katakana:* old-italic:* Canadian-aboriginal:* yi:* braille:* Cypriot:* limbu:* osmanya:* shavian:* linear-b:* ugaritic:* glagolitic:* cuneiform:* Phoenician:* common:
"C:/Program Files/ardour2/lib/pango-1.0/1.28.0/modules/pango_Arabic_fc.DLL" ArabicScriptEngineFc PangoEngineShape PangoRenderFc Arabic:* nko:*
"C:/Program Files/ardour2/lib/pango-1.0/1.28.0/modules/pango_arabicng_la.DLL" ArabicScriptEngineLang PangoEngineLang PangoRenderNone Arabic:*
"C:/Program Files/ardour2/lib/pango-1.0/1.28.0/modules/pango_hangul_fc.DLL" HangulScriptEngineFc PangoEngineShape PangoRenderFc hangul:*
In the GTK bundles available on the net, the engines don't have to be listed in the modules file, everything works out of the box. But I tried it anyway, e.g.

"C:/Program Files/Glade 3.7.1/bin/libpangowin32-1.0-0.dll" BasicScriptEngineWin32 PangoEngineShape PangoRenderWin32 common:*

This leads to a NULL pointer read access violation in pango_module_register :P
Now for your compiler problem:
I actually just had to manually copy the .def file from another directory, for whatever reason. Anyway, I'm getting crazy with compiling glib and so can't even start going for pango. Compiling open source automake stuff on Windows is just a mess.

So I wanted to choose the easy way and build the libs with the MinGW cross-compile chain from Linux. ./configure worked out well and chooses the correct compiler, but now I'm missing the Windows headers. I know there was a package of them a while ago but can't find it (probably removed due to license issues?!). Tried the mingw32-w32api package from http://apt.arrozcru.org/mingw32-w32api/ but they conflict with some other headers. Any experience on this? -- is there another Windows SDK package for the MinGW cross-tools?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]