[Poppler-bugs] [Bug 80093] does not render ligatures for TeX Gyre Hermes font anymore

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 30 02:20:16 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80093

--- Comment #4 from Christopher Yeleighton <giecrilj at stegny.2a.pl> ---
Comment on attachment 101172
  --> https://bugs.freedesktop.org/attachment.cgi?id=101172
bring back ligature rendering with TeX Gyre Hermes

The following code would be better IMHO:

size_t const len = strlen (name);
if ((len == 02 || len == 03) && * name == 'f') 
{ /* interleave underscores */
char new_name [06] = { * name, '_', name [01], '_', name [02] };
new_name [ (len << 01) - 01 ] = 0;
codeToGID[i] = FT_Get_Name_Index(face, new_name);
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140630/e329719c/attachment.html>


More information about the Poppler-bugs mailing list