thx - will take a look Wednesday - fully booked tomorrow

Am Montag, dem 11.12.2023 um 21:01 +0100 schrieb Tilman Hausherr:
> He has posted the file:
> https://drive.google.com/file/d/1BaU6iR4yIQAT-oQxGKFnsiIkLjm54GCE/view?usp=sharing
> 
> I can confirm the effect. Adobe shows a smaller font when clicking on
> it. It also happens when I set the field to a shorter text
> 
>          PDDocument doc = Loader.loadPDF(new
> File("..../unflattened.pdf"));
>          PDTextField field = (PDTextField) 
> doc.getDocumentCatalog().getAcroForm().getField("homePsdMunicipality"
> );
>          field.setValue("pgqqqqqqqqqqqq");
>          doc.save(new File("...../unflattenednew.pdf"));
> 
> 
> 
> Tilman
> 
> On 28.11.2023 21:38, sahy...@fileaffairs.de wrote:
> > we'd need the sample PDF and compare with what Acrobat does. But at
> > certain sizes a clipping might occur as the scaling ends at a
> > certain
> > size. That's also what Acrobat does.
> > 
> > All that stuff is based on looking at Acrobat generated samples and
> > trying to reproduce that in PDFBox. There is no detailed
> > documentation
> > about the layout model as this is not part of the PDF spec.
> > 
> > BR
> > Maruan
> > 
> > Am Dienstag, dem 28.11.2023 um 21:03 +0100 schrieb Tilman Hausherr:
> > > https://stackoverflow.com/questions/77558220/apache-pdfbox-gray-faint-underscores-2-0-26
> > > 
> > > I'm wondering if this is a bug or a feature / misunderstanding,
> > > that
> > > an
> > > autosize acroform text field may cut off glyphs vertically in
> > > some
> > > cases?
> > > 
> > > Tilman
> > > 
> > > 
> > > 
> > > 
> > > -----------------------------------------------------------------
> > > ----
> > > To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
> > > For additional commands, e-mail: dev-h...@pdfbox.apache.org
> > > 
> > 
> > -------------------------------------------------------------------
> > --
> > To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
> > For additional commands, e-mail: dev-h...@pdfbox.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: dev-h...@pdfbox.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to