Earlier I wrote about the joys of Linux, fonts, snaps. Today, a new but similar challenge. Its tax form time. And, we can sign them remote. Great. What’s this? A new font? CCHTaxFont? What is that?
pdffonts tax-forms.pdf name type encoding emb sub uni object ID ------------------------------- ----------------- ---------------- --- --- --- --------- DEVEXP+TimesNewRoman CID TrueType Identity-H yes yes yes 63 0 DEVEXP+TimesNewRoman,Bold CID TrueType Identity-H yes yes yes 70 0 WPCUBE+Arial TrueType Custom yes yes no 23 0 WPCUBE+CCHTaxFont TrueType WinAnsi yes yes no 27 0 WPCUBE+Arial,Bold TrueType Custom yes yes no 31 0 WPCUBE+Arial TrueType Custom yes yes no 34 0 WPCUBE+Tahoma TrueType Custom yes yes no 38 0 WPCUBE+Tahoma TrueType Custom yes yes no 41 0 WPCUBE+Arial,Italic TrueType Custom yes yes no 45 0
OK, no problem, I’ll just Google that. Hmm. Problem. OK, let’s find a way to make the embedded font in the pdf into a ttf truetype font.
$ mutool info tax-forms.pdf PDF-1.7 Info object (78 0 R): </Author/Subject/Keywords/Creator/Producer/CreationDate(...>> Pages: 7 Retrieving info from pages 1-7… Mediaboxes (1): 1 (61 0 R): [ 0 0 612 792 ] Fonts (9): 1 (61 0 R): Type0 'DEVEXP+TimesNewRoman' Identity-H (63 0 R) 1 (61 0 R): Type0 'DEVEXP+TimesNewRoman,Bold' Identity-H (70 0 R) 2 (48 0 R): TrueType 'WPCUBE+Arial' WinAnsiEncoding (23 0 R) 2 (48 0 R): TrueType 'WPCUBE+CCHTaxFont' WinAnsiEncoding (27 0 R) 2 (48 0 R): TrueType 'WPCUBE+Arial,Bold' WinAnsiEncoding (31 0 R) 2 (48 0 R): TrueType 'WPCUBE+Arial' WinAnsiEncoding (34 0 R) 2 (48 0 R): TrueType 'WPCUBE+Tahoma' WinAnsiEncoding (38 0 R) 2 (48 0 R): TrueType 'WPCUBE+Tahoma' WinAnsiEncoding (41 0 R) 2 (48 0 R): TrueType 'WPCUBE+Arial,Italic' WinAnsiEncoding (45 0 R) $ mutool extract tax-forms.pdf 2 $ cp *Tax* ~/.fonts
Done. Hope you enjoyed if you had to use Libreoffice to sign your forms this year. Next year I hope to convince them to use SignRequest and do it online.
Leave a Reply