diff options
author | Kitty Barnett <develop@catznip.com> | 2012-05-15 13:13:44 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2012-05-15 13:13:44 +0200 |
commit | 34e7226ac88e14d4cfed6bc0d63da215afe0ac88 (patch) | |
tree | b4b9b1f8a3f2d4c63018f94a194d2471e9f99e9c /indra/llrender/llfontgl.h | |
parent | 4e24e43e1643a24a090f7b61b38c03df34937579 (diff) |
STORM-276 FIXED Squiggles overflow line editor height when font size is set to large
- Also reduced squiggle width from 6 to 4 and prevented running past the end of a word
Diffstat (limited to 'indra/llrender/llfontgl.h')
-rw-r--r-- | indra/llrender/llfontgl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llfontgl.h b/indra/llrender/llfontgl.h index 74bdbb43e7..5ed5d2c4eb 100644 --- a/indra/llrender/llfontgl.h +++ b/indra/llrender/llfontgl.h @@ -115,6 +115,8 @@ public: S32 renderUTF8(const std::string &text, S32 begin_offset, S32 x, S32 y, const LLColor4 &color, HAlign halign, VAlign valign, U8 style = NORMAL, ShadowType shadow = NO_SHADOW) const; // font metrics - override for LLFontFreetype that returns units of virtual pixels + F32 getAscenderHeight() const; + F32 getDescenderHeight() const; S32 getLineHeight() const; S32 getWidth(const std::string& utf8text) const; |