PDF::AP...::BdFont(3)
π PDF::AP...::BdFont(3) π
okay bestie, welcome to the manual page for PDF::API2::Resource::Font::BdFont β yes that's the whole name, don't @ me, it's a Perl module thing β¨
β¨ NAME β¨
PDF::API2::Resource::Font::BdFont β bestie it's literally the Module for using bitmapped Fonts. that's it. that's the job. π
πΈ SYNOPSIS πΈ
like, here's the whole vibe, no notes:
#
use PDF::API2;
#
$pdf = PDF::API2->new;
$sft = $pdf->bdfont($file);
#
see how easy that was?? iconic. π
π¦ METHODS π¦
$font = PDF::API2::Resource::Font::BdFont->new $pdf, $font, %optionsβ ok so this one hands you back a BmpFont object. that's the whole flex. π«Ά
Valid %options are, and listen closely bc this is the whole menu:
-encodeβ this one changes the encoding of the font away from its default. wanna know which values are allowed? go look at perl'sEncode, it has the receipts. π-pdfnameβ this changes the reference-name of the font, from its default. and here's the tea: the reference-name is normally generated automatically, and you can grab it back later via$pdfname=$font->name. so it's not lost forever, bestie, it's just chillin' π
ngl this one's short but it's a whole mood. no cap, the whole module is: make bitmapped font object, tweak the encoding if u want, tweak the name if u want. periodt. π
and that's the page!! this beauty ships as part of perl v5.42.0, dated 2025-09-01, under the PDF::AP...::BdFont(3) manual. go forth and render ur fonts, main character πβ¨ππ
π¦ where this page comes from
- fedora 43: perl-PDF-API2 2.048-1.fc43 Β· LGPL-2.1-or-later AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND (MIT OR Artistic-1.0-Perl)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms