mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 08:00:45 +02:00
LazUtils: Fixed wrong offsets in free type font subclips. Issue #35036. Patch from Ondrej Pokorny
git-svn-id: trunk@60362 -
This commit is contained in:
parent
05aa1b08f9
commit
2035539759
@ -1003,13 +1003,13 @@ const
|
|||||||
|
|
||||||
if new_flags and ARGS_ARE_WORDS <> 0 then
|
if new_flags and ARGS_ARE_WORDS <> 0 then
|
||||||
begin
|
begin
|
||||||
k := ftstream.Get_Short;
|
k := SmallInt(ftstream.Get_Short);
|
||||||
l := ftstream.Get_Short;
|
l := SmallInt(ftstream.Get_Short);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
k := ftstream.Get_Byte;
|
k := ShortInt(ftstream.Get_Byte);
|
||||||
l := ftstream.Get_Byte;
|
l := ShortInt(ftstream.Get_Byte);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
subglyph^.arg1 := k;
|
subglyph^.arg1 := k;
|
||||||
|
Loading…
Reference in New Issue
Block a user