Disable hb_paint_extents_* functions if HB_NO_PAINT is defined

pull/4009/head
Konstantin Käfer 2 years ago committed by Behdad Esfahbod
parent 9420966f5b
commit a349eef6a6
  1. 6
      src/hb-paint-extents.cc

@ -23,6 +23,9 @@
*/
#include "hb.hh"
#ifndef HB_NO_PAINT
#include "hb-paint-extents.hh"
#include "hb-draw.h"
@ -322,3 +325,6 @@ hb_paint_extents_get_funcs ()
{
return static_paint_extents_funcs.get_unconst ();
}
#endif

Loading…
Cancel
Save