Open PeterPanino opened 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.
"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):
So, why the thumbnail is not displayed correctly on my machine?
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
I use an advanced graphics library that can render all SVG files perfectly:
Try it out!
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:
SVG.zip