[pango/font-face-fixes: 2/2] Don't promise too much




commit f454d8b5cc223e45aed4f2bca8de6f360c3d5700
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 23 12:22:24 2021 -0500

    Don't promise too much
    
    The docs were claiming that face names are unique,
    but we don't know that, and it doesn't hold in
    practice.
    
    Fixes: #528

 pango/fonts.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/pango/fonts.c b/pango/fonts.c
index 1695366b..0b76d9dd 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -2457,9 +2457,8 @@ pango_font_face_is_synthesized (PangoFontFace  *face)
  * @face: a #PangoFontFace.
  *
  * Gets a name representing the style of this face among the
- * different faces in the #PangoFontFamily for the face. This
- * name is unique among all faces in the family and is suitable
- * for displaying to users.
+ * different faces in the #PangoFontFamily for the face. The
+ * name is suitable for displaying to users.
  *
  * Return value: the face name for the face. This string is
  *   owned by the face object and must not be modified or freed.


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