• Show log

    Commit

  • Hash : 22befeef
    Author : Alexei Podtelezhnikov
    Date : 2021-10-07T22:41:56

    Signedness revisions. This eliminates explicit casting by switching to unsigned fields. The revisions mostly impact the handling of CID fonts. * include/freetype/fttypes.h (FT_Data): Change to unsigned `length`. * include/freetype/t1tables.h (CID_FaceDictRec): Ditto for `sd_bytes`. (CID_FaceInfoRec): Ditto for `gd_bytes` and `gd_bytes`. * include/freetype/internal/tttypes.h (TT_LoaderRec): Ditto for `byte_len`. * src/cid/cidgload.c (cid_load_glyph): Updated. * src/cid/cidload.h (cid_get_offset): Update argument. * src/cid/cidload.c (cid_get_offset, cid_read_subrs, cid_face_open): Updated. * src/cff/cffgload.c (cff_get_glyph_data, cff_free_glyph_data): Updated. * src/psaux/psft.c (cf2_getT1SeacComponent): Updated. * src/truetype/ttgload.c (TT_Process_Composite_Glyph, load_truetype_glyph): Updated.

  • README

  • After saying `make refdoc' or `make refdoc-venv' the `reference/' directory
    contains the FreeType API reference.  You need Python >= 3.5 and pip to make
    this target.
    
    There are two ways to generate the documentation:
    
    1. Using `make refdoc':
    
        - Ensure `python' and `pip' are available.
        - Install pip package `docwriter' with `pip install --user docwriter'.
        - Make target with `make refdoc'.
        - This target can be run offline once required packages are installed.
    
    2. Using `make refdoc-venv' (requires internet access):
    
        - Ensure `python', `pip' and Python package `virtualenv' are available.
        - Make target with `make refdoc-venv'.
        - This may or may not require internet access every time depending on
        pip and system caching.
    
    This also works with Jam: Just type `jam refdoc' in the main directory.
    
    Some troubleshooting tips:
    
    * Regularly run `pip install --upgrade docwriter' to check for updates which
    may include bug fixes.
    
    * `Docwriter' does not support Python 2.  Ensure that Python >= 3.5 is
    installed and available as `python3'/`python'.
    
    * Ensure that `docwriter' is installed in the same Python target that
    `make refdoc' uses (python3/python).
    
    * If none of this works, send a mail to `freetype-devel@nongnu.org' or file
    an issue at `https://github.com/freetype/docwriter/issues'.