freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Experimental: v38 interpreter with minimal backwards comp


From: Werner LEMBERG
Subject: Re: [ft-devel] Experimental: v38 interpreter with minimal backwards compatibility mode and linear advance widths
Date: Wed, 18 May 2016 07:12:26 +0200 (CEST)

> Rebased against master for the change to the property setter.

Committed, thanks :-)

There's one issue, though.  Have a look at Ins_MIAP: I have changed
your diff

  -#ifdef TT_CONFIG_OPTION_SUBPIXEL_HINTING
  +#ifdef TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
         /* Only adjust if not in sph_compatibility_mode or ignore_x_mode. */
         /* Determined via experimentation and may be incorrect...         */
  -      if ( !SUBPIXEL_HINTING                      ||
  +      if ( SUBPIXEL_HINTING_INFINALITY            &&
              ( !exc->ignore_x_mode                ||
                !exc->face->sph_compatibility_mode ) )
  -#endif /* TT_CONFIG_OPTION_SUBPIXEL_HINTING */
  +#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */

to

  -#ifdef TT_CONFIG_OPTION_SUBPIXEL_HINTING
  +#ifdef TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
         /* Only adjust if not in sph_compatibility_mode or ignore_x_mode. */
         /* Determined via experimentation and may be incorrect...         */
  -      if ( !SUBPIXEL_HINTING                      ||
  -           ( !exc->ignore_x_mode                ||
  -             !exc->face->sph_compatibility_mode ) )
  -#endif /* TT_CONFIG_OPTION_SUBPIXEL_HINTING */
  +      if ( !( SUBPIXEL_HINTING_INFINALITY           &&
  +              ( exc->ignore_x_mode                &&
  +                exc->face->sph_compatibility_mode ) ) )
  +#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */

to retain the original logic.  Please check.


    Werner



reply via email to

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