GNOME Bugzilla – Bug 565478
Add hook for a custom renderer to adjust inked (and perhaps logical) extents
Last modified: 2018-05-22 12:44:58 UTC
Please describe the problem: When using a custom renderer with pango, we may supplement the glyphs drawn with add additional graphics, such as an overbar, or other decoration. This means that the inked extents returned by: pango_layout_get_extents() or pango_layout_get_pixel_extents() are no longer corrrect. I'm not entirely sure if the render should be able to modify the logical extents, however that does seem a possible extension - if our addournments were to cause the metrics such as line-line spacing to change. Currently it doesn't seem possible to achieve this adjustment with simple user-land subclasses of existing pango functionality. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/145.