Re: Ligatures and Pango?



On 1/29/06, Han-Wen Nienhuys <hanwen byrd xs4all nl> wrote:
> In article <8ebc61110511031705w71947548kc25753ea13dac2ae mail gmail com>,
> Denis Jacquerye  <moyogo gmail com> wrote:
> >On 11/4/05, Han-Wen Nienhuys <hanwen xs4all nl> wrote:
> >>
> >> Hi,
> >>
> >> what should I do to make Pango create ligatures for roman fonts, eg. fl
> >> and fi from normal text?  I guess that I can get them if I use the right
> >> unicode characters in the UTF-8 input, but is there a way to automate
> >> this, so the ligatures are only selected if the font supports them?
> >
> >Just wait for the patch on http://bugzilla.gnome.org/show_bug.cgi?id=101079
> >to go in. I've been using it for weeks. Ligatures and diacritics
> >placement are nice :D
> >and necessary in some languages so it will go in.
>
> I've done this with success. Unfortunately, I now also get complaints
> from users that "November" is rendered as N^o vember (were N^o is the
> number ligature, an N with raised underlined o.)  I'm using a TTF of
> New Century Schoolbook, that I created with FontForge from the
> standard X11 PFB font.  Is this a problem with Pango or with
> FontForge?

Either you added the "liga" feature to U+2116 or the version of
FontForge you used did.
It seems older versions of Fontforge added liga features where some
characters can be decomposed or, in your case, where approximate
equivalents exist. This has been changed in more recent versions of
FontForge but your file still has those unwanted ligatures.

--
Denis Moyogo Jacquerye --- http://home.sus.mcgill.ca/~moyogo


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