for ICU (International Components for Unicode), which deprecated ICU LE.\r
Requires the ICU libraries.\r
\r
+DIRECTWRITE: Enable (experimental) DirectWrite platform shaper support,\r
+ requires a rather recent Windows SDK, and at least Windows Vista/\r
+ Server 2008 with SP2 and platform update.\r
+\r
PYTHON: Full path to the Python interpretor to be used, if it is not in %PATH%.\r
\r
PERL: Full path to the PERL interpretor to be used, if it is not in %PATH%.\r
# Graphite2 is needed for building SIL Graphite2 support
GRAPHITE2_LIB = graphite2.lib
+# Directwrite is needed for DirectWrite shaping support
+DIRECTWRITE_LIB = dwrite.lib
+
# Please do not change anything beneath this line unless maintaining the NMake Makefiles
# Bare minimum features and sources built into HarfBuzz on Windows
HB_DEFINES =
HB_SOURCES = $(HB_SOURCES) $(LIBHB_UCDN_sources) $(HB_UCDN_sources)
!endif
+!if "$(DIRECTWRITE)" == "1"
+HB_CFLAGS = $(HB_CFLAGS) /DHAVE_DIRECTWRITE
+HB_SOURCES = $(HB_SOURCES) $(HB_DIRECTWRITE_sources)
+HB_HEADERS = $(HB_HEADERS) $(HB_DIRECTWRITE_headers)
+HB_DEP_LIBS = $(HB_DEP_LIBS) $(DIRECTWRITE_LIB)
+!endif
+
HB_LIB_CFLAGS = $(HB_CFLAGS) /DHB_EXTERN="__declspec (dllexport) extern"
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
+/* Have DirectWrite Library */
+/* #undef HAVE_DIRECTWRITE */
+
/* Have simple TrueType Layout backend */
#define HAVE_FALLBACK 1
INC_FEATURES = $(INC_FEATURES) Graphite2
!endif
+!if "$(DIRECTWRITE)" == "1"
+INC_FEATURES = $(INC_FEATURES) DirectWrite
+!endif
+
!if "$(ICU)" == "1"
BUILT_LIBRARIES = $(BUILT_LIBRARIES) HarfBuzz-ICU
!endif
@echo HarfBuzz DLL is built with OpenType, fallback and Uniscribe support
@echo with a bundled Unicode implementation (UCDN).
@echo ======
+ @echo DIRECTWRITE:
+ @echo Enable DirectWrite support, requires a recent enough Windows SDK.
+ @echo.
@echo GRAPHITE2:
@echo Enable graphite2 support, requires the SIL Graphite2 library
@echo.