Re: Loading application specific fonts
- From: Behdad Esfahbod <behdad behdad org>
- To: "Shepherd, Jason F" <jfsheph sandia gov>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Loading application specific fonts
- Date: Wed, 05 Nov 2008 16:49:10 -0500
Shepherd, Jason F wrote:
I've recently downloaded the gtk+ stable release and we have started using it for text layout in a
cross-platform environment (including windows). We would like to load an application-specific font to
generate test images which are as close to identical as possible across all of the platforms. What are the
best options for accomplishing this? (We don't want to necessarily require users to have administrative
privileges.)
Hi,
Right now, your best bet is to always use a Gtk+ build with the PangoFc
backend, and call FcConfigAppFontAddFile before initializing Gtk+. In the
long term, there will be Pango API to do what you want cross-platform. This
is the bug to monitor for the status of that work:
http://bugzilla.gnome.org/show_bug.cgi?id=347237
behdad
Thanks,
Jason Shepherd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]