diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-09-04 14:51:41 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-09-04 15:42:05 -0400 |
commit | 06423d807f8edea6bab2856358af0baaf8175731 (patch) | |
tree | ac3a90131bae0c750114b6091edc9124f301cd19 /gtk/gskpango.c | |
parent | 363fb96e8134bbd05f40db8f3bd1ac8a7d7ae105 (diff) | |
download | gtk+-06423d807f8edea6bab2856358af0baaf8175731.tar.gz |
Revert "gtk: Pass font options along"
This reverts commit 062a15310aefd7feac19a5b7d2c3257d317dfff9.
Diffstat (limited to 'gtk/gskpango.c')
-rw-r--r-- | gtk/gskpango.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk/gskpango.c b/gtk/gskpango.c index 93aba75f60..e96c84a2fc 100644 --- a/gtk/gskpango.c +++ b/gtk/gskpango.c @@ -100,7 +100,6 @@ gsk_pango_renderer_draw_glyph_item (PangoRenderer *renderer, get_color (crenderer, PANGO_RENDER_PART_FOREGROUND, &color); gtk_snapshot_append_text (crenderer->snapshot, - crenderer->options, glyph_item->item->analysis.font, glyph_item->glyphs, &color, @@ -468,18 +467,14 @@ gtk_snapshot_append_layout (GtkSnapshot *snapshot, const GdkRGBA *color) { GskPangoRenderer *crenderer; - PangoContext *context; g_return_if_fail (snapshot != NULL); g_return_if_fail (PANGO_IS_LAYOUT (layout)); crenderer = gsk_pango_renderer_acquire (); - context = pango_layout_get_context (layout); - crenderer->snapshot = snapshot; crenderer->fg_color = color; - crenderer->options = pango_cairo_context_get_font_options (context); pango_renderer_draw_layout (PANGO_RENDERER (crenderer), layout, 0, 0); |