summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/pdfinput/svg-builder.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2011-11-19 18:53:12 +0000
committerKris <Kris.De.Gussem@hotmail.com>2011-11-19 18:53:12 +0000
commitd0a75e28a727327d766b9050cda471a12e799511 (patch)
tree52e52a2bb6fafdbb4935b984df30f70b9ec34fcc /src/extension/internal/pdfinput/svg-builder.cpp
parentfix pointer usage after releasing memory (diff)
downloadinkscape-d0a75e28a727327d766b9050cda471a12e799511.tar.gz
inkscape-d0a75e28a727327d766b9050cda471a12e799511.zip
variable initialisation
(bzr r10746)
Diffstat (limited to 'src/extension/internal/pdfinput/svg-builder.cpp')
-rw-r--r--src/extension/internal/pdfinput/svg-builder.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp
index 344c3c5d2..e8d6363f0 100644
--- a/src/extension/internal/pdfinput/svg-builder.cpp
+++ b/src/extension/internal/pdfinput/svg-builder.cpp
@@ -110,12 +110,16 @@ SvgBuilder::~SvgBuilder() {
}
void SvgBuilder::_init() {
- _in_text_object = false;
- _need_font_update = true;
- _invalidated_style = true;
_font_style = NULL;
_current_font = NULL;
+ _font_specification = NULL;
+ _font_scaling = 1;
+ _need_font_update = true;
+ _in_text_object = false;
+ _invalidated_style = true;
_current_state = NULL;
+ _width = 0;
+ _height = 0;
// Fill _availableFontNames (Bug LP #179589) (code cfr. FontLister)
FamilyToStylesMap familyStyleMap;