Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Compiler tries to parse SVG fonts #690

Closed
peuter opened this issue May 14, 2020 · 8 comments
Closed

Compiler tries to parse SVG fonts #690

peuter opened this issue May 14, 2020 · 8 comments

Comments

@peuter
Copy link
Contributor

peuter commented May 14, 2020

since #684 added the svg support I get lots of compiler warnings for all SVG sprites which are usualy used by icon fonts.

Example:

2020-05-14 19:19:58.048 [warn ] resource-manager Cannot get image size of qx_packages/ITISFoundation_qx-osparc-theme_v0_4_13/source/resource/osparc/theme/font/roboto-mono-v6-latin_latin-ext-700italic.svg: TypeError: invalid svg
2020-05-14 19:19:58.048 [warn ] resource-manager Cannot get image size of qx_packages/ITISFoundation_qx-osparc-theme_v0_4_13/source/resource/osparc/theme/font/roboto-mono-v6-latin_latin-ext-regular.svg: TypeError: invalid svg
2020-05-14 19:19:58.048 [warn ] resource-manager Cannot get image size of qx_packages/ITISFoundation_qx-osparc-theme_v0_4_13/source/resource/osparc/theme/font/roboto-v18-latin_latin-ext-700.svg: TypeError: invalid svg
2020-05-14 19:19:58.048 [warn ] resource-manager Cannot get image size of qx_packages/ITISFoundation_qx-osparc-theme_v0_4_13/source/resource/osparc/theme/font/roboto-v18-latin_latin-ext-700italic.svg: TypeError: invalid svg
2020-05-14 19:19:58.048 [warn ] resource-manager Cannot get image size of qx_packages/ITISFoundation_qx-osparc-theme_v0_4_13/source/resource/osparc/theme/font/roboto-v18-latin_latin-ext-italic.svg: TypeError: invalid svg
2020-05-14 19:19:58.048 [warn ] resource-manager Cannot get image size of qx_packages/ITISFoundation_qx-osparc-theme_v0_4_13/source/resource/osparc/theme/font/roboto-v18-latin_latin-ext-regular.svg: TypeError: invalid svg
@hcarsten
Copy link

hcarsten commented Jul 4, 2020

same here, any clue to get along with these errors ?

@hkollmann
Copy link
Member

Done with update of fonts package.
SVG fonts are not supported in any browser. You can just delete them.

@peuter
Copy link
Contributor Author

peuter commented Apr 25, 2021

We use an SVG sprite that also throws this warning, so deleting all SVGs that are no simple images is not a feasible solution here.
An exclude-filter for the ImageLoader would be better.

Unfortunately I cannot re-open this issue.

@hkollmann
Copy link
Member

hkollmann commented Apr 25, 2021 via email

@peuter
Copy link
Contributor Author

peuter commented Apr 26, 2021

Please Open a new On my way!

Ok, was wolltest Du damit sagen, bevor die Auto-Korrektur des iPhones diesen schönen Satz daraus gebaut hat?

@hkollmann
Copy link
Member

Sorry.
Bitte einen neuen Eintrag generieren. Was zeichnet die Sprites aus?

@johnspackman
Copy link
Member

Hi both, please can we keep to English? I think we have it as a policy somewhere because it's the only language we can all read

@peuter
Copy link
Contributor Author

peuter commented Apr 26, 2021

We can continue here #813

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants