[gtk/text-fixes: 2/7] Revert "gsk: Pass font options along"
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/text-fixes: 2/7] Revert "gsk: Pass font options along"
- Date: Sat, 4 Sep 2021 19:43:06 +0000 (UTC)
commit b5ff35ff3e99878101ca1996d79e18d28b08aa06
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Sep 4 14:51:54 2021 -0400
Revert "gsk: Pass font options along"
This reverts commit 299c7c35148e49369c151aa4eae6066d09e9d4b4.
gsk/ngl/gsknglrenderjob.c | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/gsk/ngl/gsknglrenderjob.c b/gsk/ngl/gsknglrenderjob.c
index 719b9da0dc..4b04310e66 100644
--- a/gsk/ngl/gsknglrenderjob.c
+++ b/gsk/ngl/gsknglrenderjob.c
@@ -2875,16 +2875,9 @@ gsk_ngl_render_job_visit_text_node (GskNglRenderJob *job,
rgba_to_half (color, cc);
- /* We have 23 bits in the key for the scale */
- g_assert (text_scale * 1024 < (1 << 24));
-
lookup.font = (PangoFont *)font;
lookup.scale = (guint) (text_scale * 1024);
- lookup.hint_metrics = gsk_text_node_get_hint_metrics (node);
- lookup.antialias = gsk_text_node_get_antialias (node);
- lookup.hint_style = gsk_text_node_get_hint_style (node);
-
yshift = compute_phase_and_pos (y, &ypos);
gsk_ngl_render_job_begin_draw (job, CHOOSE_PROGRAM (job, coloring));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]