[Libreoffice-bugs] [Bug 102780] FILEOPEN: Hebrew characters in EMF renders as other symbols

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 25 20:51:44 UTC 2021


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

--- Comment #7 from Valek Filippov <frob at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210525/30864342/attachment.htm>


More information about the Libreoffice-bugs mailing list