mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 14:07:27 +01:00
FreeType: Fix type of glyphIdArray (cmap format 0), see merge request !515.
Both the Microsoft OpenType specification and Apple's TrueType reference manual define the relevant field, glyphIndexArray aka glyphIdArray, as an array of 256 bytes (aka uint8_t).
This commit is contained in:
parent
e834eca480
commit
c89464824d
@ -36,7 +36,7 @@ type
|
||||
(* the glyphIdArray for this format has 256 entries *)
|
||||
|
||||
TCMap0 = record
|
||||
glyphIdArray : PUShort;
|
||||
glyphIdArray : PByte;
|
||||
end;
|
||||
|
||||
(* FORMAT 2 *)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user