pangocairo windows issues
- From: Ulrich von Zadow <coder c-base org>
- To: gtk-i18n-list gnome org
- Subject: pangocairo windows issues
- Date: Fri, 2 Sep 2011 18:38:34 +0200
Hi,
I'm in the process of moving a codebase from pango-ft2 to pangocairo, and most things have gone smoothly. However, under windows, fonts don't look like they should. I have uploaded two images to show the difference:
Mac/Linux: http://www.libavg.de/attachment/ticket/262/testParaWords_Mac.png
Windows: http://www.libavg.de/attachment/ticket/262/testParaWords_Win.png
I'm selecting hinting styles using cairo_font_options_set_hint_style(pFontOptions, CAIRO_HINT_STYLE_SLIGHT); and
cairo_font_options_set_hint_metrics(pFontOptions, CAIRO_HINT_METRICS_ON), but these seem to be ignored under windows.
Should anyone want to take a closer look, the code is here:
http://www.libavg.de/browser/branches/libavg_pangocairo/src/player/TextEngine.cpp
http://www.libavg.de/browser/branches/libavg_pangocairo/src/player/WordsNode.cpp
What could I be doing wrong?
Also, my calls to FcConfigAppFontAddDir are being ignored under windows - what could be the problem there?
Cheers,
Uli
--
Any technology distinguishable from magic is insufficiently advanced.
Ulrich von Zadow | +49-172-7872715
Jabber: coder c-base org
Skype: uzadow
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]