[pango/visible-things: 23/35] fc: Don't use 0x2423 glyphs for visible space
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/visible-things: 23/35] fc: Don't use 0x2423 glyphs for visible space
- Date: Mon, 8 Jul 2019 20:58:41 +0000 (UTC)
commit 8d10f686ded868d51c0c946cce6a50edce9f78b8
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jul 7 15:44:14 2019 -0400
fc: Don't use 0x2423 glyphs for visible space
Instead, use the hex box rendering code
for visible space.
pango/pangofc-shape.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/pango/pangofc-shape.c b/pango/pangofc-shape.c
index f9afe4d8..b3b5ea73 100644
--- a/pango/pangofc-shape.c
+++ b/pango/pangofc-shape.c
@@ -101,10 +101,6 @@ pango_fc_hb_font_get_nominal_glyph (hb_font_t *font, void *font_data,
{
if (unicode == 0x20)
{
- *glyph = pango_fc_font_get_glyph (fc_font, 0x2423);
- if (*glyph)
- return TRUE;
-
*glyph = PANGO_GET_UNKNOWN_GLYPH (0x2423);
return TRUE;
}
@@ -525,9 +521,7 @@ _pango_fc_shape (PangoFont *font,
space_glyph = pango_fc_font_get_glyph (fc_font, 0x20);
if (!space_glyph)
space_glyph = PANGO_GET_UNKNOWN_GLYPH (0x20);
- visible_space_glyph = pango_fc_font_get_glyph (fc_font, 0x2423);
- if (!visible_space_glyph)
- visible_space_glyph = PANGO_GET_UNKNOWN_GLYPH (0x2423);
+ visible_space_glyph = PANGO_GET_UNKNOWN_GLYPH (0x2423);
}
for (i = 0; i < num_glyphs; i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]