mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 03:49:30 +02: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).
(cherry picked from commit c89464824d
)
Co-authored-by: chrschllr <christoph.schaller03@gmail.com>
This commit is contained in:
parent
978bc3a3ab
commit
17d5fce04b
@ -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