Re: Ligatures and Pango?



On Thu, 2005-11-03 at 20:18 -0500, Behdad Esfahbod wrote:
> On Thu, 3 Nov 2005, Han-Wen Nienhuys wrote:
> 
> > Behdad Esfahbod wrote:
> > > The OpenType fonts declare which ligatures they have.  I think
> > > it will be solved by the patch in this bug:
> > >
> > >   http://bugzilla.gnome.org/show_bug.cgi?id=101079
> > >
> > > I'll look into it soon.
> >
> > Does that include support for TTF files that have ligatures?
> 
> No, I don't think so.

I investigated this a while ago and it seemed to be quite non-standard
how ligatures are mapped in TTF fonts. There are Unicode codepoints 
for some of the common ligatures, but fonts (as I recall) frequently
mapped even those ligatures into the private-use area. And had other
ligatures in the private use area as well.

You'd need extra per-font supplemental data to do it well. Though maybe
something simple is possible that will get ff/fi/ffi for a reasonable
percentage of common fonts.

Regards,
						Owen

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]