DiscussionsIssue archiveOCCT:Documentation

Archived issue #0031795

Documentation - OCCDoc_ProcessSvg uses syntax incompatible with Inkscape 1.0

Open CASCADEOCCT:Documentationclosed6 public notes

Search issues

Description

Inkscape 1.0 has changed command-line syntax making OCCDoc_ProcessSvg script incompatible with actual Inkscape releases:
    if { [catch {exec inkscape -z -D --file=$file --export-pdf=$pdffile} res] } {

Steps to reproduce

Not

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri Sep 25 15:23:46 2020 +0300

    0031795: Documentation - OCCDoc_ProcessSvg uses syntax incompatible with Inkscape 1.0
    
    Detect old/new Inkscape version and pass arguments correspondingly.
02Author
Andrey, could you please take a look into proposed change in OCCT branch CR31795?
03Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: abv
Date: Fri Sep 25 20:09:37 2020 +0300

    # correction of Tcl syntax

04Commenter 4
I have reviewed the patch (with minor fix on Tcl syntax pushed as separate commit), however cannot check generation of PDF with SVG images -- it does not work in my environments (even on master). Please check on your side
05Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18085.050000000083 / 18057.60000000009 [+0.15%]
Products
Total CPU difference: 12174.620000000117 / 12124.200000000114 [+0.42%]
Windows-64-VC14:
OCCT
Total CPU difference: 19713.125 / 19772.65625 [-0.30%]
Products
Total CPU difference: 13533.8125 / 13527.921875 [+0.04%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
06Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]