Hi Johan,
you fixed it ;) I could build 10755 without errors.
Thx,
UweSch
Am 29.11.2011 22:50, schrieb Johan Engelen:
Fixed in rev. 10755. Ciao, Johan
On 29-11-2011 21:59, Uwe Schöler wrote:
Hi,
on windows vista I get the two following error messages while building R10754:
Make error line 289: problem compiling: src/attribute-rel-css.cpp: In constructor 'SPAttributeRelCSS uteRelCSS()': src/attribute-rel-css.cpp:111:28: error: 'WIN32_DATADIR' was not declared in this scope src/attribute-rel-css.cpp:111:28: error: expected ',' or ';' before string constant src/attribute-rel-css.cpp:122:16: error: expected ';' before string constant
Make error line 289: problem compiling: src/attribute-rel-svg.cpp: In constructor 'SPAttributeRelSVG uteRelSVG()': src/attribute-rel-svg.cpp:72:28: error: 'WIN32_DATADIR' was not declared in this scope src/attribute-rel-svg.cpp:72:28: error: expected ',' or ';' before string constant
Can someone fix it?
Sincerely, UweSch
Am 29.11.2011 12:38, schrieb Tavmjong Bah:
Hi,
I have just checked into trunk some of the fruits of Abhishek's GSOC project to improve Inkscape's SVG output. Abhishek wrote the core routines to which I added a variety of utility functions. This code can result in cleaner and smaller SVG. It does the following things:
For a given element (<rect>,<path>, etc.) it checks:
That all attributes are valid.[1]
That properties are appropriate.[2]
That properties are useful.[3]
What Inkscape does when it finds a problem is controlled by settings under the "SVG output" section of the Inkscape Preferences dialog. For each of the above cases, you can independently:
- Print out warnings to the console (if running Inkscape from the
command line).
- Delete the invalid or not useful items.
In the dialog, you can choose when Inkscape should test the SVG:
- When reading files. (If this option is enabled at start-up,
files Inkscape uses internally like icons.svg will also be checked.)
When editing files. (Mostly useful for debugging Inkscape.)
When writing files.
This code has been test on a variety of SVG files but it will need much broader testing. The default preferences are set to do nothing so as to avoid the risk of damaging files. Please take your favorite SVG files and compare the visual output when the "Remove" and "Writing" boxes are checked in the Inkscape Preferences dialog. Also, compiling the code under Windows and OSX needs to be checked.
Tav
[1] Only elements in the SVG name space are tested.
[2] The SVG specification explicitly allows styling properties such as 'font-family' on most SVG elements (e.g.<rect>) but there a many cases where they are of no use.
[3] A property is useful if it changes an inherited or default value.
All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel