* src/autofit/afgsub.c: Evaluate FT_CONFIG_OPTION_USE_HARFBUZZ

after <freetype/freetype.h> and others.

Fixes issue #1360.
This commit is contained in:
Suzuki, Toshiya (鈴木俊哉) 2025-09-21 15:10:01 +09:00 committed by suzuki toshiya
parent 3d871c5a0c
commit 184910dbef

View file

@ -15,8 +15,6 @@
*
*/
#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ
#include <freetype/freetype.h>
#include <freetype/tttables.h>
@ -24,6 +22,9 @@
#include <freetype/internal/ftstream.h>
#ifdef FT_CONFIG_OPTION_USE_HARFBUZZ
#include "afglobal.h"
#include "afgsub.h"
#include "aftypes.h"