On 2014-04-09 08:59 +0100, LucaDC wrote:
the Adib-2 wrote
Last year I implemented a pdf import via poppler-cairo - without using poppler internal structures. I think there should not be two import possibilities I would "disable" the import via poppler-cairo.
- there are no fine grained import options,
- text is converted to strokes always
Please don't do that: FWIU import via poppler-cairo is the only way to import a document with a font not installed in the system. It works perfectly and the only acceptable alternative would be if in the regular PDF import dialog an option to convert fonts to stroke is added and implemented. If I'm missing something, please let me know because the ability to import a document exactly as it appears on a PDF viewer (i.e. without mangling fonts and kerning) is pretty relevant.
AFAIU upstream cairo has requests to change it to use <text> with embedded fonts (which Inkscape can't render at the moment): https://bugs.freedesktop.org/show_bug.cgi?id=38516
Personally, I do appreciate having this alternative PDF import available: as mentioned by LucaDC it is great for PDFs with custom fonts not installed locally if one has no need to edit the text as text (as long as upstream cairo doesn't switch to SVG fonts), secondly it is helpful to compare results with Inkscape's own PDF import wrt bugs e.g. with gradients and meshes (mainly for bug triage).
@theAdib: any chance you could review the patch proposed in https://bugs.launchpad.net/inkscape/+bug/1017123 ?
Cheers, V