Open confluence opened 4 years ago
The pixel ratio is now exposed in the frontend. Applying this to the viewport area fixes that problem, but multiple other values also have to be adjusted (e.g. zoom, font size, contour thickness) and the same simple solution (dividing by the ratio value) does not appear to work. Further investigation is required.
Functions which take pixel size parameters should be aware of the device pixel ratio used by the session, so that e.g. if the user resizes the view area to 500px x 500px they will get an image with those exact dimensions, no matter what browser is used by the session. This requires exposing the pixel ratio in the frontend.