[cairo] #ifdef HAVE_CAIRO

This commit is contained in:
Behdad Esfahbod 2022-12-25 17:14:45 -07:00
parent 9e61fd7705
commit ffa45f243c
3 changed files with 8 additions and 1 deletions

View File

@ -26,6 +26,8 @@
#include "hb.hh"
#ifdef HAVE_CAIRO
#include "hb-cairo-utils.hh"
#include <cairo.h>
@ -827,3 +829,5 @@ hb_cairo_paint_sweep_gradient (cairo_t *cr,
if (stops != stops_)
free (stops);
}
#endif

View File

@ -26,6 +26,8 @@
#include "hb.hh"
#ifdef HAVE_CAIRO
#include "hb-cairo.h"
#include "hb-cairo-utils.hh"
@ -562,3 +564,5 @@ hb_cairo_glyphs_from_buffer (hb_buffer_t *buffer,
}
}
}
#endif

View File

@ -1388,5 +1388,4 @@ hb_ft_font_set_funcs (hb_font_t *font)
_hb_ft_hb_font_changed (font, ft_face);
}
#endif