Dear Paul and Mark,

> I'm not very familiar with OpenType/fonts, or editing them, so
> I'd have to defer any changes to Mark.

let me explain the problem a bit more.  In any program where you
donât explicitly configure a separate font for every script under
the sun, which means pretty much anything but Mozilla, including
all GTK+ and Qt etc. programs, one main font is chosen (say,
Bitstream Vera Sans), and whenever the program encounters a
character (say KharoááhÄ) that is not covered by that main font,
it asks the fontconfig library to find a font that does contain
glyphs for that character, and then automatically gets them from
there.

The problem is that a) fontconfig does not know very much about
the capabilities of fonts apart from what glyphs there are in
there, and b) it prefers fonts with a broader script coverage
(thus determined) over those with a more narrow coverage.  That
means that on a system with

   â Markâs Damase font (with glyphs for many scripts, but no
     OpenType mechanism for KharoááhÄ, Limbu, hPhagsâpa etc.),

and

   â a toâbeâdeveloped specialised KharoááhÄ font (with glyphs for
     only KharoááhÄ, but proper OpenType support)

fontconfig, when asked to provide for KharoááhÄ, will prefer the
Damase font over the specialised KharoááhÄ font, thus causing
broken rendering for KharoááhÄ text even though a font for proper
rendering would have been available.  (As far as KharoááhÄ is
concerned, this is a bit theoretic at this point, since the
specialised font does not exist yet, but may already affect Limbu
etc. users.)

This has been discussed on the fontconfig mailing list, and
somebody suggested that fontconfig should check for OpenType
support, but itâs not sure that that is going to happen.  At the
same time, the usefulness of a nonâOpenType KharoááhÄ (Limbu,
etc.) font for actual users (academic or native) is very limited,
since all one can do with it really is typeset an alphabet table,
but not any connected run of text.  Thatâs why I suggested that
removing KharoááhÄ, at least from the Debian package, may be the
best thing to do at this point, pending potential future
improvements in fontconfig that would mean that fonts with partial
support can no longer negatively impact fonts with full support on
the same system.

And of course this situation sucks, because it discourages
enthusiastic developers who want to get started somewhere, but
donât have the time or resources to go all the way with
replacement tables and everything.  In our research project, at
the moment we also use nonâOpenType KharoááhÄ fonts, with just the
basic glyphs in the codepoints, and the composite glyphs in the
PUA, and everything has to be handpicked.  But thatâs a
specialised internal use, and having a font distributed as part of
Debian is a different issue, especially if it impacts multiple
scripts.  Sorry if all that sounds a bit negative.

[Iâll send you some remarks on Burmese in a separate email,
outside this bug report.]

All best,
Stefan

-- 
Stefan Baums
Asian Languages and Literature
University of Washington


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to