diff options
author | Havoc Pennington <hp@redhat.com> | 2000-12-15 04:06:31 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-12-15 04:06:31 +0000 |
commit | a8ea5ad3907b28d0361957a4f165cf31cc4fc2fc (patch) | |
tree | 8a234ddb539b81153dc9beeba4168d765c2d96e6 /pango/fonts.c | |
parent | 04b813f8baea7bb0da71b132bfd1fbf90e730cfd (diff) | |
download | pango-a8ea5ad3907b28d0361957a4f165cf31cc4fc2fc.tar.gz |
Use a fallback shaper if no engine is found for a range, the fallback
2000-12-14 Havoc Pennington <hp@redhat.com>
* pango/pango-context.c (add_engines): Use a fallback shaper if
no engine is found for a range, the fallback shaper shapes to
glyphs of 0. This is just to let other code depend on the
invariant that there's a shape engine for all characters.
* tests/all-unicode.txt: Huge file containing all Unicode
characters, for robustness testing. Not in EXTRA_DIST
for now, not sure we should torture people that way...
* pango/fonts.c (pango_font_find_shaper): remove the assert that
we found a shaper, and instead let things fall back to the fallback
shaper
Diffstat (limited to 'pango/fonts.c')
-rw-r--r-- | pango/fonts.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pango/fonts.c b/pango/fonts.c index d390de81..9dc7a8fc 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -478,8 +478,6 @@ pango_font_find_shaper (PangoFont *font, shaper = PANGO_FONT_GET_CLASS (font)->find_shaper (font, lang, ch); - g_assert (shaper != NULL); - return shaper; } |