[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FT_Get_PS_Font_Private in CFF driver
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] FT_Get_PS_Font_Private in CFF driver |
Date: |
Wed, 12 Jun 2013 18:32:23 +0200 (CEST) |
> Okay, so in my specific case (CFF) the value is not used.
Yes, it seems that you can just add a dummy value.
> I have been busy with other things, and was about to start making
> the change in the FreeType code that we talked about. But it's a
> little demotivating that the (required!) value is not used anyway...
:-)
> Thanks a lot for forwarding the Adobe communication though.
Ah, this reminds me to rectify one remark:
>> Note that Adobe uses a special, self-made version of the TT
>> interpreter which both handles stem darkening and artificial
>> emboldening *before* hinting takes place.
This was faulty memory of mine: They actually use a special version of
TT interpreter (it's a patched version of the MS interpreter), but
stem darkening and embolding takes place *after* hinting.
The darkening amount, however, needs to be fractional. The Adobe
people implement this by disabling hints in the x-direction (which is
disabled for the LCD mode anyway), applying darkening only in the
x-direction.
Werner