You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the D2DSVGFactory unit, the required Windows version (Windows 10 Creators Update) is queried at the very end (function WinSvgSupported). In older Delphi versions, e.g. 10 Seattle, TOSVersion returns an incorrect build number (always 0), so that the query does not work, see here.
Instead of TOSVersion, the functions from my SysInfo unit (see attached file) can be used at this point: Result:=CheckOSVersion(10,0) and CheckOSBuild(15063)
Thank you for your feedback, D2DSVGFactory was created by @pyscripter, I don't use it because the SVG support is very limited... Windows SVG Support
I'll fix as soon as possible...
To @jrathlev
By the way, why use D2DSVGFactory as the default, when Image32 is superior in both performance and SVG support?
Look at this page: https://ethea.it/docs/svgiconimagelist/SVG-Viewer-(VCL).html
Do you have some svg that Image32 cannot render properly?
Image32 is the best "native" Delphi implementation for SVG, at the moment (and no dlls like Skia4Delphi are needed)
In the D2DSVGFactory unit, the required Windows version (Windows 10 Creators Update) is queried at the very end (function WinSvgSupported). In older Delphi versions, e.g. 10 Seattle, TOSVersion returns an incorrect build number (always 0), so that the query does not work, see here.
Instead of TOSVersion, the functions from my SysInfo unit (see attached file) can be used at this point:
Result:=CheckOSVersion(10,0) and CheckOSBuild(15063)
SystemInfo.zip
The text was updated successfully, but these errors were encountered: