[gtk/glyphy2: 22/28] glyphy: Pencil in outline rendering




commit a525cc63aa0e93484aaefff59b15aadbdbd7bca3
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Apr 3 23:34:22 2022 -0400

    glyphy: Pencil in outline rendering

 gsk/gl/gskglrenderjob.c | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/gsk/gl/gskglrenderjob.c b/gsk/gl/gskglrenderjob.c
index 2ffcf030a5..59b272bd6c 100644
--- a/gsk/gl/gskglrenderjob.c
+++ b/gsk/gl/gskglrenderjob.c
@@ -3218,6 +3218,14 @@ gsk_gl_render_job_visit_text_node_glyphy (GskGLRenderJob      *job,
           gsk_gl_program_set_uniform1f (job->current_program,
                                         UNIFORM_GLYPHY_CONTRAST, 0,
                                         1.0);
+#if 0
+          gsk_gl_program_set_uniform1f (job->current_program,
+                                        UNIFORM_GLYPHY_OUTLINE_THICKNESS, 0,
+                                        1.0);
+          gsk_gl_program_set_uniform1f (job->current_program,
+                                        UNIFORM_GLYPHY_OUTLINE, 0,
+                                        1.0);
+#endif
 
           last_texture = texture_id;
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]