pangocairo and fonts on win32
- From: jstuehmer gmx net
- To: gtk-i18n-list gnome org, cairo cairographics org
- Subject: pangocairo and fonts on win32
- Date: Thu, 23 Apr 2009 08:22:35 +0200
Hey all,
I'm using cairo and pango on win32/MinGW and would like to load a ttf-font from a file.
Until now, the only way I was able to use the font was to install it via fontconfig, by copying the ttf-file to "My Documents/.fonts" and calling "fc-cache". I found that installing the font into windows system fonts was not sufficient even if fc-cache was called afterwards.
Is there also a possibility to use a font in pango/cairo without installing it via fontconfig? I would like to supply an application without an installer and therefore would like to use a font from a ttf-file directly.
I'm using the Gtk+ 2.12.9 win32 build from
http://gladewin32.sourceforge.net/
in a MSYS/MinGW environment.
Thank you,
Jan Stühmer
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]