Skip to content

Add fontlib_LoadFont to replace fontlib_SetFont#808

Draft
ZERICO2005 wants to merge 1 commit into
masterfrom
fontlib_loadfont
Draft

Add fontlib_LoadFont to replace fontlib_SetFont#808
ZERICO2005 wants to merge 1 commit into
masterfrom
fontlib_loadfont

Conversation

@ZERICO2005

Copy link
Copy Markdown
Contributor

No description provided.

@ZERICO2005 ZERICO2005 added the lib/fontlibc Issues related to the font rendering library label Jun 21, 2026
@ZERICO2005 ZERICO2005 requested a review from drdnar June 21, 2026 23:01
Comment thread src/fontlibc/fontlibc.h
* unsigned char baseline;
* fontlib_font_t *my_font = fontlib_GetFontByStyle("FONTPACK", 12, 12,
* FONTLIB_NORMAL, FONTLIB_NORMAL, FONTLIB_SERIF, 0);
* if (!my_font || !fontlib_SetFont(my_font))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Was the previous prototype fontlib_SetFont(void*)? If so that means really old code will not be aware of the extra parameter

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