cairo or pango drawing "wrong" alternative glyphs

Arjen Nienhuis <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAG6W84LMT5vbp3_U7HKUcAU45cF8gaooPSPG6c=iSA4pG1152w@mail.gmail.com>
Hi,

I use a font with many alternative glyphs: it has many different forms
for the same letter. It's this font: http://www.sudtipos.com/fonts/2
(It's called Affair)

Now with the version of cairo+pango that come with Ubuntu 12.04 the
font works but doesn't use the alternative glyphs. This is fine.

Now if I upgrade to the newer versions of Ubuntu or Debian it starts
to use the alternative glyphs. But it does so in an apparently random
way and this makes the text unreadable.

I fixed this temporally by opening the font in FontForge and randomly
deleting GSUB stuff until it looked good again.

Is there another way to fix this? Maybe by setting some options from
cairo, or by upgrading to some latest git version of something?

Thanks in advance,
Arjen Nienhuis
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.