The original field doesn’t have an appearance – which is why the text 
disappears when you remove NeedAppearance.

You would need to generate appearances for ALL fields to make this work.

Leonard

On 11/16/16, 11:15 AM, "zyx" <z...@litepdf.cz> wrote:

    On Wed, 2016-11-16 at 18:49 +0000, Leonard Rosenthol wrote:
    > So the best thing here is to add appearance generation functionality
    > and then invoke it as part of Signing.
    
        Hi,
    thanks for a quick reply. The problem is that my added annotation has a
    /AP dictionary, with a /N key only. Neither the signature panel notices
    the signature though.
    
    I generated a simple file using Libreoffice and then signed it
    (attached). The original file has only one annotation, the new file has
    two, the original and the signature field. The signature is 20 0 obj.
    When I edit the file and remove the "/NeedAppearances true" from the
    updated AcroForm (overwrote with spaces), then I see what I expected to
    see. The original field has also "deftext" default value, which is not
    shown after my manual changes in the file content after open. The value
    is shown only when I select the field, which is sort of funny (focused-
    >shown, unfocused->hidden). Note that I have basically no control on
    the input PDF file, I only sign it and that's all.
        Bye,
        zyx
    
    P.S.: I may also note that I use pretty ancient Acrobat reader (9.5.5),
    though I think it doesn't matter that much, does it? 
    
    -- 
    http://www.litePDF.cz                                 i...@litepdf.cz

------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to