nS_CreateFont(Font$, Size%, Bold%, Italic%, Underline%, ColorLevel%, OutlineColorLevel%, OutlineWeight%, Spacing%, [iFirstChar%=0], [iLastChar%=255], [iTexSize%=-1]) | Function |
Description: Creates a new font from parameters (very long process, not for in-game use, but rather to pre-generate font) | |
Parameters: Font$ = Font name Size% = Point size Bold% = Use bold? Italic% = Use italic? Underline% = Use underling? ColorLevel% = Color level (0-255) OutlineColorLevel% = Outline color level (0-255) OutlineWeight% = Outline width Spacing% = Spacing (pixels) between characters iFirstChar% [Default value = 0] = First ascii char to convert iLastChar% [Default value = 255] = Last ascii char to convert iTexSize% [Default value = -1] = Texture size (if algorithm fails) | |
Return value: The font handle |