freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] GSoC-2019-moazin 22d7c85 29/47: Minor name change.


From: Moazin Khatti
Subject: [freetype2] GSoC-2019-moazin 22d7c85 29/47: Minor name change.
Date: Sun, 25 Aug 2019 16:18:14 -0400 (EDT)

branch: GSoC-2019-moazin
commit 22d7c8578fd702fcb6208b45bf11ef6355c80841
Author: Moazin Khatti <address@hidden>
Commit: Moazin Khatti <address@hidden>

    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'.
---
 include/freetype/config/ftheader.h        | 6 +++---
 include/freetype/internal/svginterface.h  | 2 +-
 include/freetype/{svgrender.h => otsvg.h} | 4 ++--
 src/base/ftglyph.c                        | 2 +-
 src/base/ftobjs.c                         | 2 +-
 src/sfnt/ttsvg.c                          | 2 +-
 src/svg/ftsvg.c                           | 2 +-
 src/svg/svgtypes.c                        | 2 +-
 8 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/include/freetype/config/ftheader.h 
b/include/freetype/config/ftheader.h
index d9249f9..55716c2 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 a94631e..6ff6db0 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
similarity index 98%
rename from include/freetype/svgrender.h
rename to include/freetype/otsvg.h
index ecbc3ee..959d567 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 373328a..fa60ea1 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 8805943..770002e 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 cd45b76..4607c1e 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 8c6dc3b..2f04758 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 7acfcea..1951434 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_
   {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]