freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] gamma correction and stem darkening


From: Werner LEMBERG
Subject: Re: [ft-devel] gamma correction and stem darkening
Date: Tue, 19 Jan 2016 16:16:24 +0100 (CET)

>> I think it *is* possible.  The method, as implemented by
>> Toshiya-san, compares various SFNT table checksums.  Among them is
>> the `cvs ' table, and modifying this table is essentially
>> impossible without interpreting and changing the bytecode.  Ditto
>> for `fpgm'.  I dare to say that even a subsetted font with a single
>> glyph contains the original `cvs ' and `fpgm' tables unmodified,
>> which should enable FreeType to discover its trickyness.
> 
> Note that this will eventually change ;).
> 
>   https://github.com/behdad/fonttools/issues/446

Interesting.  Reading the thesis (from 2014) I see that they don't
mention ttfautohint, which really suprises me.  It also says that some
instructions like JROT[] aren't supported because they couldn't find
fonts that use it.  Well, fonts auto-hinted with ttfautohint *do* use
it :-)  [It seems that the git repository has added support meanwhile.]

Of course, the most difficult part IMHO is the regeneration of
TrueType code, which is not covered in the thesis.  Has this been
implemented meanwhile?  There is no real documentation of the code in
the git repository...


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]