• Show log

    Commit

  • Hash : 01c22b36
    Author : Alexei Podtelezhnikov
    Date : 2025-01-19T11:19:10

    [bdf] Tokenize input instead of listing.
    
    Instead of cumbersome field list mamangement, we will tokenize input
    using custom `bdf_strtok_`.
    
    * src/bdf/bdflib.c (bdf_list_t_, bdf_list_init_, bdf_list_ensure_,
    bdf_list_shift_, bdf_list_join_, bdf_list_split_,
    bdf_set_default_spacing_): Removed.
    (bdf_strtok_): New function which NUL-terminates the first token at
    the delimiter position and returns the next token that follows
    consequtive delimiters.
    (bdf_parse_*_, bdf_load_font): Updated.
    
    * docs/CHANGES: Claim overall 75% performance improvement.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/freetype.git
    Git SSH git@git.kmx.io:kc3-lang/freetype.git
    Public access ? public
    Description
    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags

  • 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.
    
    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'.