Closed svangogh1 closed 3 years ago
Take care of the engine you are using. Into SVGIconImageList.inc you can switch between native TSVG engine or Prefer Direct2D engine. This icon is rendered only with native TSVG Engine, the blank square is visible using Direct2D. You must remove this directive {$DEFINE PreferNativeSvgSupport} to use TSVG engine.
Ah thank you for the reaction. We will look into switching engines.
After upgrading a project from Delphi 10.1 to Delphi 10.4.2 we noticed that the svg text of certain icons was not parsed correctly anymore. It looks like css style classes are ignored. For example the following text produces an icon in 10.1 and a black square in 10.4.2: