Rework the way we compute the real_width to avoid calling
authorBehdad Esfahbod <behdad@gnome.org>
Thu, 30 Nov 2006 19:34:04 +0000 (19:34 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Thu, 30 Nov 2006 19:34:04 +0000 (19:34 +0000)
commit8120999a65b8809a0a40d69eff6d74162ecf42af
tree32c24227051766e61e10df986ecd35f742f1ce51
parent342fa3e8764497bb3794cbd40d054a7ab7b58024
Rework the way we compute the real_width to avoid calling

2006-11-30  Behdad Esfahbod  <behdad@gnome.org>

        * pango/pango-layout.c (pango_layout_get_extents_internal):  Rework
        the way we compute the real_width to avoid calling
        pango_layout_get_extents(), and so, avoid one
        pango_font_get_glyph_extents() call per glyph per layout rendering.
        We now make 2 such calls.
ChangeLog
pango/pango-layout.c