Hi,
We are giving most of font-size in REM but for IE Browser it is not excepting for GOJS Element.
Can you suggest any alternative for same.
Please Find Below code for your reference:
GoJS automatically takes the screen resolution (pixels per inch) into account. The actual window size doesn’t matter – only the size of the HTMLDivElememt that is hosting the Diagram controls the size of the viewport.
You or the user can control the Diagram.scale, which is independent of the page zoom. You could also set Diagram | GoJS API
We are using same font across project.
And GoJs Diagram Screen is not loaded until some is navigating to that page.
And on very first page I have verified that font is loaded.
Meanwhile I will look into CanvasRenderingContext2D.fillText as well
It appears that using a rem font size does not work on HTML Canvases in both Internet Explorer and Edge. We cannot do anything about this unfortunately.