Skip to content

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

Merged
mateoconlechuga merged 1 commit intomasterfrom
fontlib_setfont
Apr 23, 2026
Merged

Have fontlib_SetFont ignore line spacing with a 100% chance instead of a 99.6% chance.#795
mateoconlechuga merged 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
@mateoconlechuga mateoconlechuga merged commit d8fc5cf into master Apr 23, 2026
9 checks passed
@mateoconlechuga mateoconlechuga deleted the fontlib_setfont branch April 23, 2026 20:44
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.

2 participants