freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] include/freetype/freetype.h (FT_Encodin


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] include/freetype/freetype.h (FT_Encoding): Improve documentation.
Date: Sat, 07 Aug 2021 22:24:45 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • include/freetype/freetype.h
    ... ... @@ -730,11 +730,16 @@ FT_BEGIN_HEADER
    730 730
        *     Same as FT_ENCODING_JOHAB.  Deprecated.
    
    731 731
        *
    
    732 732
        * @note:
    
    733
    -   *   By default, FreeType enables a Unicode charmap and tags it with
    
    734
    -   *   `FT_ENCODING_UNICODE` when it is either provided or can be generated
    
    735
    -   *   from PostScript glyph name dictionaries in the font file.  All other
    
    736
    -   *   encodings are considered legacy and tagged only if explicitly defined
    
    737
    -   *   in the font file.  Otherwise, `FT_ENCODING_NONE` is used.
    
    733
    +   *   When loading a font, FreeType makes a Unicode charmap active if
    
    734
    +   *   possible (either if the font provides such a charmap, or if FreeType
    
    735
    +   *   can synthesize one from PostScript glyph name dictionaries; in either
    
    736
    +   *   case, the charmap is tagged with `FT_ENCODING_UNICODE`).  If such a
    
    737
    +   *   charmap is synthesized, it is placed at the first position of the
    
    738
    +   *   charmap array.
    
    739
    +   *
    
    740
    +   *   All other encodings are considered legacy and tagged only if
    
    741
    +   *   explicitly defined in the font file.  Otherwise, `FT_ENCODING_NONE` is
    
    742
    +   *   used.
    
    738 743
        *
    
    739 744
        *   `FT_ENCODING_NONE` is set by the BDF and PCF drivers if the charmap is
    
    740 745
        *   neither Unicode nor ISO-8859-1 (otherwise it is set to
    


  • reply via email to

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