LLFontGL Class Reference

#include <llfontgl.h>

Inheritance diagram for LLFontGL:

Inheritance graph
[legend]
Collaboration diagram for LLFontGL:

Collaboration graph
[legend]

List of all members.

Public Types

enum  HAlign { LEFT = 0, RIGHT = 1, HCENTER = 2 }
enum  VAlign { TOP = 3, VCENTER = 4, BASELINE = 5, BOTTOM = 6 }
enum  StyleFlags {
  NORMAL = 0, BOLD = 1, ITALIC = 2, UNDERLINE = 4,
  DROP_SHADOW = 8, DROP_SHADOW_SOFT = 16
}

Public Member Functions

 LLFontGL ()
 LLFontGL (const LLFontGL &source)
 ~LLFontGL ()
void init ()
void reset ()
LLFontGLoperator= (const LLFontGL &source)
BOOL loadFace (const std::string &filename, const F32 point_size, const F32 vert_dpi, const F32 horz_dpi, const S32 components, BOOL is_fallback)
S32 renderUTF8 (const LLString &text, const S32 begin_offset, S32 x, S32 y, const LLColor4 &color) const
S32 renderUTF8 (const LLString &text, const S32 begin_offset, S32 x, S32 y, const LLColor4 &color, HAlign halign, VAlign valign, U8 style=NORMAL) const
S32 renderUTF8 (const LLString &text, S32 begin_offset, F32 x, F32 y, const LLColor4 &color, HAlign halign, VAlign valign, U8 style, S32 max_chars, S32 max_pixels, F32 *right_x, BOOL use_ellipses) const
S32 render (const LLWString &text, const S32 begin_offset, F32 x, F32 y, const LLColor4 &color) const
S32 render (const LLWString &text, S32 begin_offset, F32 x, F32 y, const LLColor4 &color, HAlign halign=LEFT, VAlign valign=BASELINE, U8 style=NORMAL, S32 max_chars=S32_MAX, S32 max_pixels=S32_MAX, F32 *right_x=NULL, BOOL use_embedded=FALSE, BOOL use_ellipses=FALSE) const
F32 getLineHeight () const
F32 getAscenderHeight () const
F32 getDescenderHeight () const
virtual S32 getWidth (const LLString &utf8text) const
virtual S32 getWidth (const llwchar *wchars) const
virtual S32 getWidth (const LLString &utf8text, const S32 offset, const S32 max_chars) const
virtual S32 getWidth (const llwchar *wchars, const S32 offset, const S32 max_chars, BOOL use_embedded=FALSE) const
virtual F32 getWidthF32 (const LLString &utf8text) const
virtual F32 getWidthF32 (const llwchar *wchars) const
virtual F32 getWidthF32 (const LLString &text, const S32 offset, const S32 max_chars) const
virtual F32 getWidthF32 (const llwchar *wchars, const S32 offset, const S32 max_chars, BOOL use_embedded=FALSE) const
virtual S32 maxDrawableChars (const llwchar *wchars, F32 max_pixels, S32 max_chars=S32_MAX, BOOL end_on_word_boundary=FALSE, const BOOL use_embedded=FALSE, F32 *drawn_pixels=NULL) const
virtual S32 firstDrawableChar (const llwchar *wchars, F32 max_pixels, S32 text_len, S32 start_pos=S32_MAX, S32 max_chars=S32_MAX) const
virtual S32 charFromPixelOffset (const llwchar *wchars, const S32 char_offset, F32 x, F32 max_pixels=F32_MAX, S32 max_chars=S32_MAX, BOOL round=TRUE, BOOL use_embedded=FALSE) const
LLImageGLgetImageGL () const
void addEmbeddedChar (llwchar wc, LLImageGL *image, const LLString &label)
void addEmbeddedChar (llwchar wc, LLImageGL *image, const LLWString &label)
void removeEmbeddedChar (llwchar wc)

Static Public Member Functions

static U8 getStyleFromString (const LLString &style)
static BOOL initDefaultFonts (F32 screen_dpi, F32 x_scale, F32 y_scale, const LLString &monospace_file, F32 monospace_size, const LLString &sansserif_file, const LLString &sansserif_fallback_file, F32 ss_fallback_scale, F32 small_size, F32 medium_size, F32 large_size, F32 huge_size, const LLString &sansserif_bold_file, F32 bold_size, const LLString &app_dir=LLString::null)
static void destroyDefaultFonts ()
static void destroyGL ()
static bool loadFaceFallback (LLFontList *fontp, const LLString &fontname, const F32 point_size)
static bool loadFace (LLFontGL *fontp, const LLString &fontname, const F32 point_size, LLFontList *fallback_fontp)
static LLString nameFromFont (const LLFontGL *fontp)
static LLFontGLfontFromName (const LLString &name)
static LLString nameFromHAlign (LLFontGL::HAlign align)
static LLFontGL::HAlign hAlignFromName (const LLString &name)
static LLString nameFromVAlign (LLFontGL::VAlign align)
static LLFontGL::VAlign vAlignFromName (const LLString &name)
static void setFontDisplay (BOOL flag)

Static Public Attributes

static F32 sVertDPI = 96.f
static F32 sHorizDPI = 96.f
static F32 sScaleX = 1.f
static F32 sScaleY = 1.f
static BOOL sDisplayFont = TRUE
static LLString sAppDir
static LLFontGLsMonospace = NULL
static LLFontListsMonospaceFallback = NULL
static LLFontGLsSansSerifSmall = NULL
static LLFontListsSSSmallFallback = NULL
static LLFontGLsSansSerif = NULL
static LLFontListsSSFallback = NULL
static LLFontGLsSansSerifBig = NULL
static LLFontListsSSBigFallback = NULL
static LLFontGLsSansSerifHuge = NULL
static LLFontListsSSHugeFallback = NULL
static LLFontGLsSansSerifBold = NULL
static LLFontListsSSBoldFallback = NULL
static LLColor4 sShadowColor
static LLCoordFont sCurOrigin
static std::vector< LLCoordFontsOriginStack

Protected Types

typedef std::map< llwchar,
embedded_data_t * > 
embedded_map_t

Protected Member Functions

const embedded_data_tgetEmbeddedCharData (const llwchar wch) const
F32 getEmbeddedCharAdvance (const embedded_data_t *ext_data) const
void clearEmbeddedChars ()
void renderQuad (const LLRectf &screen_rect, const LLRectf &uv_rect, F32 slant_amt) const
void drawGlyph (const LLRectf &screen_rect, const LLRectf &uv_rect, const LLColor4 &color, U8 style, F32 drop_shadow_fade) const
BOOL addChar (const llwchar wch)

Static Protected Member Functions

static LLString getFontPathLocal ()
static LLString getFontPathSystem ()

Protected Attributes

LLPointer< LLImageRawmRawImageGLp
LLPointer< LLImageGLmImageGLp
embedded_map_t mEmbeddedChars

Friends

class LLTextBillboard
class LLHUDText

Classes

struct  embedded_data_t


Detailed Description

Definition at line 44 of file llfontgl.h.


Member Typedef Documentation

typedef std::map<llwchar,embedded_data_t*> LLFontGL::embedded_map_t [protected]

Definition at line 258 of file llfontgl.h.


Member Enumeration Documentation

Enumerator:
LEFT 
RIGHT 
HCENTER 

Definition at line 47 of file llfontgl.h.

Enumerator:
TOP 
VCENTER 
BASELINE 
BOTTOM 

Definition at line 55 of file llfontgl.h.

Enumerator:
NORMAL 
BOLD 
ITALIC 
UNDERLINE 
DROP_SHADOW 
DROP_SHADOW_SOFT 

Definition at line 64 of file llfontgl.h.


Constructor & Destructor Documentation

LLFontGL::LLFontGL (  ) 

Definition at line 126 of file llfontgl.cpp.

References clearEmbeddedChars(), and init().

Referenced by initDefaultFonts().

Here is the call graph for this function:

Here is the caller graph for this function:

LLFontGL::LLFontGL ( const LLFontGL source  ) 

Definition at line 133 of file llfontgl.cpp.

References llendl, and llerrs.

LLFontGL::~LLFontGL (  ) 

Definition at line 138 of file llfontgl.cpp.

References clearEmbeddedChars(), mImageGLp, mRawImageGLp, and NULL.

Here is the call graph for this function:


Member Function Documentation

U8 LLFontGL::getStyleFromString ( const LLString style  )  [static]

Definition at line 96 of file llfontgl.cpp.

References BOLD, DROP_SHADOW, DROP_SHADOW_SOFT, ITALIC, NORMAL, S32, and UNDERLINE.

Referenced by LLScrollListCtrl::addElement(), and LLTextBox::fromXML().

Here is the caller graph for this function:

void LLFontGL::init ( void   ) 

Definition at line 145 of file llfontgl.cpp.

References FALSE, LLPointer< Type >::isNull(), mImageGLp, mRawImageGLp, and LLFont::setRawImage().

Referenced by LLFontGL(), and reset().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFontGL::reset (  ) 

Definition at line 162 of file llfontgl.cpp.

References init(), and LLFont::resetBitmap().

Referenced by initDefaultFonts().

Here is the call graph for this function:

Here is the caller graph for this function:

LLFontGL & LLFontGL::operator= ( const LLFontGL source  ) 

Definition at line 521 of file llfontgl.cpp.

References llendl, and llerrs.

BOOL LLFontGL::initDefaultFonts ( F32  screen_dpi,
F32  x_scale,
F32  y_scale,
const LLString monospace_file,
F32  monospace_size,
const LLString sansserif_file,
const LLString sansserif_fallback_file,
F32  ss_fallback_scale,
F32  small_size,
F32  medium_size,
F32  large_size,
F32  huge_size,
const LLString sansserif_bold_file,
F32  bold_size,
const LLString app_dir = LLString::null 
) [static]

void LLFontGL::destroyDefaultFonts (  )  [static]

void LLFontGL::destroyGL (  )  [static]

Definition at line 504 of file llfontgl.cpp.

References mImageGLp, sMonospace, sSansSerif, sSansSerifBig, sSansSerifBold, sSansSerifHuge, and sSansSerifSmall.

Referenced by LLViewerWindow::initFonts(), and LLViewerWindow::stopGL().

Here is the caller graph for this function:

bool LLFontGL::loadFaceFallback ( LLFontList fontp,
const LLString fontname,
const F32  point_size 
) [static]

Definition at line 223 of file llfontgl.cpp.

References LLFontList::addAtEnd(), getFontPathLocal(), getFontPathSystem(), LL_ENDL, LL_INFOS_ONCE, LLFont::LLFont(), LLFont::loadFace(), NULL, sHorizDPI, sVertDPI, and TRUE.

Referenced by initDefaultFonts().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLFontGL::loadFace ( LLFontGL fontp,
const LLString fontname,
const F32  point_size,
LLFontList fallback_fontp 
) [static]

Definition at line 261 of file llfontgl.cpp.

References FALSE, getFontPathLocal(), getFontPathSystem(), LL_ENDL, LL_WARNS, loadFace(), LLFont::setFallbackFont(), sHorizDPI, and sVertDPI.

Referenced by initDefaultFonts(), and loadFace().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLFontGL::loadFace ( const std::string &  filename,
const F32  point_size,
const F32  vert_dpi,
const F32  horz_dpi,
const S32  components,
BOOL  is_fallback 
) [virtual]

Reimplemented from LLFont.

Definition at line 527 of file llfontgl.cpp.

References FALSE, LLFont::loadFace(), mImageGLp, mRawImageGLp, and TRUE.

Here is the call graph for this function:

S32 LLFontGL::renderUTF8 ( const LLString text,
const S32  begin_offset,
S32  x,
S32  y,
const LLColor4 color 
) const [inline]

S32 LLFontGL::renderUTF8 ( const LLString text,
const S32  begin_offset,
S32  x,
S32  y,
const LLColor4 color,
HAlign  halign,
VAlign  valign,
U8  style = NORMAL 
) const [inline]

Definition at line 114 of file llfontgl.h.

References FALSE, NULL, renderUTF8(), and S32_MAX.

Here is the call graph for this function:

S32 LLFontGL::renderUTF8 ( const LLString text,
S32  begin_offset,
F32  x,
F32  y,
const LLColor4 color,
HAlign  halign,
VAlign  valign,
U8  style,
S32  max_chars,
S32  max_pixels,
F32 right_x,
BOOL  use_ellipses 
) const

Definition at line 557 of file llfontgl.cpp.

References render(), and utf8str_to_wstring().

Here is the call graph for this function:

S32 LLFontGL::render ( const LLWString text,
const S32  begin_offset,
F32  x,
F32  y,
const LLColor4 color 
) const [inline]

S32 LLFontGL::render ( const LLWString text,
S32  begin_offset,
F32  x,
F32  y,
const LLColor4 color,
HAlign  halign = LEFT,
VAlign  valign = BASELINE,
U8  style = NORMAL,
S32  max_chars = S32_MAX,
S32  max_pixels = S32_MAX,
F32 right_x = NULL,
BOOL  use_embedded = FALSE,
BOOL  use_ellipses = FALSE 
) const

F32 LLFontGL::getLineHeight (  )  const [inline, virtual]

F32 LLFontGL::getAscenderHeight (  )  const [inline, virtual]

Reimplemented from LLFont.

Definition at line 162 of file llfontgl.h.

References llround(), LLFont::mAscender, and sScaleY.

Here is the call graph for this function:

F32 LLFontGL::getDescenderHeight (  )  const [inline, virtual]

Reimplemented from LLFont.

Definition at line 163 of file llfontgl.h.

References llround(), LLFont::mDescender, and sScaleY.

Here is the call graph for this function:

S32 LLFontGL::getWidth ( const LLString utf8text  )  const [virtual]

Definition at line 904 of file llfontgl.cpp.

References S32_MAX, and utf8str_to_wstring().

Referenced by LLTabContainer::addTabPanel(), LLToolView::addTool(), LLMenuGL::arrange(), LLScrollListCtrl::calcColumnWidths(), LLTextEditor::changeLine(), LLAlertDialog::createDialog(), LLMemoryView::draw(), LLHoverView::draw(), LLFrameStatView::draw(), LLFolderViewItem::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLScrollListText::draw(), LLMenuItemBranchDownGL::draw(), LLMenuItemGL::draw(), LLLineEditor::draw(), LLViewerWindow::drawMouselookInstructions(), LLTextEditor::drawPreeditMarker(), LLTextEditor::drawSelectionBackground(), LLLineEditor::findPixelNearestPos(), LLSliderCtrl::fromXML(), LLMultiSliderCtrl::fromXML(), LLScrollListText::getContentWidth(), LLMenuItemBranchDownGL::getNominalWidth(), LLMenuItemGL::getNominalWidth(), LLTextEditor::getPreeditLocation(), LLTextBox::getTextPixelWidth(), getWidth(), LLButton::init(), LLMultiSliderCtrl::LLMultiSliderCtrl(), LLSliderCtrl::LLSliderCtrl(), LLFloaterPay::processPayPriceReply(), LLFolderViewItem::refresh(), LLCheckBoxCtrl::reshape(), LLDragHandleTop::reshapeTitleBox(), LLAlertDialog::setCheckBox(), LLLineEditor::setCursor(), LLSliderCtrl::setLabelArg(), LLMultiSliderCtrl::setLabelArg(), LLUploadDialog::setMessage(), LLTabContainer::setPanelTitle(), LLTabContainer::setTabImage(), LLColumnHeader::showList(), and LLTextEditor::updateLineStartList().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLFontGL::getWidth ( const llwchar wchars  )  const [virtual]

Definition at line 910 of file llfontgl.cpp.

References getWidth(), and S32_MAX.

Here is the call graph for this function:

S32 LLFontGL::getWidth ( const LLString utf8text,
const S32  offset,
const S32  max_chars 
) const [virtual]

Definition at line 915 of file llfontgl.cpp.

References getWidth(), and utf8str_to_wstring().

Here is the call graph for this function:

S32 LLFontGL::getWidth ( const llwchar wchars,
const S32  offset,
const S32  max_chars,
BOOL  use_embedded = FALSE 
) const [virtual]

Definition at line 921 of file llfontgl.cpp.

References getWidthF32(), and llround().

Here is the call graph for this function:

F32 LLFontGL::getWidthF32 ( const LLString utf8text  )  const [virtual]

F32 LLFontGL::getWidthF32 ( const llwchar wchars  )  const [virtual]

Definition at line 933 of file llfontgl.cpp.

References getWidthF32(), and S32_MAX.

Here is the call graph for this function:

F32 LLFontGL::getWidthF32 ( const LLString text,
const S32  offset,
const S32  max_chars 
) const [virtual]

Definition at line 938 of file llfontgl.cpp.

References getWidthF32(), and utf8str_to_wstring().

Here is the call graph for this function:

F32 LLFontGL::getWidthF32 ( const llwchar wchars,
const S32  offset,
const S32  max_chars,
BOOL  use_embedded = FALSE 
) const [virtual]

Definition at line 944 of file llfontgl.cpp.

References EXT_KERNING, getEmbeddedCharAdvance(), getEmbeddedCharData(), LLFont::getXAdvance(), LLFont::getXKerning(), i, LLFont::LAST_CHAR_FULL, llfloor(), NULL, S32, and sScaleX.

Here is the call graph for this function:

S32 LLFontGL::maxDrawableChars ( const llwchar wchars,
F32  max_pixels,
S32  max_chars = S32_MAX,
BOOL  end_on_word_boundary = FALSE,
const BOOL  use_embedded = FALSE,
F32 drawn_pixels = NULL 
) const [virtual]

S32 LLFontGL::firstDrawableChar ( const llwchar wchars,
F32  max_pixels,
S32  text_len,
S32  start_pos = S32_MAX,
S32  max_chars = S32_MAX 
) const [virtual]

Definition at line 1102 of file llfontgl.cpp.

References EXT_KERNING, getEmbeddedCharAdvance(), getEmbeddedCharData(), LLFont::getXAdvance(), LLFont::getXKerning(), i, llfloor(), llmin(), S32, and sScaleX.

Referenced by LLLineEditor::setCursor().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLFontGL::charFromPixelOffset ( const llwchar wchars,
const S32  char_offset,
F32  x,
F32  max_pixels = F32_MAX,
S32  max_chars = S32_MAX,
BOOL  round = TRUE,
BOOL  use_embedded = FALSE 
) const [virtual]

Definition at line 1176 of file llfontgl.cpp.

References EXT_KERNING, getEmbeddedCharAdvance(), getEmbeddedCharData(), LLFont::getXAdvance(), LLFont::getXKerning(), i, llfloor(), llmin(), NULL, S32, S32_MAX, and sScaleX.

Referenced by LLTextEditor::changeLine(), LLTextEditor::getCursorPosFromLocalCoord(), and LLLineEditor::setCursorAtLocalPos().

Here is the call graph for this function:

Here is the caller graph for this function:

LLImageGL * LLFontGL::getImageGL (  )  const

Definition at line 899 of file llfontgl.cpp.

References mImageGLp.

void LLFontGL::addEmbeddedChar ( llwchar  wc,
LLImageGL image,
const LLString label 
)

Definition at line 1314 of file llfontgl.cpp.

References utf8str_to_wstring().

Referenced by LLEmbeddedItems::bindEmbeddedChars().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFontGL::addEmbeddedChar ( llwchar  wc,
LLImageGL image,
const LLWString label 
)

void LLFontGL::removeEmbeddedChar ( llwchar  wc  ) 

Definition at line 1326 of file llfontgl.cpp.

References mEmbeddedChars.

Referenced by LLEmbeddedItems::unbindEmbeddedChars().

Here is the caller graph for this function:

LLString LLFontGL::nameFromFont ( const LLFontGL fontp  )  [static]

LLFontGL * LLFontGL::fontFromName ( const LLString name  )  [static]

Definition at line 1464 of file llfontgl.cpp.

References NULL.

Referenced by LLView::selectFont().

Here is the caller graph for this function:

LLString LLFontGL::nameFromHAlign ( LLFontGL::HAlign  align  )  [static]

Definition at line 1495 of file llfontgl.cpp.

References HCENTER, LEFT, and RIGHT.

Referenced by LLJoystick::getXML(), LLTextBox::getXML(), and LLButton::getXML().

Here is the caller graph for this function:

LLFontGL::HAlign LLFontGL::hAlignFromName ( const LLString name  )  [static]

Definition at line 1504 of file llfontgl.cpp.

References HCENTER, LEFT, and RIGHT.

Referenced by LLButton::fromXML(), and LLView::selectFontHAlign().

Here is the caller graph for this function:

LLString LLFontGL::nameFromVAlign ( LLFontGL::VAlign  align  )  [static]

Definition at line 1524 of file llfontgl.cpp.

References BASELINE, BOTTOM, TOP, and VCENTER.

LLFontGL::VAlign LLFontGL::vAlignFromName ( const LLString name  )  [static]

Definition at line 1534 of file llfontgl.cpp.

References BASELINE, BOTTOM, TOP, and VCENTER.

Referenced by LLView::selectFontVAlign().

Here is the caller graph for this function:

static void LLFontGL::setFontDisplay ( BOOL  flag  )  [inline, static]

Definition at line 207 of file llfontgl.h.

References sDisplayFont.

Referenced by LLViewerWindow::thumbnailSnapshot().

Here is the caller graph for this function:

const LLFontGL::embedded_data_t * LLFontGL::getEmbeddedCharData ( const llwchar  wch  )  const [protected]

Definition at line 1281 of file llfontgl.cpp.

References mEmbeddedChars, and NULL.

Referenced by charFromPixelOffset(), firstDrawableChar(), getWidthF32(), maxDrawableChars(), and render().

Here is the caller graph for this function:

F32 LLFontGL::getEmbeddedCharAdvance ( const embedded_data_t ext_data  )  const [protected]

Definition at line 1293 of file llfontgl.cpp.

References EXT_X_BEARING, LLImageGL::getWidth(), getWidthF32(), LLFontGL::embedded_data_t::mImage, LLFontGL::embedded_data_t::mLabel, and sScaleX.

Referenced by charFromPixelOffset(), firstDrawableChar(), getWidthF32(), and maxDrawableChars().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFontGL::clearEmbeddedChars (  )  [protected]

Definition at line 1308 of file llfontgl.cpp.

References mEmbeddedChars.

Referenced by LLFontGL(), and ~LLFontGL().

Here is the caller graph for this function:

void LLFontGL::renderQuad ( const LLRectf screen_rect,
const LLRectf uv_rect,
F32  slant_amt 
) const [protected]

Definition at line 1337 of file llfontgl.cpp.

References gGL, llfont_round_x(), llfont_round_y(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, LLGLImmediate::texCoord2f(), and LLGLImmediate::vertex2f().

Referenced by drawGlyph().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFontGL::drawGlyph ( const LLRectf screen_rect,
const LLRectf uv_rect,
const LLColor4 color,
U8  style,
F32  drop_shadow_fade 
) const [protected]

BOOL LLFontGL::addChar ( const llwchar  wch  )  [protected, virtual]

Reimplemented from LLFont.

Definition at line 541 of file llfontgl.cpp.

References LLFont::addChar(), FALSE, mImageGLp, mRawImageGLp, stop_glerror, and TRUE.

Here is the call graph for this function:

LLString LLFontGL::getFontPathLocal (  )  [static, protected]

Definition at line 202 of file llfontgl.cpp.

Referenced by loadFace(), and loadFaceFallback().

Here is the caller graph for this function:

LLString LLFontGL::getFontPathSystem (  )  [static, protected]

Definition at line 169 of file llfontgl.cpp.

References llendl, llformat(), llwarns, and NULL.

Referenced by loadFace(), and loadFaceFallback().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLTextBillboard [friend]

Definition at line 247 of file llfontgl.h.

friend class LLHUDText [friend]

Definition at line 248 of file llfontgl.h.


Member Data Documentation

F32 LLFontGL::sVertDPI = 96.f [static]

Definition at line 223 of file llfontgl.h.

Referenced by initDefaultFonts(), loadFace(), and loadFaceFallback().

F32 LLFontGL::sHorizDPI = 96.f [static]

Definition at line 224 of file llfontgl.h.

Referenced by initDefaultFonts(), loadFace(), and loadFaceFallback().

F32 LLFontGL::sScaleX = 1.f [static]

F32 LLFontGL::sScaleY = 1.f [static]

BOOL LLFontGL::sDisplayFont = TRUE [static]

Definition at line 227 of file llfontgl.h.

Referenced by render(), and setFontDisplay().

Definition at line 228 of file llfontgl.h.

Referenced by initDefaultFonts().

LLFontGL * LLFontGL::sMonospace = NULL [static]

Definition at line 231 of file llfontgl.h.

Referenced by destroyDefaultFonts(), and initDefaultFonts().

Definition at line 234 of file llfontgl.h.

Referenced by destroyDefaultFonts(), and initDefaultFonts().

LLFontGL * LLFontGL::sSansSerif = NULL [static]

LLFontList * LLFontGL::sSSFallback = NULL [static]

Definition at line 236 of file llfontgl.h.

Referenced by destroyDefaultFonts(), and initDefaultFonts().

LLFontGL * LLFontGL::sSansSerifBig = NULL [static]

Definition at line 238 of file llfontgl.h.

Referenced by destroyDefaultFonts(), and initDefaultFonts().

Definition at line 240 of file llfontgl.h.

Referenced by destroyDefaultFonts(), and initDefaultFonts().

Definition at line 242 of file llfontgl.h.

Referenced by destroyDefaultFonts(), destroyGL(), initDefaultFonts(), and nameFromFont().

Definition at line 243 of file llfontgl.h.

Referenced by destroyDefaultFonts(), and initDefaultFonts().

Definition at line 245 of file llfontgl.h.

Referenced by drawGlyph(), and LLUI::initClass().

Definition at line 256 of file llfontgl.h.

Referenced by addChar(), init(), loadFace(), and ~LLFontGL().

Definition at line 257 of file llfontgl.h.

Referenced by addChar(), destroyGL(), getImageGL(), init(), loadFace(), render(), and ~LLFontGL().

Definition at line 259 of file llfontgl.h.

Referenced by clearEmbeddedChars(), getEmbeddedCharData(), and removeEmbeddedChar().

std::vector< LLCoordFont > LLFontGL::sOriginStack [static]

Definition at line 263 of file llfontgl.h.

Referenced by LLUI::popMatrix(), and LLUI::pushMatrix().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:48:01 2008 for SecondLife by  doxygen 1.5.5