SVG tests with CAD import VCL - problem with texts

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
RPIEL
Posts: 1
Joined: 26 Jul 2006, 17:34

SVG tests with CAD import VCL - problem with texts

Post by RPIEL » 26 Jul 2006, 17:35

Hi,

I downloaded the demo version of cad import vcl.
I need to read, display and print some pictures in svg format wich come from a database.

I made two tests :
The first test was on a simple svg file built with Inkscape. The file contained a draw and a text. Both the viewer and the Import demo where used to test it.
The second test was with a database of pictograms (in SVG format) that I need to use in an application. Some pictograms contain some text. I used the TsgSVGImage class and the loadFromStream method.
For each graphics containing text these texts were not correctly read and displayed. In place there were a rectangle.
What is wrong ?
I really need a tool like CAD Import VCL but I have to be sure it will work for my purpose.

Thank you by advance,

Rйgis PIEL

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 26 Jul 2006, 19:11

Everything has to work fine.
Your SVG files are opened by our demo application correctly (demo applications use LoadFromFile method).
It means that the problem is in the LoadFromStream method. Could you please send us some of the files with such errors.

Igor Tobolov (CADSoftTools support team).

please post questions to the forum or write to support@cadsofttools.com

Post Reply