[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] freetype-py python binding to FontVal's FreeType backend.
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] freetype-py python binding to FontVal's FreeType backend. |
Date: |
Wed, 29 Mar 2017 07:55:18 +0200 (CEST) |
> A bit more detail. In the FontVal C# code, the _rast_* status symbol
> is further converted into the report as
>
> W6020 "Setting the loop variable to zero is an error"
>
> That information comes from
> Font-Validator/GenerateFValData/OurData.xml . You can do something
> like this (sorry this is GNU grep syntax, which Mac OS X's grep is
> not):
>
> grep -B1 -A3 \
> _rast_W_FT_VALUE_OUT_OF_RANGE_ \
> Font-Validator/GenerateFValData/OurData.xml \
> | grep -E '(helpID|atom|shortDesc)'
>
> helpID="W6020"
> atom="_rast_W_FT_VALUE_OUT_OF_RANGE_SLOOP"
> shortDesc="Setting the loop variable to zero is an error"
>
> While looking up and doing a more friendly message, you can silence
> specific warning(s) that you don't like etc. (I know Werner does not
> like this one - it is the thing from hinting with ttfautohint).
Indeed, because a zero value for the loop variable is *not* an
errorĀ :-)
Werner