xrdp-mkfv1(8)

NAME
xrdp-mkfv1 - Create .fv1 font files from other font files

SYNOPSIS
xrdp-mkfv1 [ options ] font_file fv1_file

DESCRIPTION
xrdp-mkfv1 can be used to convert a font file such as a TrueType font to a fv1 file.

OPTIONS
A summary of options is included below.

-n <font_name>
    Give the font a name, which is stored in the font header. The default is to use the font family name from the source font.

-p <number>
    Set the point size of the font. A fixed DPI value of 96 is used for converting this value into a pixel size. The default value for this option is '10'.

-m <glyph>
    Set the limit on the glyphs stored in the font file. The argument is the last glyph stored in the font file. Specify the glyph using one of the following strings: U+<hex> - Unicode character, e.g. U+25 for a percentage symbol (%). @<char> - Unicode character, e.g. @% for a percentage symbol. number - Unicode value as an integer, e.g. 37 for a percentage symbol The default value for this option is 'U+4DFF'.

-C  When used with the "DejaVu Sans" font at a point-size of 10, a small number of glyphs are assigned a different x-offset than they have when the original Windows font generation program is used. This switch can be used to preserve the original x-offsets for glyphs in the range U+0020 - U+00FF when a 10 point DajaVu Sans font is generated. Use one of the following arguments to this option:- auto - Automatic mode. Offsets are preserved if a "DajaVu Sans" 10-point font is converted. on / true / yes - Preserve offsets if automatic font detection does not work. off / false / no - Do not tamper with the offsets generated by the program. The default value of this switch is auto. To see the effects of this switch, set the MKFV1_LOG_LEVEL environment variable to info before running the program.

EXAMPLES

xrdp-mkfv1 -p18 /path/to/DejaVuSans.ttf ./sans-18.fv1
    Generate an 18-point Deja Sans font.

xrdp-mkfv1 -C off -p10 /path/to/DejaVuSans.ttf ./sans-10.fv1
    Generate a 10-point DajaVu Sans font using natural offsets.

SEE ALSO
xrdp-dumpfv1(8). More info on xrdp can be found on the xrdp homepage (@xrdphomeurl@)