• Show log

    Commit

  • Hash : fb982e78
    Author : Werner Lemberg
    Date : 2023-04-26T08:17:17

    New Variation Font function `FT_Get_Default_Named_Instance`. * include/freetype/ftmm.h, src/base/ftmm.c (FT_Get_Default_Named_Instance): New function. * include/freetype/internal/services/svmm.h (FT_Get_Default_Named_Instance_Func): New typedef. (FT_Service_MultiMasters): New field `get_default_named_instance`. (FT_DEFINE_SERVICE_MULTIMASTERSREC): Updated. * include/freetype/internal/tttypes.h (TT_Face): New field `var_default_named_instance`. * src/sfnt/sfobjc.s (sfnt_init_face): Initialize `var_default_named_instance`. * src/cff/cffdrivr.c (cff_get_default_named_instance): New function. (cff_service_multi_masters): Updated. * src/truetype/ttgxvar.c (TT_Get_MM_Var): Initialize `var_default_named_instance`. (TT_Get_Default_Named_Instance): New function. * src/truetype/ttgxvar.h: Updated. * src/truetype/ttdriver.c (tt_service_gx_multi_masters): Updated. * src/type1/t1driver.c (t1_service_multi_masters): Updated. * docs/CHANGES: 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'.