Comment 14 for bug 179589

Revision history for this message
bbyak (buliabyak) wrote : Re: [Bug 179589] Re: PDF Import: spaces removed from font names

On Fri, Feb 13, 2009 at 10:34 AM, KoRi <email address hidden> wrote:
> The more I look at it, the more complicated it seems to do it the right way ... For example depending on how the pdf is created (OpenOffice -> pdf or OpenOffice -> GhostScript -> pdf) the same font can be named different: "AvantGardeITCbyBT-Book" = "AvantGarde Bk BT", ... of which only the latter is guaranteed to match correctly by the patch.

But why? The "complete word" requirement should only apply to the
names on Inkscape side, which have spaces, not the PDF names. So if
you have a font "AvantGarde Blah Blah" installed, both these names
would match its first word completely, and thus have the same rating.

Also, if you have name with spaces in PDF, like "AvantGarde Bk BT",
doesn't it mean that it is already non-PS and does not need replacing?