* src/base/ftadvance.c (FT_Get_Advances): Fix invalid left shift.
This commit is contained in:
parent
351fc4b4a4
commit
ff82747e6d
|
@ -1,3 +1,7 @@
|
|||
2016-03-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/base/ftadvance.c (FT_Get_Advances): Fix invalid left shift.
|
||||
|
||||
2016-03-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[pfr] Fix binary search (#47514).
|
||||
|
|
|
@ -159,8 +159,8 @@
|
|||
|
||||
/* scale from 26.6 to 16.16 */
|
||||
padvances[nn] = ( flags & FT_LOAD_VERTICAL_LAYOUT )
|
||||
? face->glyph->advance.y << 10
|
||||
: face->glyph->advance.x << 10;
|
||||
? face->glyph->advance.y * 1024
|
||||
: face->glyph->advance.x * 1024;
|
||||
}
|
||||
|
||||
return error;
|
||||
|
|
Loading…
Reference in New Issue