summaryrefslogtreecommitdiff
path: root/futuregael/src/vectortext.h
diff options
context:
space:
mode:
authorTim Redfern <redfernt@gmail.com>2023-09-20 23:35:53 +0100
committerTim Redfern <redfernt@gmail.com>2023-09-20 23:35:53 +0100
commitcde8fab86a40be5d3c99bfd2d97605638647179f (patch)
tree5f3d25c4eb6757ba399f746dfb96ea175ad8467f /futuregael/src/vectortext.h
parentd47d1294179af82651602c5b548658bcd3b7bdac (diff)
mostly works
Diffstat (limited to 'futuregael/src/vectortext.h')
-rw-r--r--futuregael/src/vectortext.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/futuregael/src/vectortext.h b/futuregael/src/vectortext.h
index e5adbdb..1f0d11c 100644
--- a/futuregael/src/vectortext.h
+++ b/futuregael/src/vectortext.h
@@ -40,9 +40,13 @@ public:
class glyphWord{
public:
- glyphWord(){amount=1.0f;}
+ glyphWord(){
+ amount=1.0f;
+ width=0.0f;
+ }
vector<glyph> glyphs;
float amount;
+ float width;
};
class SVGFont{