summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1dd83d4)
raw | patch | inline | side by side (parent: 1dd83d4)
author | miklosh <miklosh@users.sourceforge.net> | |
Mon, 30 Jul 2007 17:09:28 +0000 (17:09 +0000) | ||
committer | miklosh <miklosh@users.sourceforge.net> | |
Mon, 30 Jul 2007 17:09:28 +0000 (17:09 +0000) |
src/extension/internal/pdfinput/svg-builder.cpp | patch | blob | history |
diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp
index 9fc4fa766ab1e5f3f891d1d51791973d2b22bd3d..3bbe06a575c5d970c619b04aed2034e5e5f345fa 100644 (file)
// 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