diff options
| author | Luca Bruno <lucab@debian.org> | 2012-06-30 19:43:45 +0000 |
|---|---|---|
| committer | Luca Bruno <lucab@debian.org> | 2012-06-30 19:43:45 +0000 |
| commit | 8ccb359f4d190740e7c56cc5a145b5a8f67d14b3 (patch) | |
| tree | fe7daf717d89fe762f58583b36af0e00a8287ece /src/extension/internal/pdfinput/svg-builder.cpp | |
| parent | Allow cairomm 1.9.8. Should be good enough (diff) | |
| download | inkscape-8ccb359f4d190740e7c56cc5a145b5a8f67d14b3.tar.gz inkscape-8ccb359f4d190740e7c56cc5a145b5a8f67d14b3.zip | |
Fix building with Poppler 0.20 (LP: #1005565)
Poppler >= 0.20 has a new internal API for errors and other miscellanea.
As we are abusing these internal functionalities, they broke from time to
time. Fixing it for now with a new conditional build flag.
This fixes https://bugs.launchpad.net/inkscape/+bug/1005565
(bzr r11518)
Diffstat (limited to 'src/extension/internal/pdfinput/svg-builder.cpp')
| -rw-r--r-- | src/extension/internal/pdfinput/svg-builder.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp index 8f74d54bc..e3d0a80ac 100644 --- a/src/extension/internal/pdfinput/svg-builder.cpp +++ b/src/extension/internal/pdfinput/svg-builder.cpp @@ -1004,9 +1004,7 @@ void SvgBuilder::updateFont(GfxState *state) { _font_style = sp_repr_css_attr_new(); GfxFont *font = state->getFont(); // Store original name - if (font->getOrigName()) { - _font_specification = font->getOrigName()->getCString(); - } else if (font->getName()) { + if (font->getName()) { _font_specification = font->getName()->getCString(); } else { _font_specification = (char*) "Arial"; |
