[Fontconfig] check font-file for real SmallCaps support
akira at tagoh.org
Sun Apr 12 19:44:16 PDT 2015
just providing such information there is useless because partial matching
on String object isn't supported. acquiring or preventing specific feature
may be useful though, we need to think about it first.
On Sat, Apr 11, 2015 at 1:55 AM, Behdad Esfahbod <behdad.esfahbod at gmail.com>
> On 15-04-09 09:17 PM, Werner LEMBERG wrote:
> >>> I want to check if a font (e.g. FreeSans) support real small caps.
> >>> I checked with XeTeX that FreeSans does support it.
> >> That is not feasible to check with fontconfig. you need to use
> >> FreeType and Harfbuzz for convenience to see if fonts has smcp
> >> feature in GSUB.
> > Actually, this demand is not unreasonable. I would even say that
> > fontconfig should be extended to report OpenType capabilities.
> Fontconfig already reports very minor OpenType caps:
> capability: "otlayout:arab"
> A while back we decided to limit what fontconfig reports to only what's
> reasonably used for font matching. One can suggest that "fonts that have
> small caps feature" is a reasonable way to filter fonts. And I tend to
> If anything, that's more useful than the currently otlayout:arab
> I don't have a good format for this in mind though.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Fontconfig