int format = g->f.f1.format;
if (format & OTF_XPlacement)
- xoff = g->f.f1.value->XPlacement * pixel_size / unitsPerEm;
+ xoff += g->f.f1.value->XPlacement * pixel_size / unitsPerEm;
if (format & OTF_XPlaDevice)
xoff += DEVICE_DELTA (g->f.f1.value->XPlaDevice, pixel_size);
if (format & OTF_YPlacement)
- yoff = g->f.f1.value->YPlacement * pixel_size / unitsPerEm;
+ yoff += g->f.f1.value->YPlacement * pixel_size / unitsPerEm;
if (format & OTF_YPlaDevice)
yoff += DEVICE_DELTA (g->f.f1.value->YPlaDevice, pixel_size);
if (format & OTF_XAdvance)