[cairo] Bug with missing fonts

Keith Packard keithp at keithp.com
Fri Jan 21 16:35:04 PST 2005


Around 15 o'clock on Jan 21, Ned Konz wrote:

> #ifdef CAIRO_HAS_FT_FONT
> #define CAIRO_FONT_FAMILY_DEFAULT  "serif"
> /* XXX: Platform-specific. Other platforms may want a different default */
> #define CAIRO_FONT_BACKEND_DEFAULT &cairo_ft_font_backend
> #elif defined(CAIRO_HAS_ATSUI_FONT)
> #define CAIRO_FONT_FAMILY_DEFAULT  "Monaco"
> #define CAIRO_FONT_BACKEND_DEFAULT &cairo_atsui_font_backend
> #endif

I suggested a few days ago that the default family be font-backend 
specific.  Is there some font matching mechanism which would allow us to 
ask for the 'default' font somehow?

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050121/542c0de8/attachment.pgp


More information about the cairo mailing list