(thanks to patch 179589)
A new checkbox on the PDF import dialog, "Replace PDF fonts with closest-named installed fonts" (on by default) attempts to replace all font names in the imported PDF with the most similar names of those fonts installed on your system. For example, if the PDF uses the font "TimesNewRomanPSMT" and you have "Times New Roman" installed, that font will be used, which will likely give you a more correct appearance than the unknown font "TimesNewRomanPSMT" that will be displayed as the default sans serif font. This is a temporary fix necessary because Inkscape cannot yet extract the fonts from the PDF files it imports nor can it embed them into SVG; when it gets these capabilities, such font name conversion will become unnecessary because all fonts will be preserved.
On Thu, Apr 16, 2009 at 2:27 AM, bulia byak wrote:
displayed as the default sans serif font. This is a temporary fix necessary because Inkscape cannot yet extract the fonts from the PDF files it imports nor can it embed them into SVG; when it gets these capabilities, such font name conversion will become unnecessary because all fonts will be preserved.
And if someone decides to do it the right way, I'd suggest using PoDoFo library for dealing with fonts in PDF. PoDoFo is already successfully used in both Scribus and Fontmatrix.
Alexandre
participants (2)
-
Alexandre Prokoudine
-
bulia byak