[pango/pango2-windows: 11/12] pangowin32.c: Remove dropped underline styles




commit 6e8747e80660f1945b13a3a00b21c04d67108e75
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Mar 14 15:45:47 2022 +0800

    pangowin32.c: Remove dropped underline styles
    
    We don't support them anymore in Pango proper.

 pango/pangowin32.c | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index cd35ea24..0e7767d4 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -1013,11 +1013,6 @@ pango_win32_render_layout_line (HDC              hdc,
          points[1].x = x + PANGO_PIXELS (x_off + ink_rect.x + ink_rect.width);
          Polyline (hdc, points, 2);
          break;
-       case PANGO_UNDERLINE_SINGLE_LINE:
-       case PANGO_UNDERLINE_DOUBLE_LINE:
-       case PANGO_UNDERLINE_DOTTED_LINE:
-          g_warning ("Underline value %d not implemented", line_style);
-          break;
        }
 
       if (line_style != PANGO_LINE_STYLE_NONE)


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