On 15/02/2011 00:57, the Adib wrote:
I went a step forward and copied the preview dialogue from the poppler import. So this dialogue is now available.
However the only functionality that is in use is the page selection and page preview.
As mentioned earlier, the current dialog fails to show a preview for single-page PDF documents.
I do not know how to tune the parameters for pdf-cairo conversion. i.e. when importing text all letters becomes single path elements. Not so nice.
Text actually is outlined based on the embedded and subset fonts in the PDF file which is a very useful feature for fonts not installed on the current system (if the user does not intend to edit text as text).
The fonts remain kind of "embedded and subset" in the SVG file as well (but not as SVG fonts which Inkscape couldn't render anyway): the original paths for a glyph is stored as <symbol> in the <defs> section and referenced as clone in the drawing.
Note: outlined texts (import text as path) is a frequently requested feature direly lacking with Inkscape's default PDF import.
Apart from the text issues (btw - gradients and gradient meshes are also imported differently than with Inkscape's own PDF import routines, often with (visually) more precise results compared to how the PDF file renders in a PDF viewer):
Could someone familiar with poppler and cairo please review the findings reported in:
Bug #1017123 “'Adobe PDF via poppler-cairo' (trunk): imprecise and incorrect stroke widths” https://bugs.launchpad.net/inkscape/+bug/1017123