[cff] Don't use `hmtx' table for LSB (#45520).

* src/cff/cffgload.c (cff_slot_load): Use `htmx' table for advance
width only.  Bug introduced 2015-04-10.
This commit is contained in:
Matthias Clasen 2015-07-26 21:08:34 +02:00 committed by Werner Lemberg
parent b3fce59d52
commit b650dfbb0b
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2015-07-26 Matthias Clasen <matthias.clasen@gmail.com>
[cff] Don't use `hmtx' table for LSB (#45520).
* src/cff/cffgload.c (cff_slot_load): Use `htmx' table for advance
width only. Bug introduced 2015-04-10.
2015-07-09 Werner Lemberg <wl@gnu.org>
Better support of user-supplied C++ namespaces.

View File

@ -3064,9 +3064,7 @@
metrics->width = cbox.xMax - cbox.xMin;
metrics->height = cbox.yMax - cbox.yMin;
if ( !face->horizontal.number_Of_HMetrics )
metrics->horiBearingX = cbox.xMin;
metrics->horiBearingX = cbox.xMin;
metrics->horiBearingY = cbox.yMax;
if ( has_vertical_info )