| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Thanks Mark for testing!
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Replaces all hard coded or implicit desktop coordinate usage with
doc2dt multiplication.
New global preference: Interface > Origin at upper left
https://bugs.launchpad.net/inkscape/+bug/170049
|
| |
|
|
|
|
|
| |
This is slightly uglier than a600c6438fef2f4c06f9a4a7d933d99fb054a973
but avoids duplicating strings (which is unnecessary and leaked memory).
It's also closer to what upstream intended with the changes in 0.64.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is a follow-up to 1e31c41a0ef4b0f383d4f9d2941f643ae67ca646.
As it turns out the same issue also applied to bitmap images
embedded in the SVG.
Replacing 'cairo_paint_with_alpha()' -> 'cairo_paint()' prevents
reducing opacity when rendering the bitmap onto a cairo surface.
Opacity should already be properly handled in
CairoRenderContext::popLayer()
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Opacity was applied thrice:
1. when rendering the filter to a pixbuf
(i.e. transparency was baked into the bitmap)
2. when rendering this pixbuf onto a cairo surface
3. when actually rendering the (now doubly opaque) item
Avoid 1. and 2. and only apply opacity once.
Fixed bug:
- https://bugs.launchpad.net/inkscape/+bug/381677
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
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
|