freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Removing the unpatented hinter code


From: Nikolaus Waxweiler
Subject: [ft-devel] Removing the unpatented hinter code
Date: Mon, 4 Jan 2016 01:23:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Hey Werner,
I know you don't find this important, but I like cleaning up. ;) Does GUESS_VECTOR() in ttinterp.c do anything now? As in

    if ( opcode < 4 )
    {
      exc->GS.projVector.x = AA;
      exc->GS.projVector.y = BB;

      exc->GS.dualVector.x = AA;
      exc->GS.dualVector.y = BB;
    }
    else
      GUESS_VECTOR( projVector );

Or can this be compressed to

    exc->GS.projVector.x = AA;
    exc->GS.projVector.y = BB;

    exc->GS.dualVector.x = AA;
    exc->GS.dualVector.y = BB;

?

And there's one enum left:

  typedef enum  FT_TrueTypeEngineType_
  {
    FT_TRUETYPE_ENGINE_TYPE_NONE = 0,
    FT_TRUETYPE_ENGINE_TYPE_UNPATENTED,
    FT_TRUETYPE_ENGINE_TYPE_PATENTED

  } FT_TrueTypeEngineType;

Can it stay?

Attachment: remove-unpatented-hinter.patch
Description: Text Data


reply via email to

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