diff options
Diffstat (limited to 'engines/zvision/text.cpp')
-rw-r--r-- | engines/zvision/text.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/zvision/text.cpp b/engines/zvision/text.cpp index 575ca03d10..e96bf4b32c 100644 --- a/engines/zvision/text.cpp +++ b/engines/zvision/text.cpp @@ -58,6 +58,7 @@ cTxtStyle::cTxtStyle() { strikeout = false; underline = false; statebox = 0; + sharp = false; } txtReturn cTxtStyle::parseStyle(const Common::String &strin, int16 ln) { @@ -263,6 +264,9 @@ void cTxtStyle::setFontStyle(sTTFont &font) { if (strikeout) temp_stl |= sTTFont::STTF_STRIKEOUT; + if (sharp) + temp_stl |= sTTFont::STTF_SHARP; + font.setStyle(temp_stl); } @@ -281,6 +285,9 @@ void cTxtStyle::setFont(sTTFont &font) { if (strikeout) temp_stl |= sTTFont::STTF_STRIKEOUT; + if (sharp) + temp_stl |= sTTFont::STTF_SHARP; + font.loadFont(fontname, size, temp_stl); } |