Re: Granular synthetic emboldening possible ?

Akira TAGOH <[email protected]> Wed, 23 Jan 2019 18:34:29 +0900
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <CACT-Cx1iWpRYMnCtujU5FCv8yf=qC9oML14XetKf6F4ezdkOtQ@mail.gmail.com>
On Wed, Jan 23, 2019 at 5:50 PM Werner LEMBERG <[email protected]> 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig