Re: check font-file for real SmallCaps support

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

 



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@xxxxxxxxx> wrote:
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 agree.
 If anything, that's more useful than the currently otlayout:arab reporting.

I don't have a good format for this in mind though.

b



--
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux