diff options
| author | miklosh <miklosh@users.sourceforge.net> | 2007-07-30 17:09:28 +0000 |
|---|---|---|
| committer | miklosh <miklosh@users.sourceforge.net> | 2007-07-30 17:09:28 +0000 |
| commit | b0793ccdc8e92dcc3f27e1720a4c9707ff7ba593 (patch) | |
| tree | b90bde40e24ec2a9f0f62ffcd06f951f82c3bad9 /src | |
| parent | Added image mask support (diff) | |
| download | inkscape-b0793ccdc8e92dcc3f27e1720a4c9707ff7ba593.tar.gz inkscape-b0793ccdc8e92dcc3f27e1720a4c9707ff7ba593.zip | |
Type3 fonts do not have a name set so default to 'Arial'
(bzr r3350)
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/internal/pdfinput/svg-builder.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp index 9fc4fa766..3bbe06a57 100644 --- a/src/extension/internal/pdfinput/svg-builder.cpp +++ b/src/extension/internal/pdfinput/svg-builder.cpp @@ -758,8 +758,10 @@ void SvgBuilder::updateFont(GfxState *state) { // Store original name if (font->getOrigName()) { _font_specification = font->getOrigName()->getCString(); - } else { + } else if (font->getName()) { _font_specification = font->getName()->getCString(); + } else { + _font_specification = "Arial"; } // Prune the font name to get the correct font family name |
