commit 05b63e807bb5f86f600283df1c3ca554778d90fa Author: Bryce Harrington AuthorDate: Tue Jun 13 18:39:23 2017 -0700 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:53 2017 -0700 Release 1.14.10 NEWS | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cairo-version.h | 2 +- 2 files changed, 58 insertions(+), 1 deletion(-) commit ff7ac087cbae9c2a71dc7b1e4cad5898755151b3 Author: Bryce Harrington AuthorDate: Thu Jun 15 14:45:11 2017 -0700 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:46 2017 -0700 RELEASING: Sync doc from trunk RELEASING | 125 ++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 90 insertions(+), 35 deletions(-) commit c467f458b14196e699ff104f22b1531b67ba919e Author: Adrian Johnson AuthorDate: Thu Jun 15 20:53:29 2017 +0930 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:46 2017 -0700 Fix off by one check in cairo-image-info.c https://bugs.freedesktop.org/show_bug.cgi?id=101427 src/cairo-image-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e2ab1c608fcb54d86ac30852aec4cac36ef1e577 Author: Adrian Johnson AuthorDate: Thu Mar 2 19:14:04 2017 +1030 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:46 2017 -0700 pdf-operators: fix bug in line wrapping patch by jmmorlan@sonic.net https://bugs.freedesktop.org/show_bug.cgi?id=100029 src/cairo-pdf-operators.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d48dd8575d4f49008d6b2c8057ec9f50e4e4f1e2 Author: Adrian Johnson AuthorDate: Sun Jul 17 21:33:12 2016 +0930 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:46 2017 -0700 truetype: reverse cmap search should end when 0xffff- 0xffff range reached src/cairo-truetype-subset.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit 0b4eda23b0d7d4487352a82405b302f028feb11f Author: Adrian Johnson AuthorDate: Sun Jul 17 21:19:37 2016 +0930 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:46 2017 -0700 pdf: Don't fail subsetting if unable to convert utf8 to utf16 If the unicode came from the font, don't fail if utf8_to_utf16 fails. src/cairo-pdf-surface.c | 32 +++++++++++++++++++------------- src/cairo-scaled-font-subsets.c | 6 +++++- 2 files changed, 24 insertions(+), 14 deletions(-) commit 0aafba93f796758aebb2f8c3b4585b049dc0c30c Author: Adrian Johnson AuthorDate: Fri Jul 15 16:24:03 2016 +0930 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:46 2017 -0700 ps: flush ASCII85Decode file after use If the image operator does not read all the ASCII85 data, the PS interpreter will try to execute the next byte of unread data. Define our own image operator that calls flushfile (reads until end of file) on the filter after drawing the image. https://bugs.freedesktop.org/show_bug.cgi?id=84811 src/cairo-ps-surface.c | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) commit 55f218e8458896616619695a298fa3887026fefd Author: Adrian Johnson AuthorDate: Sat Jun 18 13:16:57 2016 +0930 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:46 2017 -0700 ft: set font size to em size when retrieving unhinted metrics fixes text-unhinted-metrics test src/cairo-ft-font.c | 142 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 91 insertions(+), 51 deletions(-) commit 834bab9d1c72daa3fa677f8328d203cd713350db Author: Adrian Johnson AuthorDate: Sun Sep 27 08:27:53 2015 +0930 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:46 2017 -0700 scaled-font-subsets: if glyph 0 used for rendering, remap to different index Some broken pdfs use glyph 0 in embedded fonts for rendering instead of .notdef. The cmap we use for embedding latin fonts does not allow rendering glyph 0. Ensure if glyph 0 is used, it is mapped to a non 0 glyph in the subset. Bug 89082 src/cairo-scaled-font-subsets-private.h | 5 ++ src/cairo-scaled-font-subsets.c | 115 +++++++++++++++++++++++++++----- 2 files changed, 103 insertions(+), 17 deletions(-) commit 0245756c214506a3aa9de550a3c7b1e4702be7cb Author: Adrian Johnson AuthorDate: Mon Sep 7 22:20:08 2015 +0930 Commit: Bryce Harrington CommitDate: Thu Jun 15 14:54:46 2017 -0700 cff: opentype fonts always use gid to lookup glyph Bug 91902 src/cairo-cff-subset.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 2f830badefa8287e85b5ed8a670a827e133241f5 Author: Uli Schlachter AuthorDate: Tue Mar 7 10:05:43 2017 +0100 Commit: Bryce Harrington CommitDate: Tue Jun 13 18:35:13 2017 -0700 xlib: Call XSync() before ignoring errors The code here wants to ignore errors for a specific request. To do so, it sets a no-op error handler. However, it could happen that some previous request caused an error and this error will also be ignored by the no-op error handler. To avoid this, call XSync() before setting the error handler. This makes sure that all pending errors are handled. Signed-off-by: Uli Schlachter Reviewed-by: Chris Wilson src/cairo-xlib-surface.c | 2 ++ 1 file changed, 2 insertions(+) commit 2d47ccbc012d46818e42b193acd81f0a53911f5c Author: Debarshi Ray AuthorDate: Thu Dec 15 12:41:39 2016 +0100 Commit: Bryce Harrington CommitDate: Tue Jun 13 18:35:08 2017 -0700 doc: Fix the units used by cairo_surface_create_similar_image Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=99094 Reviewed-by: Bryce Harrington src/cairo-surface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 80a0c20de2c2286cc37506a39667378a4ddfea86 Author: Debarshi Ray AuthorDate: Thu Dec 15 12:50:13 2016 +0100 Commit: Bryce Harrington CommitDate: Tue Jun 13 18:35:02 2017 -0700 doc: Clarify when the device scale is inherited and when it isn't In short, cairo_surface_create_similar inherits it, while cairo_surface_create_similar_image doesn't. It wasn't obvious without reading the code or explicitly checking the device scale of the new surface. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=99094 Reviewed-by: Bryce Harrington src/cairo-surface.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit eb82b4076d858587aa492b56cf3fbad2285d9d06 Author: Uli Schlachter AuthorDate: Tue May 30 18:04:38 2017 +0200 Commit: Uli Schlachter CommitDate: Sat Jun 10 14:39:18 2017 +0200 xcb: Fix error reporting if fallback fails If we cannot let the X11 server do some operation (for example: the RENDER extension is not available), then we fall back to an image surface and do the operation locally instead. This fallback requires the current content of the surface to be downloaded from the X11 server. This fallback logic had an error. The fallback is implemented with _get_image() in the function _cairo_xcb_surface_fallback(). _get_image() is only called if we do not yet have a fallback available, so when we call _get_image we have surface->fallback == NULL. Then, if _get_image() fails, it returns a surface in an error state. Before this patch, the code would then just ignore this error surface and return &surface->fallback->base, a NULL pointer. This would then quickly cause a crash when e.g. the surface's ->status member is accessed. Fix this by returning the error surface instead as the fallback. The end result of this patch will be that the XCB surface that is currently drawn to ends up in an error state which is a lot better than a NULL pointer dereference and actually correct in this case. The error state is reached because the current drawing operation will fail and this error is reported up the call stack and eventually "taints" the surface. (However, the error code could be better: _get_image() too often fails with a generic CAIRO_STATUS_NO_MEMORY error, but that's left as future work) Signed-off-by: Uli Schlachter src/cairo-xcb-surface.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 3c60c57c609942739f898945a2f0c165f30b6ea6 Author: Bryce Harrington AuthorDate: Wed Dec 7 21:03:27 2016 -0800 Commit: Bryce Harrington CommitDate: Wed Dec 7 21:03:27 2016 -0800 Start 1.14.9 development cairo-version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)