{
    "mode": "man",
    "parameter": "fonttosfnt",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/fonttosfnt/1/json",
    "generated": "2026-10-25T19:12:28Z",
    "synopsis": "fonttosfnt [ options ] -o file.ttf [ -- ] font...",
    "sections": {
        "NAME": {
            "content": "fonttosfnt - Wrap a bitmap font in a sfnt (TrueType) wrapper\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "fonttosfnt [ options ] -o file.ttf [ -- ] font...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Wrap a bitmap font or a set of bitmap fonts in a sfnt (TrueType or OpenType) wrapper.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "-c",
                    "content": "est decrease in file size for small character cell fonts (terminal fonts).\n",
                    "flag": "-c"
                },
                {
                    "name": "-b",
                    "content": "smaller file size.\n",
                    "flag": "-b"
                },
                {
                    "name": "-r",
                    "content": "",
                    "flag": "-r"
                },
                {
                    "name": "-g _",
                    "content": "written; this is legal but confuses most current software.  If n is 1, a single  scal‐\nable  glyph  (the undefined glyph) is written; this is recommended, but triggers a bug\nin current versions of FreeType.  If n is 2 (the default), a sufficiently high  number\nof blank glyphs are written, which works with FreeType but increases file size.\n",
                    "flag": "-g"
                },
                {
                    "name": "-m _",
                    "content": "written, which may or may not be legal.  If n is 1, full metrics for  a  single  glyph\nare  written, and only left sidebearing values are written for the other glyphs.  If n\nis 2, scalable metrics for all glyphs are written, which increases file  size  and  is\nnot recommended.  The default is 1.\n\n--     End of options.\n",
                    "flag": "-m"
                }
            ]
        },
        "BUGS": {
            "content": "Some of the font-level values, notably sub- and superscript positions, are dummy values.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "X(7), Xserver(1), Xft(3x).  Fonts in X11.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "The version of Fonttosfnt included in this X.Org Foundation release was originally written by\nJuliusz Chroboczek <jch@freedesktop.org> for the XFree86 project.\n\nX Version 11                              fonttosfnt 1.0.4                             FONTTOSFNT(1)",
            "subsections": []
        }
    },
    "summary": "fonttosfnt - Wrap a bitmap font in a sfnt (TrueType) wrapper",
    "flags": [
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": "est decrease in file size for small character cell fonts (terminal fonts)."
        },
        {
            "flag": "-b",
            "long": null,
            "arg": null,
            "description": "smaller file size."
        },
        {
            "flag": "-r",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-g",
            "long": null,
            "arg": null,
            "description": "written; this is legal but confuses most current software. If n is 1, a single scal‐ able glyph (the undefined glyph) is written; this is recommended, but triggers a bug in current versions of FreeType. If n is 2 (the default), a sufficiently high number of blank glyphs are written, which works with FreeType but increases file size."
        },
        {
            "flag": "-m",
            "long": null,
            "arg": null,
            "description": "written, which may or may not be legal. If n is 1, full metrics for a single glyph are written, and only left sidebearing values are written for the other glyphs. If n is 2, scalable metrics for all glyphs are written, which increases file size and is not recommended. The default is 1. -- End of options."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "X",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/X/7/json"
        },
        {
            "name": "Xserver",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/Xserver/1/json"
        },
        {
            "name": "Xft",
            "section": "3x",
            "url": "https://www.chedong.com/phpMan.php/man/Xft/3x/json"
        }
    ],
    "tldr": {
        "source": "not_found",
        "examples": []
    }
}