freetype-commit
[Top][All Lists]
Advanced

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

[freetype2-demos] master 7a5ca58: * src/ftcommon.c (FTDemo_String_Draw):


From: Alexei Podtelezhnikov
Subject: [freetype2-demos] master 7a5ca58: * src/ftcommon.c (FTDemo_String_Draw): Typo.
Date: Fri, 05 Feb 2016 03:33:56 +0000

branch: master
commit 7a5ca584a64c3fda1aba0908f5874691d6d7596c
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>

    * src/ftcommon.c (FTDemo_String_Draw): Typo.
---
 ChangeLog      |    4 ++++
 src/ftcommon.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b629dec..3546ff2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-02-04  Alexei Podtelezhnikov  <address@hidden>
+
+       * src/ftcommon.c (FTDemo_String_Draw): Typo.
+
 2016-02-02  Alexei Podtelezhnikov  <address@hidden>
 
        * src/ftgrid.c, src/ftview.c, src/testname.c: Remove math.h.
diff --git a/src/ftcommon.c b/src/ftcommon.c
index bdf0d1f..700338c 100644
--- a/src/ftcommon.c
+++ b/src/ftcommon.c
@@ -1326,7 +1326,7 @@
         if ( sc->vertical )
         {
           bitmap->left += ( glyph->vvector.x + pen.x ) >> 6;
-          bitmap->top  += ( glyph->vvector.x + pen.y ) >> 6;
+          bitmap->top  += ( glyph->vvector.y + pen.y ) >> 6;
         }
         else
         {



reply via email to

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