[Fontconfig] how to recognize a fallback character

Khaled Hosny khaledhosny at eglug.org
Wed Aug 22 09:47:03 PDT 2012

On Wed, Aug 22, 2012 at 12:19:53PM -0400, Behdad Esfahbod wrote:
> On 08/22/2012 12:06 PM, Werner LEMBERG wrote:
> > 
> >   (2) For some unknown reasons yet, we get different output for the
> >       same font on GNU/Linux and Windows.  While the former contains
> >       ligatures (like `fi') and kerning, the latter doesn't have this.
> >       We suspect a Pango problem since I/O snooping has shown that the
> >       same fonts are used on both platforms.
> Incidentally I was checking the basic-win32.c Pango module today and noticed
> that it shortcircuits calling into Uniscribe if !ScriptIsComplex().  That
> would explain what you are seeing.  I like to remove that hack and always call
> Uniscribe unconditionally...
> Who knows, soon I may even remove the Uniscribe module and rely on HarfBuzz
> Uniscribe backend on Windows.

Since Uniscribe now hardly provides any advantage over HarfBuzz, I'd be
in favour of that (it would also help users using old Windows systems
with ancient versions of Uniscribe).


More information about the Fontconfig mailing list