EndlesNights/dnd4eBeta

Foundry v11 : dnd4e 0.4.6 : System SVG does not have width and height defined

Closed this issue · 2 comments

Note: Browsers handle the SVG issue differently. Chrome handles it but Firefox does not. This is upstream of Foundry, and the best way to ensure that it works is to make sure that the SVG itself correctly specifies dimensions as required by Foundry so as to not rely on the browser patching it.

image

Not Forge specific but reported on Forge
https://forums.forge-vtt.com/t/foundry-v11-d-d-4e-and-forge/82456/2

image

Foundry Virtual Tabletop: Version 11 Stable, 11.302
Game System: dnd4e, 0.4.6
Active Modules: 1
Performance Mode: 2

OS: Windows NT 10.0; Win64; x64
Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
GPU: ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0)
Max Texture Size: 16384

No viewed scene

Actors: 0 | Items: 0 | Journal Entries: 0 | Rollable Tables: 0 |
Playlists: 0 | Compendium Packs: 6 | Chat Messages: 2

Likely related to foundryvtt/foundryvtt#9052

Interesting, we had some additional SVGs added a little while back where the height and width defined in the style. But it appears that not all browser can pull the dimensions data from their. Thanks for pointing this out, I'll edit the SVGs and have a fix out in a just a bit.

@EndlesNights Apparently the Dazed icon is having this same issue now? It was loading fine for me on firefox before but now I've got the exact same issue.
image