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
I know this has also been an issue with android. the freetype submodule just doesn't work very well outside the core platforms. With pygame.font adding new harfbuzz features allowing support for new languages - moving back to pygame.font is a priority.
The text was updated successfully, but these errors were encountered:
Since porting is mostly a font issue for web and download font size too is also an issue for mobile connections.
i'd suggest to make a separate font loader and use "fonts packs" for the 4 letters code given to set_script
i think making a "pygame.i18n" module would be benefecial to everyone : and pygame_gui is the ideal sandbox for making that happen.
i18n would:
-download a font pack for a code [async]
-preload all localized string ( maybe download them too ) [async]
if success:
-set the script
-monkey patch font.render to use a bidi algo.
else:
stay on C locale.
See: pygame-web/pkg-porting-wasm#1
I know this has also been an issue with android. the freetype submodule just doesn't work very well outside the core platforms. With pygame.font adding new harfbuzz features allowing support for new languages - moving back to
pygame.font
is a priority.The text was updated successfully, but these errors were encountered: