AdjustLeftMargin

AdjustLeftMargin

Adjusts the left margin of a range of characters.

AdjustLeftMargin adjustment
      
    

Parameters

adjustment
An integer indicating the number of device units to add to the left margin. A positive number increases the left margin on each glyph in the next ImportRange, and a negative number decreases it.

By default, the margins applied to each character are set to 0. If the left margin is decreased to less than 0, the character may shift to the left far enough to overlap with the previous character.

The AdjustLeftMargin option applies to the characters specified by the ImportRange option most immediately following it in the .fntdef file.

The following .fntdef file increases the left margin for letters A through C but resets it for D through F.
      SelectFont "WE:400,FN:Pescadero"
      #Increase the left margin and then import the letters A through C
      AdjustLeftMargin 3
      ImportRange 65 67
      #reset the left margin for D through F
      AdjustLeftMargin 0
      ImportRange 68 70
    
Show:
© 2016 Microsoft