<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 11, 2015 at 1:55 AM, Behdad Esfahbod <span dir="ltr"><<a href="mailto:behdad.esfahbod@gmail.com" target="_blank">behdad.esfahbod@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 15-04-09 09:17 PM, Werner LEMBERG wrote:<br>
><br>
>>> I want to check if a font (e.g. FreeSans) support real small caps.<br>
>>> I checked with XeTeX that FreeSans does support it.<br>
>><br>
>> That is not feasible to check with fontconfig. you need to use<br>
>> FreeType and Harfbuzz for convenience to see if fonts has smcp<br>
>> feature in GSUB.<br>
><br>
> Actually, this demand is not unreasonable.  I would even say that<br>
> fontconfig should be extended to report OpenType capabilities.<br>
<br>
</div></div>Fontconfig already reports very minor OpenType caps:<br>
<br>
  capability: "otlayout:arab"<br>
<br>
A while back we decided to limit what fontconfig reports to only what's<br>
reasonably used for font matching.  One can suggest that "fonts that have<br>
small caps feature" is a reasonable way to filter fonts.  And I tend to agree.<br>
 If anything, that's more useful than the currently otlayout:arab reporting.<br>
<br>
I don't have a good format for this in mind though.<br>
<span class="HOEnZb"><font color="#888888"><br>
b<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Akira TAGOH</div>
</div>