Changed asserts and exceptions in Font to non-fatal error messages. Changed BitmapText::CropToWidth to ask the font how many glyphs will fit instead of removing one glyph at a time.
This commit is contained in:
+2
-1
@@ -62,7 +62,8 @@ public:
|
||||
void SetMaxHeight( float fMaxHeight );
|
||||
void SetMaxDimUseZoom(bool use);
|
||||
void SetWrapWidthPixels( int iWrapWidthPixels );
|
||||
void CropToWidth( int iWidthInSourcePixels );
|
||||
void CropLineToWidth(size_t l, int width);
|
||||
void CropToWidth(int width);
|
||||
|
||||
virtual bool EarlyAbortDraw() const;
|
||||
virtual void DrawPrimitives();
|
||||
|
||||
Reference in New Issue
Block a user