[uniscribe] Use unique font name
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 21 Jul 2013 20:06:49 +0000 (16:06 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 21 Jul 2013 21:17:44 +0000 (17:17 -0400)
commit8ac2e88deff3d069c19fd59d0fbbfb88a762b113
tree1311c94625ba5022f417db7dd50cc679fc0e5fa8
parent8751de50831338ce550601c34c17d152ad89c1fd
[uniscribe] Use unique font name

When installing per-process fonts using AddFontMemResourceEx(),
if a font with the same family name is already installed, sometimes
that one gets used.  Which is problematic for us.  As such, we
now mangle the font to install a new 'name' table with a unique
name, which we then use to choose the font.

Patch from Jonathan Kew.
configure.ac
src/hb-uniscribe.cc