ImportRangeAndMap

Specifies a range of Unicode characters to import.

Syntax

ImportRangeAndMap start end offset
      
      
      
    

Parameters

  • start
    An integer, that when added to offset, indicates the beginning of the range of Unicode characters to import.
  • end
    An integer, when added to offset, indicates the end of the range of Unicode characters to import.
  • offset
    An integer that indicates the offset from which start and end are calculated.

Remarks

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

The ImportRangeAndMap option may be applied multiple times per .fntdef file, to select non-contiguous ranges of characters.

Example

The following .fntdef file will import the uppercase characters from A to C.

SelectFont "WE:400,FN:Kootenay"
#import A, B, C
ImportRangeAndMap 0 2 65

See Also

Reference

ImportRange