Re: Granular synthetic emboldening possible ?

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

 



On Wed, Jan 23, 2019 at 5:50 PM Werner LEMBERG <wl@xxxxxxx> wrote:
> Uh, oh, bad wording on my side, sorry.  What he's actually after is
> not emboldening per se but asking for *weight* N and wanting
> fontconfig return a font with weight N+5 – ideally without
> emboldening.

Well, if simply wanting to increase a weight in what fontconfig returns:

<match target="font">
  <edit name="weight" mode="assign">
    <plus>
        <name>weight</name>
        <int>5</int>
    </plus>
  </edit>
</match>

will always increase 5 to weight in result for example though, it
won't take any effects on rendering.
Or always wanting to *request* N+5 whether or not exactly finding it out:

<match target="pattern">
  <edit name="weight" mode="assign">
    <plus>
      <name>weight</name>
      <int>5</int>
    </plus>
  </edit>
</match>

But this may not helps if no such fonts available on system.

Anyway, if modifying a weight takes effects to the rendering, we don't
need emboldeing at all. so...
or am I still misunderstanding requrements here?

>
>
>     Werner



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://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