Skip to content

Use the smcp (small caps) OpenType feature for fonts that support it

Federico Mena Quintero requested to merge federico/librsvg:small-caps into master

This is part of #668. It turns out that Pango does not implement PANGO_VARIANT_SMALL_CAPS. Instead, one must turn on the "smcp" OpenType feature, but not all fonts support that. In the future we may need to synthesize small caps on the librsvg side if Pango doesn't do it itself.

Merge request reports