commit | 682db81c23d2116072d8550657c914afb7c26d2b | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@gnome.org> | Wed Nov 23 15:19:48 2005 +0000 |
committer | Behdad Esfahbod <behdad@src.gnome.org> | Wed Nov 23 15:19:48 2005 +0000 |
tree | d0511a5a502fcd18359efd0a2ea3a7919a1f9222 | |
parent | e6e15352d154e1350340f8045759e5f7b0d86dc7 [diff] |
Protect against possible division by zeros (#316468, Steve Grubb) 2005-11-23 Behdad Esfahbod <behdad@gnome.org> Protect against possible division by zeros (#316468, Steve Grubb) * pango/pango-context.c (update_metrics_from_items), pango/pango-fontset.c (pango_fontset_real_get_metrics): If count is zero, do not alter approximate_{char,digit}_width. * pango/opentype/disasm.c: Err on invalid DeltaFormat.