forked from AuroraMiddleware/gtk
parent
06423d807f
commit
b5ff35ff3e
@ -2875,16 +2875,9 @@ gsk_ngl_render_job_visit_text_node (GskNglRenderJob *job,
|
|||||||
|
|
||||||
rgba_to_half (color, cc);
|
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.font = (PangoFont *)font;
|
||||||
lookup.scale = (guint) (text_scale * 1024);
|
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);
|
yshift = compute_phase_and_pos (y, &ypos);
|
||||||
|
|
||||||
gsk_ngl_render_job_begin_draw (job, CHOOSE_PROGRAM (job, coloring));
|
gsk_ngl_render_job_begin_draw (job, CHOOSE_PROGRAM (job, coloring));
|
||||||
|
Loading…
Reference in New Issue
Block a user