[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] first auto-hinter infinality patch added to git
From: |
vernon adams |
Subject: |
Re: [ft-devel] first auto-hinter infinality patch added to git |
Date: |
Wed, 19 Sep 2012 08:53:53 -0700 |
I know i've asked this before :) but, could this concept also be used to
Decrease the xheight at particular char sizes? Because decreasing the xheight
can also increase legibility at some small sizes on some fonts.
-v
On Sep 18, 2012, at 10:02 PM, Werner LEMBERG <address@hidden> wrote:
>
> Folks,
>
>
> I've just committed a first experimental auto-hinter addition from the
> Infinality patch: What you could originally control by the environment
> variable `INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS' can now be
> handled with the new property `increase-x-height' (and even
> fine-tuned, not possible with the original implementation).
>
> From the documentation:
>
> For ppem values in the range 6 <= ppem <= ‘increase-x-height’, round
> up the font's x height much more often than normally. If the value
> is set to 0, which is the default, this feature is switched off.
> Use this property to improve the legibility of small font sizes if
> necessary.
>
> FT_Library library;
> FT_Face face;
> FT_Prop_IncreaseXHeight prop;
>
>
> FT_Init_FreeType( &library );
> FT_New_Face( library, "foo.ttf", 0, &face );
> FT_Set_Char_Size( face, 10 * 64, 0, 72, 0 );
>
> prop.face = face;
> prop.limit = 14;
>
> FT_Property_Set( library, "autofitter",
> "increase-x-height", &prop );
>
> Along these lines it should be possible to add other auto-hinter
> extensions. Erik?
>
>
> Werner
> _______________________________________________
> Freetype-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype-devel