[doc] Give a small hint about Twin font

Though, the details are not documented yet.  I'm not sure how much of it
I do want to document.
This commit is contained in:
Behdad Esfahbod 2009-01-02 06:48:54 -05:00
parent a023104400
commit d478d5ed5c
2 changed files with 8 additions and 1 deletions

View file

@ -248,7 +248,7 @@ _cairo_toy_font_face_keys_equal (const void *key_a,
* cairo_toy_font_face_get_family().
*
* The cairo_select_font_face() function uses this to create font faces.
* See that function for limitations of toy font faces.
* See that function for limitations and other details of toy font faces.
*
* Return value: a newly created #cairo_font_face_t. Free with
* cairo_font_face_destroy() when you are done using it.

View file

@ -2619,6 +2619,13 @@ cairo_copy_clip_rectangle_list (cairo_t *cr)
* "sans-serif", "cursive", "fantasy", "monospace"), are likely to
* work as expected.
*
* If @family starts with the string "@cairo:", or if no native font
* backends are compiled in, cairo will use an internal font family.
* The internal font family recognizes many modifiers in the @family
* string, most notably, it recognizes the string "monospace". That is,
* the family name "@cairo:monospace" will use the monospace version of
* the internal font family.
*
* For "real" font selection, see the font-backend-specific
* font_face_create functions for the font backend you are using. (For
* example, if you are using the freetype-based cairo-ft font backend,