Skip to content

Conversation

@jserv
Copy link
Contributor

@jserv jserv commented Oct 17, 2025

The font-edit tool requires Cairo library for rendering operations but the build configuration did not properly detect this dependency, causing build failures on systems without Cairo installed.


Summary by cubic

Add Cairo detection and require it for TOOL_FONTEDIT to prevent builds when Cairo isn’t installed. Also update help text to “Mado” font format.

  • Dependencies

    • Add HAVE_CAIRO via pkg-config and make TOOL_FONTEDIT depend on HAVE_CAIRO (alongside HAVE_SDL2).
  • Bug Fixes

    • Prevent build failures by skipping TOOL_FONTEDIT when Cairo is missing.

The font-edit tool requires Cairo library for rendering operations but
the build configuration did not properly detect this dependency, causing
build failures on systems without Cairo installed.
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@jserv jserv merged commit b7af724 into main Oct 17, 2025
9 checks passed
@jserv jserv deleted the fix-tooledit branch October 17, 2025 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants