freetype-devel
[Top][All Lists]
Advanced

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

[Devel] small fix for PFR module


From: Sven Neumann
Subject: [Devel] small fix for PFR module
Date: 17 Jun 2002 18:32:40 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Hi,

the PFR loader obviously assigns the render direction incorrectly
which is easily fixed by the patch below. 


Salut, Sven

Index: src/pfr/pfrobjs.c
===================================================================
RCS file: /cvs/freetype/freetype2/src/pfr/pfrobjs.c,v
retrieving revision 1.4
diff -u -p -r1.4 pfrobjs.c
--- pfrobjs.c   2002/06/17 08:01:32     1.4
+++ pfrobjs.c   2002/06/17 16:29:57
@@ -120,9 +120,9 @@
          root->face_flags |= FT_FACE_FLAG_FIXED_WIDTH;
 
        if ( phy_font->flags & PFR_PHY_VERTICAL )
-         root->face_flags |= FT_FACE_FLAG_HORIZONTAL;
-       else
          root->face_flags |= FT_FACE_FLAG_VERTICAL;
+       else
+         root->face_flags |= FT_FACE_FLAG_HORIZONTAL;
 
        /* XXX: kerning and embedded bitmap support isn't there yet */
 


reply via email to

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