* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Handle vertical layout
also.
This commit is contained in:
parent
111b5aefca
commit
5e43089b4f
|
@ -1,3 +1,8 @@
|
||||||
|
2006-11-07 Zhe Su <james.su@gmail.com>
|
||||||
|
|
||||||
|
* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Handle vertical layout
|
||||||
|
also.
|
||||||
|
|
||||||
2006-11-03 Werner Lemberg <wl@gnu.org>
|
2006-11-03 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
* src/base/ftcalc.c: Don't use `long long' but `FT_Int64'.
|
* src/base/ftcalc.c: Don't use `long long' but `FT_Int64'.
|
||||||
|
|
|
@ -137,9 +137,12 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* assume the layout is horizontal */
|
if (slot->advance.x)
|
||||||
slot->advance.x += xstr;
|
slot->advance.x += xstr;
|
||||||
|
|
||||||
|
if (slot->advance.y)
|
||||||
|
slot->advance.y += ystr;
|
||||||
|
|
||||||
slot->metrics.width += xstr;
|
slot->metrics.width += xstr;
|
||||||
slot->metrics.height += ystr;
|
slot->metrics.height += ystr;
|
||||||
slot->metrics.horiBearingY += ystr;
|
slot->metrics.horiBearingY += ystr;
|
||||||
|
|
Loading…
Reference in New Issue