freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] [cff] Explicitly set StandardEncoding o


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] [cff] Explicitly set StandardEncoding or ExpertEncoding offsets.
Date: Fri, 17 Sep 2021 03:21:35 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • src/cff/cffload.c
    ... ... @@ -1818,7 +1818,8 @@
    1818 1818
             /* Construct code to GID mapping from code to SID mapping */
    
    1819 1819
             /* and charset.                                           */
    
    1820 1820
     
    
    1821
    -        encoding->count = 0;
    
    1821
    +        encoding->offset = offset; /* used in cff_face_init */
    
    1822
    +        encoding->count  = 0;
    
    1822 1823
     
    
    1823 1824
             error = cff_charset_compute_cids( charset, num_glyphs,
    
    1824 1825
                                               stream->memory );
    


  • reply via email to

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