freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] [truetype] Upstream the hdmx binary sea


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] [truetype] Upstream the hdmx binary search.
Date: Mon, 13 Dec 2021 16:50:53 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

3 changed files:

Changes:

  • src/truetype/ttgload.c
    ... ... @@ -2736,9 +2736,7 @@
    2736 2736
     #endif
    
    2737 2737
                !face->postscript.isFixedPitch                                 )
    
    2738 2738
           {
    
    2739
    -        loader->widthp = tt_face_get_device_metrics( face,
    
    2740
    -                                                     size->metrics->x_ppem,
    
    2741
    -                                                     0 );
    
    2739
    +        loader->widthp = size->widthp;
    
    2742 2740
           }
    
    2743 2741
           else
    
    2744 2742
             loader->widthp = NULL;
    

  • src/truetype/ttobjs.c
    ... ... @@ -1435,6 +1435,8 @@
    1435 1435
           size->ttmetrics.y_ratio = 0x10000L;
    
    1436 1436
         }
    
    1437 1437
     
    
    1438
    +    size->widthp = tt_face_get_device_metrics( face, size_metrics->x_ppem, 0 );
    
    1439
    +
    
    1438 1440
         size->metrics = size_metrics;
    
    1439 1441
     
    
    1440 1442
     #ifdef TT_USE_BYTECODE_INTERPRETER
    

  • src/truetype/ttobjs.h
    ... ... @@ -282,6 +282,8 @@ FT_BEGIN_HEADER
    282 282
     
    
    283 283
         TT_Size_Metrics    ttmetrics;
    
    284 284
     
    
    285
    +    FT_Byte*           widthp;          /* glyph widths from the hdmx table */
    
    286
    +
    
    285 287
         FT_ULong           strike_index;      /* 0xFFFFFFFF to indicate invalid */
    
    286 288
     
    
    287 289
     #ifdef TT_USE_BYTECODE_INTERPRETER
    


  • reply via email to

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