summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/src/FontStyle.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/FontStyle.hpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/FontStyle.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/FontStyle.hpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/FontStyle.hpp
index 40c5d3e45ee..1088df3c4e2 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/FontStyle.hpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/FontStyle.hpp
@@ -22,11 +22,11 @@
#define FONTSTYLE
struct FontStyle {
- FontStyle () : bold(0), extend(1), slant(0) {}
+ FontStyle () =default;
FontStyle (float b, float e, float s) : bold(b), extend(e), slant(s) {}
- double bold; ///< stroke width in pt used to draw the glyph outlines
- double extend; ///< factor to strech/shrink the glyphs horizontally
- double slant; ///< horizontal slanting/skewing value (= tan(phi))
+ double bold=0; ///< stroke width in pt used to draw the glyph outlines
+ double extend=1; ///< factor to strech/shrink the glyphs horizontally
+ double slant=0; ///< horizontal slanting/skewing value (= tan(phi))
};
#endif