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

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to