[pango/pango2: 66/201] shape: Cosmetics




commit 8086fa072f8aadf2afb74e33813660027f33e356
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 19 08:51:06 2022 -0500

    shape: Cosmetics
    
    Tweak a comment

 pango/shape.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/pango/shape.c b/pango/shape.c
index fe291464..e408aa9b 100644
--- a/pango/shape.c
+++ b/pango/shape.c
@@ -123,11 +123,10 @@ pango_hb_font_get_nominal_glyph (hb_font_t      *font,
       if ((context->show_flags & PANGO_SHOW_LINE_BREAKS) != 0 &&
           unicode == 0x2028)
         {
-          /* Always mark LS as unknown. If it ends up
-           * at the line end, PangoLayout takes care of
-           * hiding them, and if they end up in the middle
-           * of a line, we are in single paragraph mode
-           * and want to show the LS
+          /* Always mark LS as unknown. If it ends up at the line end,
+           * the line breaking code takes care of hiding them, and if
+           * they end up in the middle of a line, we are in single
+           * paragraph mode and want to show the LS.
            */
           *glyph = PANGO_GET_UNKNOWN_GLYPH (unicode);
           return TRUE;


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