Problems with building subsurface for windows

Lubomir I. Ivanov neolit123 at gmail.com
Mon Sep 24 08:08:57 PDT 2012


On 24 September 2012 17:49, Ivan Habunek <ivan.habunek at gmail.com> wrote:
> Hi all,
>
> I recently managed to cross compile subsurface for windows on Fedora
> 17. However, the resulting program is having some trouble with fonts.
> Here's a screenshot:
> http://i.imgur.com/MtIw4.png
>
> The problem seems to be in the pango libs:
> libpango-1.0-0.dll
> libpangocairo-1.0-0.dll
> libpangoft2-1.0-0.dll
> libpangowin32-1.0-0.dll
>
> I noticed, by accident, that if I delete the 4 pango libs, the program
> will work normally because it loads another set of pango libs which I
> had in my path.
>
> Has anybody got any idea what causes this?

one way to see what is happening is to actually debug if pango can use
a font, which fonts it has enumerated etc.
you compile subsurface with a debug console (without -mwindows) in the
background and run it to see what does it output ?
pango, cairo, gtk do usually output major errors and asserts.

dll wise, if you can isolate the issue in either one of these:

libpangoft2-1.0-0.dll
libpangowin32-1.0-0.dll

then perhaps it's some sort of a backend problem, caused by a wrong
compile flag, which would be distro. specific.
but then again it could also be a locale issue, of sorts...

btw, i don't compile any of these libraries, but download them from
the bundles here:
http://ftp.acc.umu.se/pub/gnome/binaries/win32/gtk+/2.24/

lubomir
--


More information about the subsurface mailing list