Use "Arial Bold" as the font name instead of just "Arial" should do the trick...

Leonard

From: David Thielen [mailto:da...@windward.net]
Sent: Tuesday, February 17, 2009 5:02 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Can't edit bold arial in Acrobatafter creating 
PDF

Ok, I know this is a dumb question but how do I do that under iText?

Thanks - dave


David Thielen
303-499-2544 x1185
720-352-0676 (cell)

From: Leonard Rosenthol [mailto:lrose...@adobe.com]
Sent: Tuesday, February 17, 2009 1:17 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Can't edit bold arial in Acrobatafter creating 
PDF

Don't use Font.BOLD - instead, pick the font manually.

Leonard


On 2/17/09 2:52 PM, "David Thielen" <da...@windward.net> wrote:
Hi;

I understand that. The two probelems we are having are:

We call FontFactory.getFont("Arial", baseFont.IDENTITY_H, true, 12.0, 
Font.BOLD); and the BaseFont it returns has a fontName of "Arial-BoldMT". So 
the first question is how can we set the font to Arial rather than ArialMT and 
Arial,Bold rather than Arial-BoldMT?

Second, when I use the text touch up tool on my system, the same system that 
did the above conversion to ArialMT - it tells me it cannot find ArialMT and 
will use Arial instead. Si it's like iText does a name mapping that Acrobat 
cannot do?

Third, when our customer goes to use the text touchup tool, she gets a message 
saying Acrobat cannot find a substitute font for the bold. It does do ok for 
the non-bold.

??? - thanks - dave




David Thielen
303-499-2544 x1185
720-352-0676 (cell)


From: Leonard Rosenthol [mailto:lrose...@adobe.com]
Sent: Tuesday, February 17, 2009 4:43 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Can't edit bold arial in Acrobatafter creating 
PDF

Because the font specified in the PDF is "Arial-BoldMT" NOT "Arial Bold" - two 
different fonts...

Leonard


From: David Thielen [mailto:da...@windward.net]
Sent: Tuesday, February 17, 2009 3:29 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Can't edit bold arial in Acrobat after creating 
PDF


Here you go. Acrobat ver 9 running on XP w/ SP-3.



thank you - dave

________________________________

From: Leonard Rosenthol [mailto:lrose...@adobe.com]
Sent: Mon 2/16/2009 11:14 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Can't edit bold arial in Acrobat after creating 
PDF

Please provide a sample PDF the demonstrates the problem.

Also, what version of Acrobat is being used on what OS platform?

Leonard


From: David Thielen [mailto:da...@windward.net]
Sent: Monday, February 16, 2009 12:00 PM
To: itext
Subject: [iText-questions] Can't edit bold arial in Acrobat after creating PDF


Hi;



We're getting this issue from one of our customers. The PDFs we create use 
unicode for all text so all fonts are embedded. We build the PDF from a Word 
document.

I open new document in Word.
Add some text, choose Arial in the fonts dropdown list.
Add an other line of text, choose Arial in the fonts dropdown list and select 
the "bold" button.
Save the document as an RTF
Create a PDF.
Open the PDF in Acrobat Reader. The font types are now Arial-MT and 
Arial-BoldMT. And it are embedded subsets.

When I open the PDF in Adobe Acrobat Professional, I can perfectly add some 
text to the default Arial text. When I want to add some text to the bold Arial 
text, I get an error message that the font is a subset and that no compatible 
system font can be found. Which is strange because I have ARIALBD.TTF in my 
Fonts folder.

Any ideas?



thanks - dave

--
Leonard Rosenthol
PDF Standards Architect
Adobe Systems Incorporated
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to