From: W. Trevor King Date: Thu, 20 Sep 2012 23:04:35 +0000 (-0400) Subject: posts:pdf_forms: link to TextFieldFonts.java example for PDF font tweaks. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1d69cf39332bc250f7450f90a0747fad2dc16fb8;p=mw2txt.git posts:pdf_forms: link to TextFieldFonts.java example for PDF font tweaks. --- diff --git a/posts/PDF_forms.mdwn b/posts/PDF_forms.mdwn index 5d748c6..6e81bbc 100644 --- a/posts/PDF_forms.mdwn +++ b/posts/PDF_forms.mdwn @@ -131,10 +131,10 @@ using [pdffonts][]. CPZITK+HelveticaNeueLTStd-BlkCn Type 1C yes yes no 1739 0 … -If you don't have the right font for your new data, you should -complain to whoever generated the PDF that you're trying to fill out, -because I can't figure out how to attach a new font to an -already-generated PDF for use with your new data. +If you don't have the right font for your new data, you can add it +[using current versions of iText][TextFieldFonts.java]. However, +pdftk uses an older version, so I'm not sure how to translate this +idea for pdftk. FDF templates and field names ----------------------------- @@ -199,6 +199,7 @@ instead of bothering with PDFs ;). [BOM]: http://en.wikipedia.org/wiki/Byte_order_mark [utf-8-patch]: https://sourceforge.net/p/itext/patches/101/ [pdffonts]: http://poppler.freedesktop.org/ +[TextFieldFonts.java]: http://itextpdf.com/examples/iia.php?id=158 [identify_pdf_fields.js]: https://github.com/codehero/OpenTaxFormFiller/blob/master/script/identify_pdf_fields.js [YAML]: http://www.yaml.org/ [JSON]: http://www.json.org/