I've read the font chapters in the book twice and I'm now twice as
I'm producing statements for a credit union and we need to print some
routing numbers in OCR font. Only numbers can appear in a routing
number, so I only need to embed 0 - 9.
Are only the glyphs that get used being embedded, or are a-z also
embedded? If so, how do you specify only a subset (0-9) should be
Code is as follows:
//embed the OCR font
BaseFont ocrBaseFont =
//print the routing / micr number
cb.showText("0000000000000 99 00002000 00007777 042509");
The PEN is now mightier than the PIN. Simply use your PEN
instead of your PIN and sign for your PEFCU Visa Check Card
purchases. Earn bonus points redeemable for gift and travel
awards. Combine PEFCU Visa check card and credit card points
for even more rewards.
***This is a transmission from Purdue Employees Federal Credit
Union (PEFCU) and is intended solely for its authorized
recipient(s), and may contain information that is confidential
and or legally privileged. If you are not an addressee, or the
employee or agent responsible for delivering it to an addressee,
you are hereby notified that any use, dissemination,
distribution, publication or copying of the information
in this email is strictly prohibited. If you have received this
transmission in error, please notify us by telephoning (765)
497-3328 or returning the email. You are then instructed to
delete the information from your computer. Thank you for your
Jason Berk wrote:
> I've read the font chapters in the book twice and I'm now twice as
Compare figure 8.5 with for instance figures 8.7 and 8.11.
Figure 8.5 tells you the fonts are (Embedded); the other two say there's
an (Embedded subset). As explained in the book, some fonts are ALWAYS
embedded (for instance when you use a pfb file), some are NEVER embedded
(for instance CJK fonts, or when you only use an afm file), some are
AUTOMATICALLY subset (for instance TTF, OTF and TTC).
You're talking about a TTF file, so if you open the Document >
Properties > Font box, you should see (Embedded subset) which means only
the glyphs that are used are embedded.