emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/ftfont.c,v


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/ftfont.c,v
Date: Mon, 21 Jul 2008 02:23:24 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   08/07/21 02:23:24

Index: ftfont.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/ftfont.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- ftfont.c    10 Jul 2008 13:13:21 -0000      1.26
+++ ftfont.c    21 Jul 2008 02:23:24 -0000      1.27
@@ -1480,9 +1480,11 @@
     }
   else if (anchor->AnchorFormat == 3)
     {
-      if (anchor->f.f2.XDeviceTable.offset)
+      if (anchor->f.f2.XDeviceTable.offset
+         && anchor->f.f2.XDeviceTable.DeltaValue)
        *x += DEVICE_DELTA (anchor->f.f2.XDeviceTable, x_ppem);
-      if (anchor->f.f2.YDeviceTable.offset)
+      if (anchor->f.f2.YDeviceTable.offset
+         && anchor->f.f2.YDeviceTable.DeltaValue)
        *y += DEVICE_DELTA (anchor->f.f2.YDeviceTable, y_ppem);
     }
 }




reply via email to

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