Does SDL TTF purposely render non-bold at small sizes?

I’m rendering text to a window with the following steps:

font = TTF_OpenFont(path, size)

TTF_SetFontStyle(font, C.TTF_STYLE_BOLD)

TTF_RenderText_Blended(font, “hello world”, 0, black)

When size is >= 10 this works fine, but when size is < 10 the text is not bold, it looks identical to the output with the TTF_SetFontStyle call removed. The font I’m using is Noto Sans.

Does SDL TTF purposely do this to avoid the text becoming illegible?

1 Like