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

Bind hb-paint API #185

Merged
merged 10 commits into from
Feb 3, 2024
Merged

Bind hb-paint API #185

merged 10 commits into from
Feb 3, 2024

Commits on Jan 20, 2024

  1. Add hb-paint definitions

    khaledhosny committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    4226eb5 View commit details
    Browse the repository at this point in the history
  2. Add Font.from_ptr

    khaledhosny committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    801f6ca View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. Bind hb-paint API

    Tests in the next commit.
    khaledhosny committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    c91a9a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4803d92 View commit details
    Browse the repository at this point in the history
  3. Test PaintFuncs

    Test fonts and expected results are taking verbatim from HarfBuzz tests.
    khaledhosny committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    5a80c3e View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Drop PyCapsule support for PainFuncs

    It does not seem to be of much use since the C callback functions need
    to link yo HarfBuzz to use its API to access various HarfBuzz objects.
    khaledhosny committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    94fe7a6 View commit details
    Browse the repository at this point in the history
  2. Misleading comments

    khaledhosny committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    6e2e970 View commit details
    Browse the repository at this point in the history
  3. Fix paint_color_glyph_func

    For whatever reason, passing the individual functions as user_data
    results in a mixup between paint_color_glyph_func and
    push_clip_glyph_func. Passing the while PainFuncs instance instead seems
    to workaround this.
    khaledhosny committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    371dcd4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b62dbde View commit details
    Browse the repository at this point in the history
  5. Cast hb_boolt_t to bint

    Coerces it to Python bool
    khaledhosny committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    ac261ba View commit details
    Browse the repository at this point in the history