[cairo] Can cairo generates <text> elements in the svg output ?
Emmanuel Pacaud
emmanuel.pacaud at lapp.in2p3.fr
Fri Nov 5 03:18:35 PDT 2010
Hi,
Le vendredi 05 novembre 2010 à 11:03 +0100, Jonathan Marchand a écrit :
> Currently, cairo generates text in svg by means of path for each glyhs,
> there is no <text> elements generated. Thus, there is no way to extract
> the text from an output file. This issue was addressed before[1], but
> it seems that today cairo still lacks this feature.
>
> Is this feature planned ? Are there strong fundamentals motives against
> it ? Does it present technical difficulties to implement ?
To my knowledge, nobody is working on this feature. I've worked a bit on
it a couple of years ago, but didn't produce anything usable.
There's no motive against it. It would be nice to have both output
method available (<text> and <glyph>) though.
It should not be to difficult to implement, as the work for a text
output was already done for the PDF backend.
Emmanuel.
More information about the cairo
mailing list