[AdgText] Using logical_rect instead of ink_rect for extents
commit4276005da46cdc821125189de8445dffcbb40805
authorNicola Fontana <ntd@entidi.it>
Sun, 20 Feb 2011 19:10:37 +0000 (20 20:10 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 20 Feb 2011 19:10:37 +0000 (20 20:10 +0100)
treece736fd22f18b7fffc4324f5ad41ee833ff808ca
parent099e2b9f89130ff379eaf68d5d260834f30bf05e
[AdgText] Using logical_rect instead of ink_rect for extents

The logical_rect, as defined by the pango_layout_get_extents()
documentation, is better suited for providing what the ADG considers
extents. For example using a fixed font, "---" and "XXX" should have the
same extents despite their different ink boundary, so they can be
aligned properly inside a table cell.
src/adg/adg-dim-style.c
src/adg/adg-table-style.c
src/adg/adg-text.c