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 472625 - Add draw_glyph_item() to PangoRenderer
Add draw_glyph_item() to PangoRenderer
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal enhancement
: Medium API
Assigned To: pango-maint
pango-maint
Depends on:
Blocks: 472626
 
 
Reported: 2007-09-01 19:47 UTC by Behdad Esfahbod
Modified: 2008-08-06 08:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Behdad Esfahbod 2007-09-01 19:47:53 UTC
Such that we can produce text-extractable PDFs with cairo in the future (when cairo adds cairo_show_text_glyphs()).
Comment 1 Behdad Esfahbod 2008-08-06 08:00:43 UTC
2008-07-30  Behdad Esfahbod  <behdad@gnome.org>

        Bug 472625 – Add draw_glyph_item() to PangoRenderer

        * docs/pango-sections.txt:
        * docs/tmpl/pango-renderer.sgml:
        * pango/pango-renderer.c:
        * pango/pango-renderer.h:
        New public API:

                PangoRenderer::draw_glyph_item()
                pango_renderer_draw_glyph_item()

        Make layout and layout-line default renderers go through
        draw_glyph_item(), which then by default falls back to
        draw_glyphs().  The advantage in draw_glyph_item() is that it
        has access to the text and cluster information.