[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 8e95068: [base] Remove unused function `FT_GlyphLoade
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 8e95068: [base] Remove unused function `FT_GlyphLoader_CopyPoints'. |
Date: |
Thu, 20 Sep 2018 00:41:32 -0400 (EDT) |
branch: master
commit 8e950680538b11cf3c4eb630f0b8e7bd400b6dcd
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
[base] Remove unused function `FT_GlyphLoader_CopyPoints'.
* include/freetype/internal/ftgloadr.h, src/base/ftgloadr.c
(FT_GlyphLoader_CopyPoints): Do it.
---
ChangeLog | 7 ++++++
include/freetype/internal/ftgloadr.h | 5 -----
src/base/ftgloadr.c | 42 ------------------------------------
src/raster/ftraster.c | 6 +++---
4 files changed, 10 insertions(+), 50 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 89ae802..ecf6d9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-09-20 Werner Lemberg <address@hidden>
+
+ [base] Remove unused function `FT_GlyphLoader_CopyPoints'.
+
+ * include/freetype/internal/ftgloadr.h, src/base/ftgloadr.c
+ (FT_GlyphLoader_CopyPoints): Do it.
+
2018-09-19 Alexei Podtelezhnikov <address@hidden>
[pcf] Prepare to replace charmap implementation.
diff --git a/include/freetype/internal/ftgloadr.h
b/include/freetype/internal/ftgloadr.h
index c731b2d..0d24a63 100644
--- a/include/freetype/internal/ftgloadr.h
+++ b/include/freetype/internal/ftgloadr.h
@@ -138,11 +138,6 @@ FT_BEGIN_HEADER
FT_BASE( void )
FT_GlyphLoader_Add( FT_GlyphLoader loader );
- /* copy points from one glyph loader to another */
- FT_BASE( FT_Error )
- FT_GlyphLoader_CopyPoints( FT_GlyphLoader target,
- FT_GlyphLoader source );
-
/* */
diff --git a/src/base/ftgloadr.c b/src/base/ftgloadr.c
index 3efa461..b6eb531 100644
--- a/src/base/ftgloadr.c
+++ b/src/base/ftgloadr.c
@@ -361,46 +361,4 @@
}
- FT_BASE_DEF( FT_Error )
- FT_GlyphLoader_CopyPoints( FT_GlyphLoader target,
- FT_GlyphLoader source )
- {
- FT_Error error;
- FT_UInt num_points = (FT_UInt)source->base.outline.n_points;
- FT_UInt num_contours = (FT_UInt)source->base.outline.n_contours;
-
-
- error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours );
- if ( !error )
- {
- FT_Outline* out = &target->base.outline;
- FT_Outline* in = &source->base.outline;
-
-
- FT_ARRAY_COPY( out->points, in->points,
- num_points );
- FT_ARRAY_COPY( out->tags, in->tags,
- num_points );
- FT_ARRAY_COPY( out->contours, in->contours,
- num_contours );
-
- /* do we need to copy the extra points? */
- if ( target->use_extra && source->use_extra )
- {
- FT_ARRAY_COPY( target->base.extra_points, source->base.extra_points,
- num_points );
- FT_ARRAY_COPY( target->base.extra_points2, source->base.extra_points2,
- num_points );
- }
-
- out->n_points = (short)num_points;
- out->n_contours = (short)num_contours;
-
- FT_GlyphLoader_Adjust_Points( target );
- }
-
- return error;
- }
-
-
/* END */
diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c
index 5b47d15..0c1d881 100644
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -99,7 +99,7 @@
* built from the bottom of the render pool, used as a stack. The
* following graphics shows the profile list under construction:
*
- * __________________________________________________________ _ _
+ * __________________________________________________________ _ _
* | | | | |
* | profile | coordinates for | profile | coordinates for |-->
* | 1 | profile 1 | 2 | profile 2 |-->
@@ -125,8 +125,8 @@
*
* _ _ _______________________________________
* | |
- * <--| sorted list of |
- * <--| extrema scanlines |
+ * <--| sorted list of |
+ * <--| extrema scanlines |
* _ _ __________________|____________________|
*
* ^ ^
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 8e95068: [base] Remove unused function `FT_GlyphLoader_CopyPoints'.,
Werner LEMBERG <=