<div dir="ltr">Thanks Lawrence.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 27, 2017 at 7:07 PM, Lawrence D'Oliveiro <span dir="ltr"><<a href="mailto:ldo@geek-central.gen.nz" target="_blank">ldo@geek-central.gen.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 27 Sep 2017 18:58:41 -0400, Behdad Esfahbod wrote:<br>
<br>
>   - Expose slant & italic standard axes as well, but Fontconfig<br>
> shoves FC_SLANT_ITALIC and FC_SLANT_OBLIQUE in the same element,<br>
> with these values:<br>
><br>
> #define FC_SLANT_ROMAN              0<br>
> #define FC_SLANT_ITALIC             100<br>
> #define FC_SLANT_OBLIQUE            110<br>
><br>
> The varfonts axis for italic has a 0..1 range, 1 meaning italic.<br>
> And the slant axis uses slant angle.  We can:<br>
><br>
>   - Deprecate FC_SLANT element and add two new ones, eg FC_ITALIC<br>
> and FC_SLANT_ANGLE.  I don't like this particularly,<br>
><br>
>   - Repurpose FC_SLANT for *italic*, since the 0..1 range maps<br>
> nicely to FC_SLANT_ITALIC=100, and add FC_SLANT_ANGLE for the<br>
> slant.  I don't particularly like to confusing names here either.<br>
> So I'm open to suggestions.<br>
<br>
</span>Do you want alternative noun forms? How about “italicity” and<br>
“obliquity”? Or even “lean”?<br>
<br>
There’s also the technical terms for the linear transformation:<br>
“skew” or “shear”.<br></blockquote><div><br></div><div>I didn't tackle that aspect yet.  "skew" or "shear" won't work, as the axis value is written as oblique angle in degrees.  I would have liked it to be shear as well.<br><br></div><div>I think we should add FC_ITALIC and FC_SLANT_ANGLE and populate them.  That part I can do now; that's easy.  Modifications to 90-synthetic.conf is going to be a lot more complicated.  Likewise, re FcDefaultSubstitute() changes.<br></div></div></div></div></div>