After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 565478 - Add hook for a custom renderer to adjust inked (and perhaps logical) extents
Add hook for a custom renderer to adjust inked (and perhaps logical) extents
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
1.22.x
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2008-12-23 16:17 UTC by Peter Clifton
Modified: 2018-05-22 12:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Peter Clifton 2008-12-23 16:17:06 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:
Comment 1 GNOME Infrastructure Team 2018-05-22 12:44:58 UTC
-- 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.