text quality gone bad in html5

RizbIT

Member
making a simple login form, on windows desktop it looks good, but when compiled to html5 the text and general image quality deteriorates, see image

badcopy.png

the room size is 1920x1080 and the fonts are antialiased and high quality open sans.

Is it cos im using scaling to fit the room to the full browser height using this script:
Code:
var aspect = argument0 / argument1;

if ((argument2 / aspect) > argument3)
    {
    window_set_size((argument3 * aspect), argument3);
    }
else
    {
    window_set_size(argument2, (argument2 / aspect));
    }

if (argument4) window_center();

view_wport[0] = window_get_width();
view_hport[0] = window_get_height();

surface_resize(application_surface, window_get_width(), window_get_height());

so how you improve this?

Also is there a script to help with allowing the user to pinch and zoom the room view?
 
Last edited:
Top