diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-04-29 19:41:23 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-04-29 19:41:23 +0000 |
commit | dd69229f4e5bea613aec846d9964edc7d2683825 (patch) | |
tree | 96e68e3f2770bb47cc68669d8eb352845a7403ac /pango/pango-attributes.c | |
parent | 58493b0080dc8d91e09b8b9ec05f910388730047 (diff) | |
download | pango-dd69229f4e5bea613aec846d9964edc7d2683825.tar.gz |
Bug 329547 – pango_layout_get_pixel_extents and
2006-04-29 Behdad Esfahbod <behdad@gnome.org>
Bug 329547 – pango_layout_get_pixel_extents and
pango_layout_get_pixel_size cause off-by-one metrics
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml:
* pango/pango-types.h: Define PANGO_PIXELS_FLOOR and
* PANGO_PIXELS_CEIL.
* pango/pango-layout.c (pango_layout_get_pixel_extents),
(pango_layout_get_pixel_size): Make sure logical rects are
consistent and ink rects are inclusive.
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index 08353219..ea7c268b 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -472,7 +472,7 @@ pango_attr_size_new_internal (int size, /** * pango_attr_size_new: - * @size: the font size, in #PANGO_SCALE<!-- -->ths of a point. + * @size: the font size, in %PANGO_SCALE<!-- -->ths of a point. * * Create a new font-size attribute in fractional points. * @@ -487,7 +487,7 @@ pango_attr_size_new (int size) /** * pango_attr_size_new_absolute: - * @size: the font size, in #PANGO_SCALE<!-- -->ths of a device unit. + * @size: the font size, in %PANGO_SCALE<!-- -->ths of a device unit. * * Create a new font-size attribute in device units. * |