We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Vectorize text - font issue

We are evaluating the SVG library. We are dynamically adding text to an SVG. Now, we want to vectorize the text so, it’s “embedded” in the graphic.

Quickly, I tried the online vectorize and the font was not honored. Can I expect this problem from the .NET library too. I will be test .NET in a few days but, thought I’d save time if somebody could answer.

@crich04

Can you please share a sample SVG for our reference in which you want to vectorize the text? We will test the scenario in our environment and address it accordingly.

The SVG
https://dl.source360group.com/downloads/crich/svg/svg-with-live-text.svg

A screenshot of SVG

Vectorized using online Aspose service
https://dl.source360group.com/downloads/crich/svg/vectorized.svg

Screenshot of vectorized svg

@crich04

Please find the SVG that we vectorized in our environment while using Aspose.SVG for .NET and the below code snippet:

var doc = new Aspose.Svg.SVGDocument(dataDir + "svg-with-live-text.svg");
var options = new Aspose.Svg.Saving.SVGSaveOptions();
options.VectorizeText = true;
doc.Save(dataDir + "svg-with-live-text_true.svg", options);

svg-with-live-text_true.zip (24.8 KB)

This looks great. Thank you. We will try with our evaluation version and then, make a purchase if we can verify.

Thanks,

@crich04

Sure, take your time to evaluate the API. You can also use a free 30-days temporary license to evaluate the API without any restrictions. Feel free to let us know in case you face any issues.