Font Error??

Ben <[email protected]> Wed, 17 Oct 2007 16:47:21 -0400 (EDT)
Newsgroups gmane.comp.lang.perl.modules.pdfapi2
Message-ID <32704679.1192654042281.JavaMail.root@elwamui-hybrid.atl.sa.earthlink.net>
I am trying to add font to the pdf, I beilieve I am doing this correctly by:

my %font = (
Myriad => {
Bold => $pdf->ttfont('MyriadPro-Bold.otf'),
Roman => $pdf->ttfont('MyriadPro-Regular.otf'),
},
);

and I call the font using $font{'Myriad '}{'Bold'}

but I get this error and I am not sure what it means

v2rep.pl: Argument "a" isn't numeric in array element at /usr/lib/perl5/site_perl/5.8.8/PDF/API2/R
esource/BaseFont.pm line 558.
[Wed Oct 17 13:05:28 2007] v2rep.pl: at /usr/lib/perl5/site_perl/5.8.8/PDF/API2/Resource/BaseFont.pm line 558 [Wed Oct 17 13:05:28 2007] v2rep.pl:
PDF::API2::Resource::BaseFont::wxByGlyph('PDF::API2::Resource::CIDFont::TrueT
ype=HASH(0x34ac700)', 'a') called at /usr/lib/ perl5/site_perl/5.8.8/PDF/API2/Resource/BaseFont.pm line 304 [Wed Oct 17 13:05:28 2007] v2rep.pl:
PDF::API2::Resource::BaseFont::avgwidth('PDF::API2::Resource::CIDFont::TrueTy
pe=HASH(0x34ac700)') called at /usr/lib/perl5/ site_perl/5.8.8/PDF/API2/Resource/BaseFont.pm line 121 [Wed Oct 17 13:05:28 2007] v2rep.pl:
PDF::API2::R
esource::BaseFont::descrByData('PDF::API2::Resource::CIDFont::Tru
eType=HASH(0x34ac700)') called at /usr/lib/per l5/site_perl/5.8.8/PDF/API2/Resource/CIDFont/TrueType.pm line 84 [Wed Oct 17 13:05:28 2007] v2rep.pl:
PDF::API2::Resource::CIDFont::TrueType::new('PDF::API2::Resource::CIDFont::Tr
ueType', 'PDF::API2::Basic::PDF::File=HASH(0x2
aaaaf5c0170)',
'/usr/lib/perl5/site_perl/5.8.8/PDF/API2/fonts/MyriadPro-Bold.otf') called at /usr/lib/perl5/site_perl/5.8.8/PDF/API2/Resource/CIDFont/TrueType.pm l ine 130 [Wed Oct 17 13:05:28 2007] v2rep.pl:
PDF::API2::Resource::CIDFont::TrueType::new_api('PD
F::API2::Resource::CIDFont
::TrueType', 'PDF::API2=HASH(0x2aaaaf5c0110)',
'/usr/lib/perl5/site_perl/5.8.8/PDF/API2/fonts/MyriadPro-Bold.otf') called at /usr/lib/perl5/site_perl/5.8.8/PDF/API2.pm line 1613 [Wed Oct 17 13:05:28 2007] v2rep.pl:
PDF::API2::ttfont('PDF::API2=HASH(0x2aaaaf5c0110)', 'MyriadPro-Bold.otf') called at v2rep.pl line 193

__._,_.___

Messages in this topic (1)

Reply (via web post) |
Start a new topic

Messages

| Polls
| Members

To unsubscribe from this group, send an email to:

perl-text-pdf-modules-unsubscribe-Km8ibD4bFueDmjp1MlKEbA@public.gmane.org

http://groups.yahoo.com/;_ylc=X3oDMTJkMXNyajUzBF9TAzk3NDc2NTkwBGdycElkAzIwMTczODIEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMTkyNjU0MDY2

Change settings via the Web (Yahoo! ID required)

Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional

Visit Your Group |
Yahoo! Groups Terms of Use |
Unsubscribe

Recent Activity

-

2

New Members

Visit Your Group

SPONSORED LINKS

- Convert pdf

- Create pdf

- Pdf to dxf

- Pdf server

- Pdf creator

Yahoo! Groups

Join a yoga group

and take the stress

out of your life.

Yahoo! Groups

Be a Better Planet

Share with others

Help the Planet.

Yahoo! Groups

Your one stop

for beauty & fashion

tips and advice.

.

__,_._,___