The FF PDF viewer is VERY new and VERY buggy. If it works everywhere else, you
can safely assume it's FF
From: Kostas <k...@dataverse.gr<mailto:k...@dataverse.gr>>
Reply-To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Date: Monday, November 4, 2013 7:53 AM
To: Post here
<itext-questions@lists.sourceforge.net<mailto:itext-questions@lists.sourceforge.net>>
Subject: [iText-questions] TextField appears upside-down and at the wrong place
in FF
Hello.
I add some TextFields in a PDF like so:
var txtFld = new
TextField(stamper.Writer, new Rectangle(cRightX - cWidthX, cTopY3, cRightX,
cTopY), cFieldName)
{
Font =
bf,
FontSize = cHeaderFontSize,
Alignment = Element.ALIGN_RIGHT,
Options = PdfFormField.FF_MULTILINE | BaseField.REQUIRED,
};
var ff = txtFld.GetTextField();
ff.Flags =
PdfAnnotation.FLAGS_PRINT | PdfAnnotation.FLAGS_READONLY;
ff.SetPage();
stamper.AddAnnotation(ff, 1);
..and it works pretty much OK in all PDF viewers except the viewer in Firefox
(it uses somePDF vieweradd-in as far as I can tell).
There it is displayedupside-down and at the wrong place.
It seemslike it tries to render the fields with the page rotated 180degrees, so
instead of putting them on the top of the page, it puts them at the bottom and
upside-down.
Also, the field text is not selectable.
Has anyone seen anything like this before?
Is this a bug of the viewer or I’m doing sth wrong?
Thanks.
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php