Disable hb_paint_extents_* functions if HB_NO_PAINT is defined

This commit is contained in:
Konstantin Käfer 2023-01-05 10:54:21 +01:00 committed by Behdad Esfahbod
parent 9420966f5b
commit a349eef6a6
1 changed files with 6 additions and 0 deletions

View File

@ -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