https://bugs.documentfoundation.org/show_bug.cgi?id=102780

--- Comment #7 from Valek Filippov <f...@df.ru> ---
ExtTextOutW record with Aleph/Bet/Gimel/Dalet has ETO_GLYPH_INDEX set.

As per [MS-EMF] spec:
"This bit indicates that the codes for characters in an output text string are
indexes of the character glyphs in a TrueType font.
Glyph indexes are font-specific, so to display the correct characters on
playback,
the font that is used MUST be identical to the font used to generate the
indexes."

That could be probably supported by using HarfBuzz' hb_font_glyph_to_string()
or FreeType's FT_Get_Glyph_Name() to "convert encoding".

(Kudos to Behdad for pointing to the right APIs).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to