mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
[directwrite] Simplify headers
This commit is contained in:
1 parent
d247c116fb
commit
8ca892b0e2
4 files changed
+2
-7
No files matched your search
+1
-1
@@ -335,7 +335,7 @@ endif
|
||||
# DirectWrite (Windows)
|
||||
directwrite_dep = []
|
||||
if host_machine.system() == 'windows' and not get_option('directwrite').disabled()
|
||||
if get_option('directwrite').enabled() and not cpp.has_header('dwrite_1.h')
|
||||
if get_option('directwrite').enabled() and not cpp.has_header('dwrite_3.h')
|
||||
error('DirectWrite was enabled explicitly, but required header is missing.')
|
||||
endif
|
||||
directwrite_dep = cpp.find_library('dwrite', required: false)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
|
||||
#include "hb-shaper-impl.hh"
|
||||
|
||||
#include <dwrite_1.h>
|
||||
#include <dwrite_3.h>
|
||||
|
||||
#include "hb-directwrite.h"
|
||||
|
||||
#include "hb-ms-feature-ranges.hh"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "hb.h"
|
||||
|
||||
#include <dwrite_1.h>
|
||||
#include <dwrite_3.h>
|
||||
|
||||
HB_BEGIN_DECLS
|
||||
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <dwrite_3.h>
|
||||
|
||||
#include "hb-test.h"
|
||||
|
||||
#include "hb-directwrite.h"
|
||||
|
||||
Reference in new issue
Block a user