Skip to content

Official 4.8.0 version

Latest

Choose a tag to compare

@carloBarazzetta carloBarazzetta released this 28 Sep 18:43
  • Complete code review of the library, with a new automated Test Suite (DUnitX, Delphi 13) in the Test folder: the ISVG contract is checked against every engine (Image32, SVGMagic, Skia, Direct2D), together with the VCL and FMX components (run Test\run_tests.cmd)
  • Fixed FixedColor ignored when creating disabled icons with TSVGIconVirtualImageList (also with AutoFill, a single icon changed and DisabledOpacity/DisabledGrayScale changed)
  • Fixed stack overflow / random access violation of SVGMagic engine reloading an SVG with nested ids used by <use> (e.g. svg-logo-v.svg)
  • Fixed PreferNativeSvgSupport (Direct2D) configuration: now it compiles and uses the selected engine as fallback
  • Fixed outline icons (fill="none") filled by FixedColor (SVGMagic, Direct2D and "ApplyFixedColorToRootOnly" for all engines)
  • Fixed Skia engine: root color forced to black without FixedColor, Source/SVGText rewritten, wrong Width/Height
  • Fixed Direct2D engine: icon still gray after GrayScale removed, size inherited from the previous SVG
  • Fixed FixedColor = clNone painting icons white (Image32, Direct2D)
  • Fixed Image32 engine: access violation loading an invalid SVG, Clear not clearing the image
  • Fixed TSVGIconImageList: category lost by Add, SaveToFile, ApplyFixedColorToRootOnly not stored into dfm
  • Fixed TSVGIconImage: access violation with a not SVG ImageList, Clear emptying the icon of the ImageList, Assign sharing the SVG
  • Fixed FMX TSVGIconImageList: duplicated icon names, inherited FixedColor/Opacity/GrayScale stored into icons, ApplyFixedColorToRootOnly, Zoom less than 100, LoadFromFiles stopped by a bad file
  • SVGMagic diagnostic log (OutputDebugString) active only with SVGMAGIC_LOG define
  • Delphi 13 projects updated to Delphi 13.2