NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Proportional font text widths (Score:1)
I can probably bundle up a general explanation and pass it on to the authors; is this worth doing, or is the problem already solved elsewhere?
Re:Proportional font text widths (Score:2)
Reply to This
Parent
Re:Proportional font text widths (Score:1)
Factoid #1: Positioning in PDF is given in thousandths of a point (ie 72000ths of an inch), as far as I can recall.
Factoid #2: The basic PDF fonts (Times, Courier, etc) have their exact metrics, including each character's width in 72000ths of an inch, defined in special files that are freely distributable and included in every installation of Adobe Reader (and presumably Ghostscript et al).
Factoid #3: The font metrics files are easily
Re:Proportional font text widths (Score:1)
Re:Proportional font text widths (Score:2)
Re:Proportional font text widths (Score:1)
I wrote a PDF generator in Delphi; it was quite an educational experience. I recommend the intellectual challenge.