From fb174160559b9823a932fc238b55eb44619c47e8 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sat, 22 Nov 2014 23:21:19 +0000 Subject: Remove unused variables and fix warnings with ifdefed variables. Thanks to rudi_s. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3103 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UFont.pas | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/base/UFont.pas') diff --git a/src/base/UFont.pas b/src/base/UFont.pas index 0249b665..99fae037 100644 --- a/src/base/UFont.pas +++ b/src/base/UFont.pas @@ -844,12 +844,6 @@ const 0, 0, 1, 0, 0, 0, 0, 1 ); - cShearMatrixInv: array[0..15] of GLfloat = ( - 1, 0, 0, 0, - -cShearFactor, 1, 0, 0, - 0, 0, 1, 0, - 0, 0, 0, 1 - ); var LibraryInst: FT_Library; @@ -2227,7 +2221,6 @@ var OuterNumPoints, InnerNumPoints, GlyphNumPoints: FT_UInt; OuterNumContours, InnerNumContours, GlyphNumContours: FT_UInt; OuterBorder, InnerBorder: FT_StrokerBorder; - OutlineFlags: FT_Int; UseStencil: boolean; begin // It is possible to extrude the borders of a glyph with FT_Glyph_Stroke @@ -2311,9 +2304,6 @@ begin GlyphNumPoints := InnerNumPoints + OuterNumPoints; GlyphNumContours := InnerNumContours + OuterNumContours; - // save flags before deletion (TODO: set them on the resulting outline) - OutlineFlags := Outline.flags; - // resize glyph outline to hold inner and outer border FT_Outline_Done(Glyph.Library_, Outline); if (FT_Outline_New(Glyph.Library_, GlyphNumPoints, GlyphNumContours, Outline) <> 0) then -- cgit v1.2.3