{
    "mode": "man",
    "parameter": "BDFTOPCF",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/BDFTOPCF/1/json",
    "generated": "2026-11-10T03:24:47Z",
    "synopsis": "bdftopcf  [  -pn  ] [ -un ] [ -m ] [ -l ] [ -M ] [ -L ] [ -t ] [ -i ] [ -o outputfile ] font‐\nfile.bdf",
    "sections": {
        "NAME": {
            "content": "bdftopcf - convert X font from Bitmap Distribution Format to Portable Compiled Format\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "bdftopcf  [  -pn  ] [ -un ] [ -m ] [ -l ] [ -M ] [ -L ] [ -t ] [ -i ] [ -o outputfile ] font‐\nfile.bdf\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Bdftopcf is a font compiler for the X server and font server.   Fonts  in  Portable  Compiled\nFormat can be read by any architecture, although the file is structured to allow one particu‐\nlar architecture to read them directly without reformatting.  This allows fast reading on the\nappropriate  machine,  but  the  files are still portable (but read more slowly) on other ma‐\nchines.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-p",
                    "content": "in to a multiple of n bytes, where n is 1, 2, 4 or 8.\n",
                    "flag": "-p"
                },
                {
                    "name": "-u",
                    "content": "order,  the scanline unit n describes what unit of data (in bytes) are to be swapped;\nthe unit i can be 1, 2 or 4 bytes.\n",
                    "flag": "-u"
                },
                {
                    "name": "-m",
                    "content": "will  be  placed  in this order; i.e., the left most bit on the screen will be in the\nhighest valued bit in each unit.\n",
                    "flag": "-m"
                },
                {
                    "name": "-l",
                    "content": "the screen will be in the lowest valued bit in each unit.\n",
                    "flag": "-l"
                },
                {
                    "name": "-M",
                    "content": "bitmaps and everything else) will be written most significant byte first.\n",
                    "flag": "-M"
                },
                {
                    "name": "-L",
                    "content": "bitmaps and everything else) will be written least significant byte first.\n",
                    "flag": "-L"
                },
                {
                    "name": "-t",
                    "content": "possible.  A terminal font has each glyph image padded to the same size; the X server\ncan usually render these types of fonts more quickly.\n",
                    "flag": "-t"
                },
                {
                    "name": "-i",
                    "content": "images which do not fill the bitmap image (i.e., the \"on\" pixels don't extend to  the\nedges of the metrics) bdftopcf computes the actual ink metrics and places them in the\n.pcf file; the -t option inhibits this behaviour.\n",
                    "flag": "-i"
                },
                {
                    "name": "-o",
                    "content": "By  default  bdftopcf  writes  the pcf file to standard output; this option gives the\nname of a file to be used instead.\n",
                    "flag": "-o"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                }
            ]
        },
        "SEE ALSO": {
            "content": "X(7)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Keith Packard, MIT X Consortium\n\nX Version 11                                bdftopcf 1.1                                 BDFTOPCF(1)",
            "subsections": []
        }
    },
    "summary": "bdftopcf - convert X font from Bitmap Distribution Format to Portable Compiled Format",
    "flags": [
        {
            "flag": "-p",
            "long": null,
            "arg": null,
            "description": "in to a multiple of n bytes, where n is 1, 2, 4 or 8."
        },
        {
            "flag": "-u",
            "long": null,
            "arg": null,
            "description": "order, the scanline unit n describes what unit of data (in bytes) are to be swapped; the unit i can be 1, 2 or 4 bytes."
        },
        {
            "flag": "-m",
            "long": null,
            "arg": null,
            "description": "will be placed in this order; i.e., the left most bit on the screen will be in the highest valued bit in each unit."
        },
        {
            "flag": "-l",
            "long": null,
            "arg": null,
            "description": "the screen will be in the lowest valued bit in each unit."
        },
        {
            "flag": "-M",
            "long": null,
            "arg": null,
            "description": "bitmaps and everything else) will be written most significant byte first."
        },
        {
            "flag": "-L",
            "long": null,
            "arg": null,
            "description": "bitmaps and everything else) will be written least significant byte first."
        },
        {
            "flag": "-t",
            "long": null,
            "arg": null,
            "description": "possible. A terminal font has each glyph image padded to the same size; the X server can usually render these types of fonts more quickly."
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": "images which do not fill the bitmap image (i.e., the \"on\" pixels don't extend to the edges of the metrics) bdftopcf computes the actual ink metrics and places them in the .pcf file; the -t option inhibits this behaviour."
        },
        {
            "flag": "-o",
            "long": null,
            "arg": null,
            "description": "By default bdftopcf writes the pcf file to standard output; this option gives the name of a file to be used instead."
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "X",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/X/7/json"
        }
    ]
}