Share via


SetAsDefaultCharacter

Specifies the value of the character to substitute for characters not imported into the .tinyfnt font.

Syntax

SetAsDefaultCharacter charcode
      
    

Parameters

  • charcode
    The Unicode code point for the default character.

Remarks

A SelectFont statement that specifies the font from which to import glyphs must precede the SetAsDefaultCharacter statement in the .fntdef file. Otherwise TFConvert will fail. If there are multiple SelectFont statements, the one that more closely precedes the SetAsDefaultCharacter statement will be used.

Example

The following .fntdef file will import the uppercase characters from A to C, and set X as the default character.

AddFontToProcess "C:\Program Files\Microsoft .NET Micro Framework\v2.0.3036\Tools\Fonts\TrueType\Kooten.ttf"
SelectFont "WE:400,FN:Kootenay"
#import A, B, C
ImportRange 65 67
SetAsDefaultCharacter 88 #use X as default

See Also

Reference

SetDefaultCharacter
NoDefaultCharacter