commit 6c5d1d35061a91c3c0792f7720da3f8308ebff65 Author: Matthias Clasen Date: Sat Apr 8 13:48:25 2017 -0400 1.40.5 NEWS | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 5188156587cc388b86962fb43815a303448aeb64 Author: Matthias Clasen Date: Sat Apr 8 00:58:58 2017 -0400 Avoid a compiler warning The compiler complains that rightmost_space may be used uninitialized. And it may be right. pango/pango-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7fc77e1c5a9b04da172d032f8d1a2bd04a1c92a1 Author: Philip Withnall Date: Wed Feb 15 11:06:36 2017 +0000 docs: Fix some introspection annotation syntax Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=778663 pango/pango-engine.h | 4 ++-- pango/pango-layout.h | 2 +- pango/pangofc-fontmap.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 6df7fcde9cde8c808344cd7242b0492e92ec10f1 Author: Philip Withnall Date: Wed Feb 15 11:06:03 2017 +0000 docs: Add (skip) annotation to some non-introspectable deprecated funcs To make it a bit more explicit that there’s no need to worry about introspecting them. Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=778663 pango/modules.c | 4 ++-- pango/pango-engine.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) commit 9ab6ddd41723e0f0f8f0d57ca6bb37763c910d3c Author: Philip Withnall Date: Wed Feb 15 11:05:27 2017 +0000 docs: Add a few missing (transfer) annotations This should fix a few scanner warnings, but this is not an attempt to fix them all. Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=778663 pango/fonts.c | 2 +- pango/pangoft2-fontmap.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) commit 6f0648043fe2a084db15a6cdded8402625676aef Author: Philip Withnall Date: Fri Feb 17 09:27:36 2017 +0000 pango-utils: Fix non-escaped \r\n line endings in pango_read_line() The handling for \r or \r\n line endings in pango_read_line() was broken. It should have discarded the \r or \r\n, but was only doing this for \n or \n\r. The condition (c == EOF) could never have been reached. Coverity ID: 1391696 Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=778816 pango/pango-utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 97fc6fbffe65d9ca4e92fc8979808faebed0ee35 Author: Matthias Clasen Date: Fri Apr 7 22:49:00 2017 -0400 attributes: Make alpha work without color Improve the behavior of the cairo renderer to take alpha into account even if no color specified. https://bugzilla.gnome.org/show_bug.cgi?id=773767 pango/pangocairo-render.c | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) commit bab5cf24b746527020f51548e020c410dee63f71 Author: Nicolas Hake Date: Mon Jul 11 14:27:08 2016 +0200 Win32: Remove "uncolored" from docs Since win32_render_layout and win32_render_layout_line now support rendering in color, that word no longer applies. https://bugzilla.gnome.org/show_bug.cgi?id=768679 pango/pangowin32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8de443dd9f426c325673d029786618da9476f6a0 Author: Nicolas Hake Date: Mon Jul 11 13:27:31 2016 +0200 Win32: Fix background rect bounds Rectangle() uses x1, y1, x2, y2 coordinates instead of x, y, w, h. Fix the coordinates passed to the function so it draws the background in the correct location. https://bugzilla.gnome.org/show_bug.cgi?id=768679 pango/pangowin32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3166cbf809d5b005b587319ee2ef3e73e00d466e Author: Nicolas Hake Date: Mon Jul 11 13:26:44 2016 +0200 Win32: Draw background box in correct color Adding 128 to the component value would overflow in colors with full brightness and set the component to 0. https://bugzilla.gnome.org/show_bug.cgi?id=768679 pango/pangowin32.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 72e16506d6bd43efe4db24ebc3f69537f7208b1a Author: Nicolas Hake Date: Mon Jul 11 13:22:05 2016 +0200 Win32: Reset BkMode so ETO doesn't draw its own If the DC's background mode is set to OPAQUE, ExtTextOut will draw its own background boxes around glyph items. Since we don't place any requirements on the DC, set the background mode to TRANSPARENT before rendering any glyphs (and reset it to its original value afterwards). https://bugzilla.gnome.org/show_bug.cgi?id=768679 pango/pangowin32.c | 3 +++ 1 file changed, 3 insertions(+) commit f7927ff53afb8bbfdf7cc8f7b621c811f53ac6c5 Author: Nicolas Hake Date: Mon Jul 11 13:20:41 2016 +0200 Win32: Enable colored underline drawing Underline drawing was using the pen selected into DC before pango_win32_render_layout_line was called. Since layout allow the user to select underline colors, we have to create a temporary pen in the correct color before drawing it. https://bugzilla.gnome.org/show_bug.cgi?id=768679 pango/pangowin32.c | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) commit bb774bce7f99e839851834c1688c12d898f9c5ab Author: Nicolas Hake Date: Mon Jul 11 13:03:32 2016 +0200 Win32: Enable rendering colored text Increasing the component values by 128 may overflow and result in that component being treated as 0. Additionally, using a brush to color text is wrong; ExtTextOut instead uses the color set by SetTextColor to draw glyphs. https://bugzilla.gnome.org/show_bug.cgi?id=768679 pango/pangowin32.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-)