Bug Bigger font for mobile decices

blockypixels

New member
Joined
Sep 12, 2017
Messages
31
the built in font is WAY to small for phones

I cant make out the letters on my iphone so DrawText() is only useful for desktops.

The font needs to be twice the current size.

Maybe a SetFontSize command ? could be very useful.
 

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
I also noticed that and workaround with Print for debugging and Jungle's font module for real game fonts of 2 sizes - one for >= 1900 width screens and one for smaller ones.
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
2,815
How about using the wonderful ability to scale before you draw text? Works wonders i think :D
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
2,815
I also noticed that and workaround with Print for debugging and Jungle's font module for real game fonts of 2 sizes - one for >= 1900 width screens and one for smaller ones.
The next update brings real bitmap font drawing with kernel support. To both, mojo and mojo2
 

blockypixels

New member
Joined
Sep 12, 2017
Messages
31
Do
How about using the wonderful ability to scale before you draw text? Works wonders i think :D

Does work upscaling a small font for a retina display , just all fussy and gives me headaches looking at it, the font needs to be hughe to see it on a retina display the current font is about 1.5mm high, unreadable
 

Darkhog

New member
Joined
Nov 10, 2017
Messages
43
Well, you could just make your own custom font (which you should do anyway, because frankly default font for Mojo, both, is awful and usable only for debug stuff)

This way it would look better as you can make font as big as you want. You can use free tools like CBFG, Littera (not sure if it would work with Cerberus) or BMFont to create custom bitmap font for your game from ordinary TTF fonts.
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
2,815
Well, you could just make your own custom font (which you should do anyway, because frankly default font for Mojo, both, is awful and usable only for debug stuff)
That is what it was intended for anyway.

This way it would look better as you can make font as big as you want. You can use free tools like CBFG, Littera (not sure if it would work with Cerberus) or BMFont to create custom bitmap font for your game from ordinary TTF fonts.

Don't worry, I know how to create fonts. I just thought I might so bold to ask if he can provide something too. But nevermind, over time this bug will be fixed.
 
Last edited:
Top Bottom