17 Nov 18:25
New FontForge build that depends on Pango has slow startup time
From: Dave Crossland <dave <at> lab6.com>
Subject: New FontForge build that depends on Pango has slow startup time
Newsgroups: gmane.comp.gnome.gtk+.internationalization
Date: 2008-11-17 17:25:58 GMT
Subject: New FontForge build that depends on Pango has slow startup time
Newsgroups: gmane.comp.gnome.gtk+.internationalization
Date: 2008-11-17 17:25:58 GMT
Hi, FontForge now uses Pango for its UI text by default! I wonder if any Pango experts could take a quick look at this and help GWW to diagnose what is making FontForge startup very slow? ---------- Forwarded message ---------- From: <gww <at> silcom.com> Date: 2008/11/16 Subject: [Fontforge-announce] New FontForge build To: fontforge-announce <at> lists.sf.net First release with Pango and Cairo. The first time you run fontforge with Pango something takes several minutes to initialize itself. This delay does not occur on subsequent invocations. The version of Cairo available from fink on the mac is so old that FontForge can't use it. The default fontconfig setup on the mac does not seem to find any outline fonts (reverting to bitmaps). Create a ~/.fonts directory yourself, and put some fonts there. Pango crashes on my cygwin system, so the cygwin build does not contain either Pango or Cairo.
2) Whenever I try to call pango_matrix_rotate, boxes appear instead of
letters. Also, pango_context_set_matrix doesn't seem to work.
(The below code is simplified a little bit for readability).
// This is how I implemented some dll bindings
[DllImport(pango)]
public static extern void pango_matrix_rotate(
[In, MarshalAs(UnmanagedType.LPStruct)]
PangoMatrix pango_matrix,
double degrees);
[DllImport(pango)]
public static extern void pango_context_set_matrix(
RSS Feed