Search the web
Sign In
New User? Sign Up
perl-text-pdf-modules · Mailing-List for Users of PDF::API2
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: Announcing PDF::Kit - some subroutinesfor working with PDF::API2   Message List  
Reply | Forward Message #3672 of 3697 |
RE: [perl-text-pdf-modules] Announcing PDF::Kit - some subroutinesfor working with PDF::API2

On Mon, 2009-07-06 at 12:38 -0500, Jay Hannah wrote:
> Sure, it does any font you have the font file for -- bold, italic, underlined,
color changes, size, whatever. <i> is whatever font file you assign to <i>.
>
> No, PDF::TextBlock doesn't do nesting. If you want three fonts (1) bold (2)
italic (3) bold AND italic; then you have to define 3 tags for that, and use
them one at a time.
>
> PDF::TextBlock does justify, fulljustify, left, and right.
>
> Patches welcome! :)
>
> j

This is not clear in the documentation. For example, how do I specify
two different sizes?

BTW, what you call a font is not a font; it's a typeface. This started
with Adobe and has perpetuated since. A font has a typeface and a size.
This is because if you print a typeface at 72 pt and at 6 pt and blew up
the 6 pt until it's the same height as the 72 pt, you would notice that
the strokes on the 72 pt are narrower than the 6 pt one. This is to
make it more pleasing to look at.

The problem is that PDF::API2 associates a typeface object with the pdf
one and the font object with the text object. It is not clear in the
documentation on how to access the text object so that different sizes
may be used.

BTW, lead is named after the metal lead, atomic symbol Pb, and is the
distance, in points, between the baselines. At one time it was the size
of the lead spacers used to separate the rows of type in the block.

--
Just my 0.00000002 million dollars worth,
Shawn

Programming is as much about organization and communication
as it is about coding.





Mon Jul 6, 2009 6:27 pm

shawnhcorey...
Offline Offline
Send Email Send Email

Forward
Message #3672 of 3697 |
Expand Messages Author Sort by Date

Sure, it does any font you have the font file for -- bold, italic, underlined, color changes, size, whatever. <i> is whatever font file you assign to <i>. No,...
Jay Hannah
deeferret
Offline Send Email
Jul 6, 2009
5:38 pm

Feel free to browse the demos http://github.com/jhannah/pdf-textblock/downloads <http://github.com/jhannah/pdf-textblock/downloads> j ...
Jay Hannah
deeferret
Offline Send Email
Jul 6, 2009
5:42 pm

... This is not clear in the documentation. For example, how do I specify two different sizes? BTW, what you call a font is not a font; it's a typeface. This...
Shawn H. Corey
shawnhcorey...
Offline Send Email
Jul 6, 2009
6:27 pm

... You specify size whenever you instantiate a PDF::TextBlock::Font object: http://github.com/jhannah/pdf-textblock/blob/master/t/20-demo.t ... Oops! I¹m...
Jay Hannah
deeferret
Offline Send Email
Jul 6, 2009
6:50 pm

... Most other parts were made up of harder metals to withstand the pressures. It is called a press; a lot of force is used. Lead is used because it is...
Shawn H. Corey
shawnhcorey...
Offline Send Email
Jul 6, 2009
7:21 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help