| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
pref optional to scale dashes on stroke scale
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
The optional argument "--pdf-page N" causes Inkscape to import page number N
from the pdf document specified on the command line. This functionality is
already available when importing via the GUI, but not when batch processing.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
This reduces the boilerplate required to add a new element to a
container.
|
| |/
|
|
|
| |
This makes it clearer whether an integer or a boolean has to be passed
in this specific call.
|
| | |
|
| |
|
|
| |
This renames most C <*.h> includes into C++ <c*> includes.
|
| |
|
|
|
| |
This replaces empty constructors and destructors with the default
keyword.
|
| |
|
|
|
| |
This replaces all NULL or 0 with nullptr when assigned to or returned as
a pointer.
|
| |
|
|
|
| |
This adds the override specifier on all methods which override a virtual
method, whether they were already virtual or missing this specifier.
|
| |
|
|
|
|
| |
replace unused includes with one that is actually used
Signed-off-by: Jan Palus <atler@pld-linux.org>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Whilst working on the Reproducible Builds effort [0], we noticed
that inkscape generates output that is not reproducible:
$ cp /usr/share/icons/gnome/scalable/places/debian-swirl.svg .
$ inkscape -z debian-swirl.svg --export-width=25 --export-pdf=a.pdf
$ sleep 1
$ inkscape -z debian-swirl.svg --export-width=25 --export-pdf=b.pdf
$ sha1sum *.pdf
bee6f300a8fce628e94febd0700fa97f90aa7b37 a.pdf
32f26595ec1957c7e714174e007c452f6cb5dd79 b.pdf
This is affecting (at least) the "debian-astro" package:
│ │ │ ├── ./usr/share/pixmaps/Debian-Astro-logo.pdf
│ │ │ │ ├── pdftk {} output - uncompress
│ │ │ │ │ @@ -357,15 +357,15 @@
│ │ │ │ │ <<
│ │ │ │ │ /Type /Catalog
│ │ │ │ │ /Pages 1 0 R
│ │ │ │ │ >>
│ │ │ │ │ endobj
│ │ │ │ │ 6 0 obj
│ │ │ │ │ <<
│ │ │ │ │ -/CreationDate (D:20180315093948-12'00)
│ │ │ │ │ +/CreationDate (D:20190418180346+14'00)
│ │ │ │ │ /Producer (cairo 1.15.10 \(http://cairographics.org\))
│ │ │ │ │ >>
│ │ │ │ │ endobj xref
After applying this patch (which uses SOURCE_DATE_EPOCH [1]):
$ export SOURCE_DATE_EPOCH=1521324801
$ […]
$ sha1sum *.pdf
620bf8469600ab744ffa6fcc3eee4c6845f4f159 a.pdf
620bf8469600ab744ffa6fcc3eee4c6845f4f159 b.pdf
This was originally filed in Debian as #893314 [2].
[0] https://reproducible-builds.org/
[1] https://reproducible-builds.org/specs/source-date-epoch/
[2] https://bugs.debian.org/893314
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
|
| | |
| |
| |
| | |
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
| |
Via `codespell` and `grep`
|
| |
|
|
| |
Louette). Patch 2/2
|
| |
|
|
| |
Louette). Patch 1/2
|
| |
|
|
| |
A lot of header clean-up.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- export of .odg files was completely broken on Windows as
"documentUri = Inkscape::URI(filename);" always failed
(Windows paths are never valid URIs because of '\')
- Linked images did not seem to be working on any OS
(probably regression in 6f844ef457690c841b0be91d70b1e54b61c04812)
I assume support for linked images is still sketchy but seems to
work in the most common cases; support for embedded images seems
to be non-existent, though.
Fixed bug:
- https://bugs.launchpad.net/inkscape/+bug/1654034
|
| |
|
|
|
|
|
|
|
| |
Replace "\stackrel" with "\tabular" to achieve constant line spacing.
The former varies line spacing depending on the content of the line
(i.e. an line containing "-" will have a very small height)
Add basic support for line-height.
(currently only the top level text element is considered)
|
| |
|
| |
Found via `codespell`
|
| |
|
|
|
| |
Fixed bug:
- https://bugs.launchpad.net/inkscape/+bug/1739497
|
| |
|
|
|
|
| |
As the parser seems to wrap newlines into their own tspan which has
the same style as the preceding tspan the latex-text renderer
produced output like "\texbf{\\}" which broke compilation in LaTeX
|
| |
|
|
|
|
|
|
|
|
|
| |
Wrap text in "\shortstack" to allow for newlines using "\\".
The output extension already produced those but they are ignored
in a "\smash" environment.
Patch by Michael Jäntsch
Fixed bug:
- https://bugs.launchpad.net/inkscape/+bug/771959
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This also fixes an issue with multipage PDF output where an empty
string would have been assumed to require emission of the previous
page when in fact the CairoRenderer does not produce a new page in
this case resulting in another facet of
https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/1417470
Invisible characters might still cause this issue but it seems to be
a very unlikely scenario and there's no way to know this without
actually rendering the glyphs (which seems to be overkill here)
|
| |
|
|
|
|
| |
It happen often that the rendering was interrupted early but the
final "cairo_surface_status" claims success which results in
incomplete output but no user-visible warning.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous implementation [1] allowed to sandwich text between
graphical objects by outputting multiple (partial) PDF pages which
are then stacked in the final document to reveal the full image.
However this code failed for clipped/masked/transparent objects
as those are treated specially by the renderer resulting in missing
pages in the output causing [2].
The attempt to workaround this issue which was committed in
e4dea66a338824037b6c35b262aa8db4004b6581 (now reverted)
fixed document creation in LaTeX by inserting blank pages but did
not actually fix the issue with clipped/masked/transparent objects
typically resulting in a single page with the full image and all
text put on top.
This commit resolves the underlying issue, making the former
workaround unnecessary and allowing for proper overlaying of text
and arbitrarily clipped/masked/transparent objects
Fixed bugs:
- https://bugs.launchpad.net/inkscape/+bug/771957 [1]
- https://bugs.launchpad.net/inkscape/+bug/1417470 [2]
|
| |
|
|
| |
This reverts commit e4dea66a338824037b6c35b262aa8db4004b6581.
|