Commit 20355397 authored by Michael W. Vogel's avatar Michael W. Vogel
Browse files

LazUtils: Fixed wrong offsets in free type font subclips. Issue #35036. Patch from Ondrej Pokorny

git-svn-id: trunk@60362 -
parent 05aa1b08
......@@ -1003,13 +1003,13 @@ const
if new_flags and ARGS_ARE_WORDS <> 0 then
begin
k := ftstream.Get_Short;
l := ftstream.Get_Short;
k := SmallInt(ftstream.Get_Short);
l := SmallInt(ftstream.Get_Short);
end
else
begin
k := ftstream.Get_Byte;
l := ftstream.Get_Byte;
k := ShortInt(ftstream.Get_Byte);
l := ShortInt(ftstream.Get_Byte);
end;
subglyph^.arg1 := k;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment