Hello, The code that produced this PDF is in my first post.

I think you are right,  when Adobe reader opens this PDF, it uses
some appearance. But in my code I don't pre-define any appearance
at all...  If a correctly pre-defined appearance can make Adobe
reader display the annotation text using correct font, can you please
tell me how to do it ? Thanks.



Leonard Rosenthol wrote:
> 
> Given that I don't know how you produced this PDF in the first place,  
> I can't really comment specifically.
> 
> 
> What I see is Acrobat/Reader drawing the pre-defined appearance (/AP/ 
> N) when the file is open.  I guess this is what you think is  
> incorrect.  If so, whatever program created it did so with wrong  
> information/values.
> 
> When you click in the field, Acrobat/Reader takes your settings and  
> re-renders.  I guess this is what you think is correct, since it's  
> the values you specified.
> 
> Leonard
> 
> 
> On Apr 28, 2008, at 11:41 AM, johniText wrote:
> 
>>
>> Hi Leonard,
>>
>> Thanks for your help. Could you please open the PDF I uploaded
>> http://www.nabble.com/file/p16905159/textfield.pdf
>>
>> On my machine the weired thing is when this pdf is opened, the
>> font is not what I set in the java code. But if you click the text
>> and then do some modification to the text, then the font changes
>> to be what I set in my java code. My question is , why Adobe reader
>> knows the correct font only after I click the text and do some change
>> to it ?  Is there any thing I can do to make Adobe reader use the
>> correct font when the pdf file is opened, not wait until I click it  
>> and
>> do some change to it ?  Thanks a lot.
>>
>>
>>
>> Leonard Rosenthol wrote:
>>>
>>>
>>> On Apr 25, 2008, at 4:39 PM, johniText wrote:
>>>> I don't understand why the font Arial is used instead font
>>>> Helvetica. Helvetica is supposed to be a standard font and supposed
>>>> to be available in all PDF applications right ?
>>>>
>>>
>>> No, Helvetica is NOT guaranteed to be available in all PDF
>>> applications.  If you choose to use a font that isn't embedded, then
>>> the PDF viewer is free to substitute any font that it chooses.
>>> Hopefully, it will be a font that closely matches the one you've
>>> chosen - but it's not required.
>>>
>>> Leonard
>>>
>>>
>>>
>>> --------------------------------------------------------------------- 
>>> ----
>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>>> Don't miss this year's exciting event. There's still time to save  
>>> $100.
>>> Use priority code J8TL2D2.
>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http:// 
>>> java.sun.com/javaone
>>> _______________________________________________
>>> iText-questions mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>
>>> Do you like iText?
>>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>>> Or leave a tip: https://tipit.to/itexttipjar
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/need-help-on- 
>> TextField-font-tp16851001p16941703.html
>> Sent from the iText - General mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------- 
>> ---
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save  
>> $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http:// 
>> java.sun.com/javaone
>> _______________________________________________
>> iText-questions mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> Do you like iText?
>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>> Or leave a tip: https://tipit.to/itexttipjar
>>
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Do you like iText?
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Or leave a tip: https://tipit.to/itexttipjar
> 
> 

-- 
View this message in context: 
http://www.nabble.com/need-help-on-TextField-font-tp16851001p16952447.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to