mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 05:39:18 +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
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user