EtheaDev / SVGShellExtensions

Shell extensions for SVG files (Preview Panel, Thumbnail Icon, SVG Editor)
Apache License 2.0
131 stars 11 forks source link

Thumbnails of specific SVGs not shown in File Explorer #18

Open PeterPanino opened 2 weeks ago

PeterPanino commented 2 weeks ago

I have some SVG files showing an Emoji character (see attachment). Although they are displayed perfectly in a browser, these SVG thumbnails are shown with strange symbols in File Explorer when using the (otherwise excellent) Ethea SVGShellExtensions:

image

SVG.zip

carloBarazzetta commented 2 weeks ago

They are a "strange" SVG, because they draw a Font Character: "SegoeUIEmoji". The browser is capable to use this font, but if you want to use them into Delphi you must download and installa the font in windows... the you must remember to deploy the same font on target machine of your Delphi app... In my opinion is not a good idea... check if the SegoeUIEmoji font provide also native SVG files to draw the same emoji.

PeterPanino commented 2 weeks ago

"but if you want to use them into Delphi you must download and installa the font in windows..."

But the SegoeUIEmoji font IS indeed installed on my Windows 11 machine (like on all systems with a current OS):

image

So, why the thumbnail is not displayed correctly on my machine?

carloBarazzetta commented 2 weeks ago

OK, in this case I don't know why Image32 library (that I use to render svg) cannot render this specific svg file. Please open an issue in this project: https://github.com/AngusJohnson/Image32

PeterPanino commented 2 weeks ago

I use an advanced graphics library that can render all SVG files perfectly:

https://www.imageen.com

Try it out!