3ds Max C++ API Reference
Fixed font related methods

3ds Max uses fixed, non-anti-aliased fonts only when this is strictly required. More...

Functions

CoreExport HFONT GetFixedFont ()
 Return the fixed font used by 3ds Max. More...
 
CoreExport HFONT GetFixedFont_LocalCharSet ()
 Return the fixed font used by 3ds Max, based on the 3ds Max's language and character set. For internal use only. More...
 
CoreExport HFONT GetFixedFontBold ()
 Return the fixed bold font used by 3ds Max. More...
 
CoreExport HFONT GetFixedFontBold_LocalCharSet ()
 Return the fixed bold font used by 3ds Max, based on the 3ds Max's language and character set. For internal use only. More...
 
CoreExport LONG GetFixedFontHeight ()
 Returns the height of the fixed font used by 3ds Max. More...
 
CoreExport LONG GetFixedFontHeightSmall ()
 Returns the height of the small fixed font used by 3ds Max. More...
 
CoreExport DWORD GetFixedFontCharset ()
 Returns the fixed font character set for the language currently used by 3ds Max. More...
 
CoreExport const MCHARGetFixedFontFace ()
 Returns the font face string for the fixed font used by 3ds Max. More...
 

Detailed Description

3ds Max uses fixed, non-anti-aliased fonts only when this is strictly required.

For example, its easier to ignore text written on top of a rendered image if the text has hard edges and it's displayed in a solid color. Thus, such text could be written with the font returned by the GetFixedFont() function.

In general, text displayed in user interfaces should use the font returned by GetUIFont(). Plug-ins should in general use the User Interface (UI) font related methods when displying text in traditional window based user interfaces.

Function Documentation

◆ GetFixedFont()

CoreExport HFONT GetFixedFont ( )

Return the fixed font used by 3ds Max.

Returns
HFONT object representing the font

◆ GetFixedFont_LocalCharSet()

CoreExport HFONT GetFixedFont_LocalCharSet ( )

Return the fixed font used by 3ds Max, based on the 3ds Max's language and character set. For internal use only.

Returns
HFONT object representing the font

◆ GetFixedFontBold()

CoreExport HFONT GetFixedFontBold ( )

Return the fixed bold font used by 3ds Max.

Returns
HFONT object representing the font

◆ GetFixedFontBold_LocalCharSet()

CoreExport HFONT GetFixedFontBold_LocalCharSet ( )

Return the fixed bold font used by 3ds Max, based on the 3ds Max's language and character set. For internal use only.

Returns
HFONT object representing the font

◆ GetFixedFontHeight()

CoreExport LONG GetFixedFontHeight ( )

Returns the height of the fixed font used by 3ds Max.

Returns
Font height (14 for English & European languages, 12 for Asian languages)

◆ GetFixedFontHeightSmall()

CoreExport LONG GetFixedFontHeightSmall ( )

Returns the height of the small fixed font used by 3ds Max.

Returns
Font height (8 for English & European languages, 9 for Asian languages)

◆ GetFixedFontCharset()

CoreExport DWORD GetFixedFontCharset ( )

Returns the fixed font character set for the language currently used by 3ds Max.

Returns
character set for the current language

◆ GetFixedFontFace()

CoreExport const MCHAR* GetFixedFontFace ( )

Returns the font face string for the fixed font used by 3ds Max.

Returns
Font face string for the fixed font.