On Mon, 22 Jul 2002, Keith Packard wrote:

> Around 8 o'clock on Jul 22, Brian Stell wrote:

> > Will there be a way to get the localized name using the ascii only name?

  How about the other way around? Given a localized name+lang, would
it be possible to get the ascii name? Put differently, would there be
a way to access the mapping from a localized name+lang to a font(or
ascii name/canonical name)?

> Yes.  The representation of the names internally includes all of the
> localized names along with the postscript name (which is always ASCII), any
> match or list result will include all of these names. I would sort the
> names so that any English or Latin names would come first in the list.

  Reading this, I think it should be possible, but is there an API
for that?

  A number of web pages have embedded or separate CSS with
only 'localized font (family) names'. Web browsers or any other applications
accessing those CSS' need to map localized names+lang (assuming that
lang info. is available in one way or another) to fonts. Although
it appears that they can roll out their own for this purpose,
wouldn't it be nice to have this in fontconfig?

  Thanks,

  Jungshik

_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to