freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] Comments added.


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] Comments added.
Date: Fri, 18 Nov 2022 14:03:21 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 4e6906cc
    by Alexei Podtelezhnikov at 2022-11-18T14:03:19+00:00
    Comments added.

1 changed file:

Changes:

  • src/pcf/pcfdrivr.c
    ... ... @@ -111,6 +111,7 @@ THE SOFTWARE.
    111 111
         FT_UInt32  w = enc->lastCol - enc->firstCol + 1;
    
    112 112
     
    
    113 113
     
    
    114
    +    /* wrapped around "negative" values are also rejected */
    
    114 115
         if ( i >= h || j >= w )
    
    115 116
           return 0;
    
    116 117
     
    
    ... ... @@ -131,6 +132,7 @@ THE SOFTWARE.
    131 132
         FT_UInt    result = 0;
    
    132 133
     
    
    133 134
     
    
    135
    +    /* adjust wrapped around "negative" values */
    
    134 136
         if ( (FT_Int32)i < 0 )
    
    135 137
           i = 0;
    
    136 138
         if ( (FT_Int32)j < 0 )
    


  • reply via email to

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