[pango/pango2: 56/301] shape: Cosmetics




commit 5171c2639eb2a577bfc0522fc2c7a4634c6fc3dc
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 fe2914645..e408aa9b3 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]