Skip to content

Have fontlib_SetFont ignore line spacing with a 100% chance instead of a 99.6% chance.#795

Open
ZERICO2005 wants to merge 1 commit intomasterfrom
fontlib_setfont
Open

Have fontlib_SetFont ignore line spacing with a 100% chance instead of a 99.6% chance.#795
ZERICO2005 wants to merge 1 commit intomasterfrom
fontlib_setfont

Conversation

@ZERICO2005
Copy link
Copy Markdown
Contributor

@ZERICO2005 ZERICO2005 commented Apr 21, 2026

See discussion:
#754
TL:DR fontlib_SetFont ignores flags due to a bug and does the equivalent of fontlib_SetFont(font, FONTLIB_IGNORE_LINE_SPACING) 99.6% of the time.

We are currently still drafting fontlib_LoadFont which will replace fontlib_SetFont. For now, we should at least document the issue for the users, and ensure that the line spacing is ignored with a 100% chance instead of a 99.6% chance.

@ZERICO2005 ZERICO2005 requested a review from drdnar April 21, 2026 20:45
@ZERICO2005 ZERICO2005 added the lib/fontlibc Issues related to the font rendering library label Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib/fontlibc Issues related to the font rendering library

Development

Successfully merging this pull request may close these issues.

1 participant