mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-23 04:00:41 +02:00
[trace] Compile without fontconfig.
Use CAIRO_HAS_FC_FONT to decide whether to export cairo_ft_font_face_create_for_pattern() or not.
This commit is contained in:
parent
d9b5a98a78
commit
1b6dbcbbeb
1 changed files with 2 additions and 0 deletions
|
|
@ -3510,6 +3510,7 @@ cairo_pattern_set_extend (cairo_pattern_t *pattern, cairo_extend_t extend)
|
|||
}
|
||||
|
||||
#if CAIRO_HAS_FT_FONT
|
||||
#if CAIRO_HAS_FC_FONT
|
||||
cairo_font_face_t *
|
||||
cairo_ft_font_face_create_for_pattern (FcPattern *pattern)
|
||||
{
|
||||
|
|
@ -3543,6 +3544,7 @@ cairo_ft_font_face_create_for_pattern (FcPattern *pattern)
|
|||
|
||||
return ret;
|
||||
}
|
||||
#endif /* CAIRO_HAS_FC_FONT*/
|
||||
|
||||
typedef struct _ft_face_data {
|
||||
unsigned long index;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue