ref: 50e634abe12efbe9589da8881e62d389b0de324e
parent: 7d6dc907d8fac01bb0d5517c86fa34e3ec79c713
author: Alexei Podtelezhnikov <[email protected]>
date: Wed Jan 2 15:31:56 EST 2013
* src/pshinter/pshalgo.h: Remove unused code.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-21 Alexei Podtelezhnikov <[email protected]>
+
+ * src/pshinter/pshalgo.h: Remove unused code.
+
2012-12-27 Werner Lemberg <[email protected]>
* src/truetype/ttgload.c (tt_loader_init): Add more tracing.
--- a/src/pshinter/pshalgo.h
+++ b/src/pshinter/pshalgo.h
@@ -4,7 +4,7 @@
/* */
/* PostScript hinting algorithm (specification). */
/* */
-/* Copyright 2001, 2002, 2003, 2008 by */
+/* Copyright 2001-2003, 2008, 2013 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -22,7 +22,6 @@
#include "pshrec.h"
#include "pshglob.h"
-#include FT_TRIGONOMETRY_H
FT_BEGIN_HEADER
@@ -168,8 +167,6 @@
FT_UInt flags2;
FT_Char dir_in;
FT_Char dir_out;
- FT_Angle angle_in;
- FT_Angle angle_out;
PSH_Hint hint;
FT_Pos org_u;
FT_Pos org_v;
@@ -185,12 +182,6 @@
} PSH_PointRec;
-
-#define PSH_POINT_EQUAL_ORG( a, b ) ( (a)->org_u == (b)->org_u && \
- (a)->org_v == (b)->org_v )
-
-#define PSH_POINT_ANGLE( a, b ) FT_Atan2( (b)->org_u - (a)->org_u, \
- (b)->org_v - (a)->org_v )
typedef struct PSH_ContourRec_
{