| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Following the 1.8.10 release.
|
|
|
|
| |
For the 1.8.10 release, of course.
|
|
|
|
| |
Summarizing all bug fixes (as well as I could).
|
|
|
|
|
|
|
| |
The _GNU_SOURCE macro needs to be defined first, (so that now included
file includes any C library header (such as stdio.h) without this
definition in place. Without this fix, "make check" in the perf
directory would fail.
|
|
|
|
|
|
| |
Previously it would miss the first character causing the space glyph to
return 0x00A0 instead of 0x0020.
(cherry picked from commit f3b3a5c43f247f3e9019fa6c1fd2abb3b00dd9ea)
|
|
|
|
|
|
|
|
| |
In order to be consistent with the semantics of cairo_arc() using a
radius of 0 should simply degenerate into a line-to.
Reported-by: Benjamin Berg
(cherry picked from commit a0ea0b63fdd38a73d6696da5cd4800d9a7289240)
|
|
|
|
|
|
|
|
| |
include it
Type 1 fonts embedded in PDF may omit the fixed-content portion of the
font that contains the "cleartomark" operator.
(cherry picked from commit cee3a6169bdf7f64c126c487b443dcb7a9f0586a)
|
|
|
|
|
|
| |
Some fonts may contain additional PostScript code after the
cleartomark.
(cherry picked from commit d962d6bae2681ea1f3c9533a83c8902d76e81c6a)
|
|
|
|
|
|
|
|
|
|
|
| |
Type 1 fonts embedded in PDF have the the encrypted portion in binary
but the existing check for binary only works for Type 1 fonts in PFB
format.
Add an additional check based on the first 4 characters of eexec data.
The Type 1 specification gurantees that at least one of the first 4
bytes of ciphertext is not an ASCII Hex character.
(cherry picked from commit ac59c7580894fc5fd424f7f6f8c1532d15048566)
|
|
|
|
|
|
|
|
|
|
|
|
| |
At the end of the private dictionary a new line is appended so that
the trailing zeros will not exceed 80 columns. In hex mode (used for
PS embedding) extra white space is harmless as it is ignored when
parsing the ascii hex encoded data. But in binary mode (used for PDF
embedding) the new line must not be added as it corrupts the binary
data.
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/419143
(cherry picked from commit a4a59be600cbe17f43afa20422f9d05f3a5d5b52)
|
|
|
|
|
| |
The OpenBSD png package installs only libpng.pc and not
any of libpng{13,12,10}.pc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cairo should include the contents of subwindows when using a Window as a
source but will clip to subwindows when using a Window as a destination.
This can be set using the GC's subwindow_mode.
XCopyArea and XFillRectangle can however only use one GC for both source
and destination. Cairo's mode is set to (the default) ClipByChildren.
This means that copying from a Window is broken, so we only allow the
optimization when we know that the source is a Pixmap.
The performance impact of this change has not been tested. It should be
small, as the code will use XRender otherwise.
If it turns out to be a bigger impact, the optimizations could be
improved by doing a two-step copy process:
1) Copy to an intermediate Pixmap with IncludeInferiors
2) Copy to the destination with ClipByChildren
(potentially omitting one one of the steps if source or destination are
known to be Pixmaps).
references:
commit 0c5d28a4e5ce5e4dd72c0f416ce5e960e92b808b
https://bugs.freedesktop.org/show_bug.cgi?id=12996
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug 23067 -- using clear drawing operator crashes printing
http://bugs.freedesktop.org/show_bug.cgi?id=23067
Here we were hitting an assert within the paginated surface after creating
a zero sized fallback image, due to the paginated surface being created
with an x fallback resolution of 0 dpi (by
_gtk_printer_create_cairo_surface(), gtk/gtkprinter.c:924).
Avoid the bug by guarding against bad input to
cairo_surface_set_fallback_resolution() which also allows us to identity
the invalid caller.
|
|
|
|
|
|
|
| |
We need to translate the path in order to compensate for the device offset
applied to the group surface when pushing and popping. (The path is
transformed to device space on creation, and so needs recomputing for the
new device.)
|
|
|
|
|
|
|
|
|
| |
When cairo_curve_to happens to start a new subpath (e.g., after a call
to cairo_new_sub_path()), it also needs to update the last_move_point.
Otherwise the new current point after a close_path() will be at an
unexpected position.
Therefore, call _cairo_path_fixed_move_to() explicitly.
|
| |
|
|
|
|
| |
Release time!
|
|
|
|
| |
More font change fallout?
|
| |
|
|
|
|
| |
It's now been a fortnight since I've started this release process...
|
| |
|
|
|
|
|
| |
OS X doesn't support ATSUI in 64 bit so don't include the cairo ATSUI
API in that case.
|
|
|
|
|
|
|
|
|
| |
If GetGlyphOutlineW(GGO_METRICS) fails to retreive the metrics for the
specified glyph it returns GDI_ERROR. Like ft, do not interpret this as a
fatal error but just mark the glyph as empty.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20255
Bug 20255 -- cairo_scaled_font_glyph_extents breaks with invalid glyph id
|
|
|
|
|
|
|
|
| |
_font_map_release_face_lock_held() was being called unconditionally during
_cairo_ft_font_reset_static_data(). This presents two problems. The first
is that we call FT_Done_Face() on an object not owned by cairo, and the
second is that the bookkeeping is then incorrect which will trigger an
assert later.
|
| |
|
|
|
|
| |
Missed the conversion of row from char to int.
|
|
|
|
| |
Correct the image conversion failures on big-endian architectures.
|
|
|
|
|
|
| |
Remove extraneous markup from program-listing.
https://bugs.freedesktop.org/show_bug.cgi?id=20441
|
|
|
|
|
| |
Fix conflicting sentence as pointed out by
https://bugs.freedesktop.org/show_bug.cgi?id=20183
|
|
|
|
|
| |
Correct parameter reference as pointed out by
https://bugs.freedesktop.org/show_bug.cgi?id=20182
|
|
|
|
|
| |
Remove duplicate 'with' as pointed out by
https://bugs.freedesktop.org/show_bug.cgi?id=20180
|
|
|
|
|
| |
Several typographical errors were pointed out in
https://bugs.freedesktop.org/show_bug.cgi?id=20154
|
| |
|
|
|
|
|
|
|
|
|
| |
As reported in https://bugs.freedesktop.org/show_bug.cgi?id=19283, the
fallback freetype version compare is broken inside the configure script as
the $1-$3 arguments are interpreted as the script is constructed. To avoid
making that awk comparison any more complicated, we import a version compare
from the autoconf archives - such that we have a reusable macro for the
furture.
|
|
|
|
| |
A couple of minor differences with 8.64 vs 8.62
|
|
|
|
| |
Smells like a font change...
|
|
|
|
| |
Update to reflect current poppler rendering misbehaviour.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug 21706 -- zombie ft_font_face / ft_unscaled_font mutual
referencing problems
[http://bugs.freedesktop.org/show_bug.cgi?id=21706]
There can be more than one zombie font_face belonging to an unscaled_font,
but only the first is destroyed. This leaks the client's FT_Face
(and associated font data) as release of the FT_Face depends on release
of the font_face.
(The reason why Firefox ends up with two different font_faces for one
unscaled_font is that load_flags for faces with artificial oblique have
FT_LOAD_NO_BITMAP set.
https://bugzilla.mozilla.org/show_bug.cgi?id=486974)
Also it's possible for _cairo_ft_font_face_create to pull out a zombie
font_face from the unscaled_font, which would crash
_cairo_ft_font_face_scaled_font_create, as that expects non-null
font_face->unscaled (if !font-face->pattern).
|
| |
|
|
|
|
|
| |
The bounding box of the text is rounded to the nearest pixel boundaries,
so therefore the test must accept a similar level of imprecision.
|
|
|
|
| |
Update the macros to reflect the current version of memfault.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Truc Troung reported that the behaviour of
cairo_set_tolerance()/cairo_get_tolerance() was inconsistent with the
documentation, i.e. we failed to mention that the tolerance would be
restricted to the smalled fixed-point value.
Add a sentence to the documentation that describes the restriction without
mentioning what that is... Hopefully that is sufficient detail to
accommodate the reporter, without exposing internal implementation details.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=20095
Bug 20095 - The cairo_set_tolerance() function behavior is inconsistency
with the spec
|
|
|
|
|
|
|
|
|
|
| |
As pointed out by Truc Truong,
cairo_image_surface_create_from_png_stream() cannot return NULL and so the
documentation was incorrect.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20075
Bug 20075 There is a misprint in the spec for
cairo_image_surface_create_from_png_stream() function
|
|
|
|
|
|
| |
empty extents.
This fixes the clip-all test case crashing for me.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a matrix was something like [0 .000001 0, .000001 0 0] the old code would
assume that xx and yy were greater than 0 and turn the nearly degenerate matrix
into an actual degenerate one. This caused things to blow up later on. Now we
check that our nearly rectangular matrices are not nearly degenerate, and let
the nearly degenerate ones fall through to the non-rectangular path.
Note: I'm not sure why NEARLY_ZERO(d) is fabs(d) < 1/65536 instead of some
other value. Hopefully, it's a useful definition.
This problem was found by a test case attached to:
https://bugzilla.mozilla.org/show_bug.cgi?id=467423
|
| |
|
| |
|
|
|
|
| |
In preparation for the next stable release.
|
|
|
|
| |
Add the historical blurb for 1.8.6.
|
|
|
|
| |
git-1.6 moved all the subcommands out of the PATH so update our usage.
|