summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontgl.cpp
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2009-11-17 16:34:06 +0800
committerangela <angela@lindenlab.com>2009-11-17 16:34:06 +0800
commit2217a677104ffadab8815a0886d66ac264e74792 (patch)
tree4f4f45bc490756a1a41fb09f39e1cdb50822dc4d /indra/llrender/llfontgl.cpp
parentccc72757ef23fa7ffba066e5bdaf05e3f8a95cca (diff)
parent0098bf40ea73078e2164ae55a8fa2f9049d0d4e9 (diff)
Automated merge with ssh://angela@hg.lindenlab.com/viewer/viewer-2-0/
Diffstat (limited to 'indra/llrender/llfontgl.cpp')
-rw-r--r--indra/llrender/llfontgl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llrender/llfontgl.cpp b/indra/llrender/llfontgl.cpp
index 793a526c26..9ba0cfc6b8 100644
--- a/indra/llrender/llfontgl.cpp
+++ b/indra/llrender/llfontgl.cpp
@@ -754,6 +754,13 @@ std::string LLFontGL::nameFromFont(const LLFontGL* fontp)
return fontp->mFontDescriptor.getName();
}
+
+// static
+std::string LLFontGL::sizeFromFont(const LLFontGL* fontp)
+{
+ return fontp->mFontDescriptor.getSize();
+}
+
// static
std::string LLFontGL::nameFromHAlign(LLFontGL::HAlign align)
{