Mercurial > emacs
changeset 96840:6434da51a24b
*** empty log message ***
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 21 Jul 2008 02:23:24 +0000 |
parents | acf9127fbc06 |
children | ded9ce56ff04 |
files | src/ftfont.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ftfont.c Sun Jul 20 21:32:21 2008 +0000 +++ b/src/ftfont.c Mon Jul 21 02:23:24 2008 +0000 @@ -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); } }