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
This is fixed by 89eb20a but some issues remain, such as #2 and some padding/formatting issues.
The patch is implemented as a custom re-implementation of a Cocos2d which appears to be broken on modern macOS.
I didn't even bother investigating why the function is broken and simply re-implemented it from ground-up using Freetype (which comes with its own set of problems). My re-implementation isn't perfect (far from it), but makes the game usable again.
I experienced an issue with text-rendering on macOS 10.15.7 and the base-game 1.2.3:
Before / After fix:
This function creates a buggy OpenGL texture:
https://github.com/cocos2d/cocos2d-x/tree/cocos2d-x-2.2.6 [probably]
Relevant stack:
This issue is what inspired this project. I also wasn't the first one to experience this issue.
The text was updated successfully, but these errors were encountered: