[pango/wip/baedert/for-master] Revert "pangocairo-context: Don't invalidate if font options are equal"
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/wip/baedert/for-master] Revert "pangocairo-context: Don't invalidate if font options are equal"
- Date: Tue, 14 Apr 2020 14:51:11 +0000 (UTC)
commit 0f3aba80ec1b94a217d8934598f45ccce108c8ea
Author: Timm Bäder <mail baedert org>
Date: Tue Apr 14 16:50:47 2020 +0200
Revert "pangocairo-context: Don't invalidate if font options are equal"
This reverts commit 725dbc53193b82443b0122a84742838b85e89f49.
pango/pangocairo-context.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/pango/pangocairo-context.c b/pango/pangocairo-context.c
index 02527c05..5949c448 100644
--- a/pango/pangocairo-context.c
+++ b/pango/pangocairo-context.c
@@ -242,11 +242,7 @@ pango_cairo_context_set_font_options (PangoContext *context,
g_return_if_fail (PANGO_IS_CONTEXT (context));
- info = get_context_info (context, TRUE);
-
- if (info->set_options &&
- cairo_font_options_equal (info->set_options, options))
- return;
+ info = get_context_info (context, TRUE);
if (info->set_options || options)
pango_context_changed (context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]