Re: ftdump can show the CID registry, ordering, and supplement?

2023-04-21 Thread suzuki toshiya
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

Re: ftdump can show the CID registry, ordering, and supplement?

2023-04-21 Thread suzuki toshiya
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

Re: ftdump can show the CID registry, ordering, and supplement?

2023-04-21 Thread Alexei Podtelezhnikov
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,

Re: ftdump can show the CID registry, ordering, and supplement?

2023-04-21 Thread suzuki toshiya
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