Use pango_cairo_show_glyph_item() or cairo_show_text_glyphs()
Bug #420822 reported by
BehdadEsfahbod
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Wishlist
|
jazzynico |
Bug Description
Currently Inkscape uses cairo_show_glyphs() to render text to PS/PDF. This is suboptimal. By using any of the two APIs listed in Summary [1] will result in better text extraction from the resulting PS/PDF.
Those two APIs are newer than cairo_show_glyphs() though. And the code needs some change to push the text down to the drawing layer as well as the glyphs.
[1] references:
pango_cairo_
<http://
cairo_show_
<http://
Changed in inkscape: | |
importance: | Undecided → Wishlist |
tags: | added: exporting pdf |
tags: | added: cairo |
description: | updated |
Changed in inkscape: | |
milestone: | none → 0.49 |
status: | New → Triaged |
tags: | added: code-design |
Changed in inkscape: | |
milestone: | 0.91 → 0.92 |
Changed in inkscape: | |
milestone: | 0.92 → 0.93 |
assignee: | nobody → jazzynico (jazzynico) |
To post a comment you must log in.
According to <http:// wiki.inkscape. org/wiki/ index.php/ Tracking_ Dependencies> all the targeted distros have pango>1.28 and cairo>1.10. That would somewhat ease the migration.
The only occurrence of cairo_show_glyphs() is in src/extension/ internal/ cairo-render- context. cpp:1517 (trunk revision 12886).