Rev 1892 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1892 | Rev 3959 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | 54 | ||
55 | cairo_public cairo_font_face_t * |
55 | cairo_public cairo_font_face_t * |
56 | cairo_ft_font_face_create_for_ft_face (FT_Face face, |
56 | cairo_ft_font_face_create_for_ft_face (FT_Face face, |
Line -... | Line 57... | ||
- | 57 | int load_flags); |
|
- | 58 | ||
- | 59 | /** |
|
- | 60 | * cairo_ft_synthesize_t: |
|
- | 61 | * @CAIRO_FT_SYNTHESIZE_BOLD: Embolden the glyphs (redraw with a pixel offset) |
|
- | 62 | * @CAIRO_FT_SYNTHESIZE_OBLIQUE: Slant the glyph outline by 12 degrees to the |
|
- | 63 | * right. |
|
- | 64 | * |
|
- | 65 | * A set of synthesis options to control how FreeType renders the glyphs |
|
- | 66 | * for a particular font face. |
|
- | 67 | * |
|
- | 68 | * Individual synthesis features of a #cairo_ft_font_face_t can be set |
|
- | 69 | * using cairo_ft_font_face_set_synthesize(), or disabled using |
|
- | 70 | * cairo_ft_font_face_unset_synthesize(). The currently enabled set of |
|
- | 71 | * synthesis options can be queried with cairo_ft_font_face_get_synthesize(). |
|
- | 72 | * |
|
- | 73 | * Note: that when synthesizing glyphs, the font metrics returned will only |
|
- | 74 | * be estimates. |
|
- | 75 | * |
|
- | 76 | * Since: 1.12 |
|
- | 77 | **/ |
|
- | 78 | typedef enum { |
|
- | 79 | CAIRO_FT_SYNTHESIZE_BOLD = 1 << 0, |
|
- | 80 | CAIRO_FT_SYNTHESIZE_OBLIQUE = 1 << 1 |
|
- | 81 | } cairo_ft_synthesize_t; |
|
- | 82 | ||
- | 83 | cairo_public void |
|
- | 84 | cairo_ft_font_face_set_synthesize (cairo_font_face_t *font_face, |
|
- | 85 | unsigned int synth_flags); |
|
- | 86 | ||
- | 87 | cairo_public void |
|
- | 88 | cairo_ft_font_face_unset_synthesize (cairo_font_face_t *font_face, |
|
- | 89 | unsigned int synth_flags); |
|
- | 90 | ||
- | 91 | cairo_public unsigned int |
|
- | 92 | cairo_ft_font_face_get_synthesize (cairo_font_face_t *font_face); |
|
57 | int load_flags); |
93 | |
58 | 94 | ||
Line 59... | Line 95... | ||
59 | cairo_public FT_Face |
95 | cairo_public FT_Face |
60 | cairo_ft_scaled_font_lock_face (cairo_scaled_font_t *scaled_font); |
96 | cairo_ft_scaled_font_lock_face (cairo_scaled_font_t *scaled_font); |