You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see in the screenshot, the text itself is rendered correctly, but its outline is not: for ASCII characters it is facing bottom-right, but for UTF8 ones it's top-right.
Is there some way to offset outline for UTF8 characters? The rendered string contains both ASCII and UTF8 characters, and the one naive solution I can see is splitting them into 2 separate strings, check if it is UTF8, and if so, render with y offset, but that just seems inefficient. I render outline with FC_SetSpacing(font_outline, -2). I tried checking mentions of "outline" in source code, but I didn't succeed in finding where the problem at. I also tried different fonts, and it seems that the problem is not font-related. I also tried to render the text via SDL_ttf, but it works there no problem. And I really don't want to switch back. Can someone help, please?
The text was updated successfully, but these errors were encountered:
As you can see in the screenshot, the text itself is rendered correctly, but its outline is not: for ASCII characters it is facing bottom-right, but for UTF8 ones it's top-right.
Is there some way to offset outline for UTF8 characters? The rendered string contains both ASCII and UTF8 characters, and the one naive solution I can see is splitting them into 2 separate strings, check if it is UTF8, and if so, render with y offset, but that just seems inefficient. I render outline with
FC_SetSpacing(font_outline, -2)
. I tried checking mentions of "outline" in source code, but I didn't succeed in finding where the problem at. I also tried different fonts, and it seems that the problem is not font-related. I also tried to render the text via SDL_ttf, but it works there no problem. And I really don't want to switch back. Can someone help, please?The text was updated successfully, but these errors were encountered: