Just I filed a merge request
https://gitlab.freedesktop.org/freetype/freetype/-/merge_requests/277
about
cid_load_glyph: invalid glyph stream offsets
could not load a glyph for CID=1
cid_load_glyph: invalid glyph stream offsets
could not load a glyph for CID=2
cid_load_glyph: invalid glyph
In my opinion, only validated CIDs are interesting. Therefore,
FT_Get_CID_From_Glyph_Index is confusing to me. It looks like it is useful for
CFF only but not for Type 1. It looks like the we need different approaches:
FT_Load for t1cid and FT_Get_CID for CFF.
OK. Yet I've not checked what
Suzuki,
> Currently, my patch cares only FT_Face->num_glyphs
> for the face loaded by the t1cid driver. Do you
> concern as "the num_glyphs is no more than the
> declaration, there is no guarantee that the user
> can get a glyph image of the CID within the range
> 0...FT_Face->num_glyph,
Dear Alexei,
Excuse me; please let me ask your background to scan
all CIDs. Is it a confirmation of the existence of
the glyph description for a given CID instead of
the declaration of the CID, as fontconfig does?
Currently, my patch cares only FT_Face->num_glyphs
for the face loaded by the