diff options
author | Richard Nelson <richard@lindenlab.com> | 2009-10-14 20:16:18 +0000 |
---|---|---|
committer | Richard Nelson <richard@lindenlab.com> | 2009-10-14 20:16:18 +0000 |
commit | fd312d1929de708e5765cf1b3815cb61752fc355 (patch) | |
tree | cc4dbf334b89970f1499acfaee3571b7cd529374 /indra/llrender/llfontgl.h | |
parent | 7197e1aa962be6174a219027ced4dec72b5553a2 (diff) |
improved metrics for llfontgl::getWidth (use greater of character width/xadvance)
llfontgl::Addchar now called consistently when requesting font metrics
no longer possible to have font glyph info without rendered font
EXT-1294 - LLExpandableTextBox: wrong ellipses
reviewed by James and Mani
Diffstat (limited to 'indra/llrender/llfontgl.h')
-rw-r--r-- | indra/llrender/llfontgl.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/llrender/llfontgl.h b/indra/llrender/llfontgl.h index ad84b6d641..a278d88287 100644 --- a/indra/llrender/llfontgl.h +++ b/indra/llrender/llfontgl.h @@ -131,8 +131,6 @@ public: // Returns the index of the character closest to pixel position x (ignoring text to the right of max_pixels and max_chars) S32 charFromPixelOffset(const llwchar* wchars, S32 char_offset, F32 x, F32 max_pixels=F32_MAX, S32 max_chars = S32_MAX, BOOL round = TRUE) const; - BOOL addChar(const llwchar wch) const; - const LLFontDescriptor& getFontDesc() const; |