Shifts a character or range of characters right or left.

OffsetX adjustment


An integer indicating the number of EM units to shift a character left or right. A positive number shifts the characters left, and a negative number shifts characters to the right.

The OffsetX option applies to the characters specified by any ImportRange, ImportRangeAndMap, or SetAsDefaultCharacter options that follow it in the .fntdef file and precede any subsequent OffsetX options in the same .fntdef file.

The following .fntdef file shifts letters A through C to the right but centers letters D through F.
      SelectFont "WE:400,FN:Pescadero"
      #Shift to the right then import the letters A through C
      OffsetX -3
      ImportRange 65 67
      #Undo the shift for D through F
      OffsetX 0
      ImportRange 68 70