* glyph advances are stored in 16.16 fixed-point format and not 26.6 format (https://www.freetype.org/freetype2/docs/reference/ft2-glyph_management.html#ft_glyph)

git-svn-id: trunk@49627 -
This commit is contained in:
ondrej 2021-07-21 20:59:57 +00:00
parent fafee8b85b
commit 83bb854f1e

View File

@ -687,8 +687,8 @@ begin
begin
with gl^.advance do
begin
advanceX := x div 64;
advanceY := y div 64;
advanceX := x shr 16;
advanceY := y shr 16;
end;
with bm^ do
begin
@ -814,8 +814,8 @@ begin
begin
with gl^.advance do
begin
advanceX := x shr 6;
advanceY := y shr 6;
advanceX := x shr 16;
advanceY := y shr 16;
end;
with bm^ do
begin