{
    "mode": "perldoc",
    "parameter": "PDF::API2::Resource::Font::BdFont",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/PDF%3A%3AAPI2%3A%3AResource%3A%3AFont%3A%3ABdFont/json",
    "generated": "2026-06-13T12:45:10Z",
    "synopsis": "#\nuse PDF::API2;\n#\n$pdf = PDF::API2->new;\n$sft = $pdf->bdfont($file);\n#",
    "sections": {
        "NAME": {
            "content": "PDF::API2::Resource::Font::BdFont - Module for using bitmapped Fonts.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "#\nuse PDF::API2;\n#\n$pdf = PDF::API2->new;\n$sft = $pdf->bdfont($file);\n#\n",
            "subsections": []
        },
        "METHODS": {
            "content": "$font = PDF::API2::Resource::Font::BdFont->new $pdf, $font, %options\nReturns a BmpFont object.\n\nValid %options are:\n\n*-encode* ... changes the encoding of the font from its default. See *perl's Encode* for the\nsupported values.\n\n*-pdfname* ... changes the reference-name of the font from its default. The reference-name\nis normally generated automatically and can be retrieved via $pdfname=$font->name.\n",
            "subsections": []
        }
    },
    "summary": "PDF::API2::Resource::Font::BdFont - Module for using bitmapped Fonts.",
    "flags": [],
    "examples": [],
    "see_also": []
}