[pango/line-breaker: 4/49] shape: Cosmetics




commit 47e0c65b6c2d355d04ef0c90cf6891de60d4c0e6
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 30bceb80..c61a46a3 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]