Dear Poppler project,

I am Martin Owens, one of the senior developers and maintainers of the
Inkscape project.

Inkscape uses poppler to import PDF files into Inkscape by converting
instructions into SVG constructs. Because SVG can not have embedded
fonts in the same way that a PDF can the font must either be 1) Matched
with a system font by name allowing it to both be editable as text and
look the same as it does in the PDF, 2) Be given a fallback font, so
it's editable at the expense of looking the same or 3) Converted to
paths, so it looks the same at the expense of being editable (as text).

This third option was not possible using poppler as the paths are
stored inside poppler's private font engine API.

To get around this limitation some of poppler's code was copied into
Inkscape's codebase to provide access to the required data. The amount
of the API is as follows:

 1. CairoFontEngine
  - getFont

 2. CairoFont
  - getFontFace
  - getGlyph

Your advice on harmonising our two projects so we only use your public
API would be greatly appreciated. If these API calls could be made
public then we can remove a large section of copied code and depend
entirely on poppler's.

Thank you for your time.

Best Regards, Martin Owens

Reply via email to