Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(core): simplify fonts handling #4194

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Sep 18, 2024

  1. refactor(core): separate concerns of FONT macros

    Introduce a new flag `_NAME` for each font and reduce the usage of
    `_ENABLE` flag to purely compilation guard.
    
    [no changelog]
    obrusvit committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    59f4dc3 View commit details
    Browse the repository at this point in the history
  2. chore(core): remove unused constants

    [no changelog]
    obrusvit committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    9b71812 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. refactor(core): simplify font handling

    This commit removes the usage of macros for font data definitions.
    Instead, it includes data as const structs of newly introduced
    font_info_t type.
    
    [no changelog]
    obrusvit committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    25cabd5 View commit details
    Browse the repository at this point in the history
  2. refactor(core): change gen_font.py and regen fonts

    Change to the new structures and preserve manual changes. This commit
    also removes duplicated definition of nonprintable glyph for _UPPER
    fonts.
    
    [no changelog]
    obrusvit committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    6e50231 View commit details
    Browse the repository at this point in the history
  3. refactor(core): use font_id_t instead of plain int

    [no changelog]
    obrusvit committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    94db1ee View commit details
    Browse the repository at this point in the history