提交 3f05da63 编写于 作者: B Behdad Esfahbod 提交者: Behdad Esfahbod

Bug 485536 – underline_position can be zero

2007-11-29  Behdad Esfahbod  <behdad@gnome.org>

        Bug 485536 – underline_position can be zero

        * pango/pango-utils.c (pango_cairo_quantize_line_geometry):
        Document that returned position may be zero.

        * pango/pangocairo-win32font.c
        (pango_cairo_win32_font_create_metrics_for_context):
        * pango/pangofc-font.c (get_face_metrics):
        Handle case of underline_position==0 after rounding.
上级 e58278fe
......@@ -65,5 +65,7 @@ _hb_free( HB_Pointer block )
HB_INTERNAL HB_Error
_hb_err (HB_Error code)
{
static int numerr = 0;
numerr++;
return code;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册