summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoazin Khatti <moazinkhatri@gmail.com>2019-08-10 14:27:59 +0500
committerMoazin Khatti <moazinkhatri@gmail.com>2019-08-26 01:17:14 +0500
commit22d7c8578fd702fcb6208b45bf11ef6355c80841 (patch)
treeedd7b9c11ca40b00e44d93a76e8e9370d2d32db4
parent5f5a56a0ccae0582c367e38e1d700f498c608300 (diff)
downloadfreetype2-22d7c8578fd702fcb6208b45bf11ef6355c80841.tar.gz
Minor name change.
`svgrender.h' -> `otsvg.h' `FT_SVG_RENDER_H' -> `FT_OTSVG_H' Since `svgrender.h' contains just the hooks and the SVG document structure it's probably just better to name it something general like `otsvg.h'.
-rw-r--r--include/freetype/config/ftheader.h6
-rw-r--r--include/freetype/internal/svginterface.h2
-rw-r--r--include/freetype/otsvg.h (renamed from include/freetype/svgrender.h)4
-rw-r--r--src/base/ftglyph.c2
-rw-r--r--src/base/ftobjs.c2
-rw-r--r--src/sfnt/ttsvg.c2
-rw-r--r--src/svg/ftsvg.c2
-rw-r--r--src/svg/svgtypes.c2
8 files changed, 11 insertions, 11 deletions
diff --git a/include/freetype/config/ftheader.h b/include/freetype/config/ftheader.h
index d9249f932..55716c2e5 100644
--- a/include/freetype/config/ftheader.h
+++ b/include/freetype/config/ftheader.h
@@ -550,14 +550,14 @@
/**************************************************************************
*
* @macro:
- * FT_SVG_RENDER_H
+ * FT_OTSVG_H
*
* @description:
* A macro used in `#include` statements to name the file containing the
- * API of the SVG Renderer Module.
+ * API of OT-SVG support related things.
*
*/
-#define FT_SVG_RENDER_H <freetype/svgrender.h>
+#define FT_OTSVG_H <freetype/otsvg.h>
/**************************************************************************
diff --git a/include/freetype/internal/svginterface.h b/include/freetype/internal/svginterface.h
index a94631e6f..6ff6db02f 100644
--- a/include/freetype/internal/svginterface.h
+++ b/include/freetype/internal/svginterface.h
@@ -20,7 +20,7 @@
#define SVGINTERFACE_H
#include <ft2build.h>
-#include FT_SVG_RENDER_H
+#include FT_OTSVG_H
FT_BEGIN_HEADER
diff --git a/include/freetype/svgrender.h b/include/freetype/otsvg.h
index ecbc3ee0c..959d56722 100644
--- a/include/freetype/svgrender.h
+++ b/include/freetype/otsvg.h
@@ -1,8 +1,8 @@
/****************************************************************************
*
- * svgrenderer.h
+ * otsvg.h
*
- * Interface for SVG Renderer Module (specification).
+ * Interface for OT-SVG support related things (specification).
*
* Copyright (C) 2004-2019 by
* David Turner, Robert Wilhelm, Werner Lemberg and Moazin Khatti.
diff --git a/src/base/ftglyph.c b/src/base/ftglyph.c
index 373328afd..fa60ea1e7 100644
--- a/src/base/ftglyph.c
+++ b/src/base/ftglyph.c
@@ -35,7 +35,7 @@
#include FT_OUTLINE_H
#include FT_BITMAP_H
#include FT_INTERNAL_OBJECTS_H
-#include FT_SVG_RENDER_H
+#include FT_OTSVG_H
/**************************************************************************
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index 880594362..770002e45 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -41,7 +41,7 @@
#include FT_SERVICE_TT_CMAP_H
#include FT_SERVICE_KERNING_H
#include FT_SERVICE_TRUETYPE_ENGINE_H
-#include FT_SVG_RENDER_H
+#include FT_OTSVG_H
#include FT_DRIVER_H
diff --git a/src/sfnt/ttsvg.c b/src/sfnt/ttsvg.c
index cd45b76e3..4607c1e6f 100644
--- a/src/sfnt/ttsvg.c
+++ b/src/sfnt/ttsvg.c
@@ -29,7 +29,7 @@
#include FT_INTERNAL_OBJECTS_H
#include FT_TRUETYPE_TAGS_H
#include FT_GZIP_H
-#include FT_SVG_RENDER_H
+#include FT_OTSVG_H
#ifdef FT_CONFIG_OPTION_SVG
diff --git a/src/svg/ftsvg.c b/src/svg/ftsvg.c
index 8c6dc3b85..2f04758d5 100644
--- a/src/svg/ftsvg.c
+++ b/src/svg/ftsvg.c
@@ -18,7 +18,7 @@
#include <ft2build.h>
#include FT_INTERNAL_DEBUG_H
#include FT_SERVICE_PROPERTIES_H
-#include FT_SVG_RENDER_H
+#include FT_OTSVG_H
#include FT_INTERNAL_SVG_INTERFACE_H
#include FT_BBOX_H
diff --git a/src/svg/svgtypes.c b/src/svg/svgtypes.c
index 7acfcea28..19514347e 100644
--- a/src/svg/svgtypes.c
+++ b/src/svg/svgtypes.c
@@ -18,7 +18,7 @@
#include <ft2build.h>
#include FT_INTERNAL_OBJECTS_H
#include FT_RENDER_H
-#include FT_SVG_RENDER_H
+#include FT_OTSVG_H
typedef struct SVG_RendererRec_
{