[Top][All Lists]

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

Re: OpenType Features

From: Jay Anderson
Subject: Re: OpenType Features
Date: Sat, 30 Jan 2016 23:14:49 -0700

On Mon, Jan 18, 2016 at 10:37 AM, Jay Anderson <address@hidden> wrote:
> On Mon, Jan 18, 2016 at 9:59 AM, Jay Anderson <address@hidden> wrote:
>> First issue: It appears that lilypond is dependent on pango 1.6
>> (pangoft2 - required 1.6.0, INSTALL.txt says pango 1.12 or newer so
>> I'm not totally sure what to believe.). OpenType features were added
>> in pango 1.18 (assuming I'm reading this correctly:
>> Are
>> there known issues with making this the new minimum version?
> I was a little wrong here. Those OpenType feature methods are
> deprecated. The supported way to set them is through PangoAttributes
> using the PANGO_ATTR_FONT_FEATURES attribute type
> (
> This was added in 1.38 which was released in 2015 September
> ( This is rather
> new (newer than my operating system includes - 1.36.3). So the minimum
> version would need to be _much_ newer than 1.18.

An update for those interested. I got something working. The attached
patch is certainly not ready to be merged, but I'm curious if the
chosen interface seems reasonable (see which is
attached). It adds a new 'font-features' property to the
font-interface (at least that's what I think I'm doing

This is using a method from pango 1.38. I'm not sure this issues
surrounding using such a new version. (It's newer than the version
included in ubuntu 15.10 for instance.)

I haven't tested it much yet, but I'm pleased with the output (tested
with Cardo -



Attachment: 0001-Initial-work-to-support-opentype-font-features.patch
Description: Text Data

Description: Text Data

Attachment: smallcaps.pdf
Description: Adobe PDF document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]