SharpVectors icon indicating copy to clipboard operation
SharpVectors copied to clipboard

missing text in converter result (SharpVectors.Converters.FileSvgReader.DrawingGroup)

Open aaronnottbeck opened this issue 3 years ago • 2 comments

i am trying to convert SVGs to a XAML DrawingGroup using the above Converter. Sometimes text elements wont get transformed into the result.

Sample: Excel_Export.svg - text gets converted RIB_Import_DataFromTXT.svg no text converted test.xaml.txt result xaml dictionary

I am using https://github.com/BerndK/SvgToXaml to convert the SVGs. I debugged the code and it seems hat the error occures in the SharpVectors code.

test.xaml.txt Excel_Export RIB_Import_DataFromTXT

aaronnottbeck avatar Sep 02 '22 06:09 aaronnottbeck

@aaronnottbeck OK, your SVG test file is embedded in the post. The test result is shown below and there seems to be no problem in SharpVectors.

test1

If you want the BerndK/SvgToXaml style ResourceDictionary output, it is recently added to the SharpVectors. Either use the library directly,ResourceSvgConverter, or use the WpfTestResourceSvg sample.

paulushub avatar Sep 02 '22 07:09 paulushub

thank you for testing - i'll take a look on WpfTestResourceSvg

aaronnottbeck avatar Sep 02 '22 07:09 aaronnottbeck