|
@@ -15,8 +15,12 @@ sourceList = [
|
|
'core/BitmapRef.hpp',
|
|
'core/BitmapRef.hpp',
|
|
'core/Bitmap.h',
|
|
'core/Bitmap.h',
|
|
'core/Bitmap.hpp',
|
|
'core/Bitmap.hpp',
|
|
|
|
+ 'core/Range.hpp',
|
|
'core/Projection.h',
|
|
'core/Projection.h',
|
|
'core/Projection.cpp',
|
|
'core/Projection.cpp',
|
|
|
|
+ 'core/DistanceMapping.h',
|
|
|
|
+ 'core/DistanceMapping.cpp',
|
|
|
|
+ 'core/SDFTransformation.h',
|
|
'core/SignedDistance.hpp',
|
|
'core/SignedDistance.hpp',
|
|
'core/Scanline.h',
|
|
'core/Scanline.h',
|
|
'core/Scanline.cpp',
|
|
'core/Scanline.cpp',
|
|
@@ -51,6 +55,8 @@ sourceList = [
|
|
'ext/import-font.cpp',
|
|
'ext/import-font.cpp',
|
|
'ext/resolve-shape-geometry.h',
|
|
'ext/resolve-shape-geometry.h',
|
|
'ext/resolve-shape-geometry.cpp',
|
|
'ext/resolve-shape-geometry.cpp',
|
|
|
|
+ 'ext/import-svg.h',
|
|
|
|
+ 'ext/import-svg.cpp',
|
|
'msdfgen.h'
|
|
'msdfgen.h'
|
|
]
|
|
]
|
|
|
|
|
|
@@ -62,6 +68,9 @@ header = """
|
|
#define MSDFGEN_USE_FREETYPE
|
|
#define MSDFGEN_USE_FREETYPE
|
|
#define MSDFGEN_DISABLE_VARIABLE_FONTS
|
|
#define MSDFGEN_DISABLE_VARIABLE_FONTS
|
|
#endif
|
|
#endif
|
|
|
|
+#ifndef MSDFGEN_ENABLE_SVG
|
|
|
|
+#define MSDFGEN_DISABLE_SVG
|
|
|
|
+#endif
|
|
|
|
|
|
#include <cstddef>
|
|
#include <cstddef>
|
|
#include <cstdlib>
|
|
#include <cstdlib>
|
|
@@ -144,7 +153,7 @@ header = """
|
|
/*
|
|
/*
|
|
* MULTI-CHANNEL SIGNED DISTANCE FIELD GENERATOR
|
|
* MULTI-CHANNEL SIGNED DISTANCE FIELD GENERATOR
|
|
* ---------------------------------------------
|
|
* ---------------------------------------------
|
|
- * A utility by Viktor Chlumsky, (c) 2014 - 2023
|
|
|
|
|
|
+ * A utility by Viktor Chlumsky, (c) 2014 - 2024
|
|
* https://github.com/Chlumsky/msdfgen
|
|
* https://github.com/Chlumsky/msdfgen
|
|
* Published under the MIT license
|
|
* Published under the MIT license
|
|
*
|
|
*
|