Description: I am trying to transition from Adobe Acrobat to Libreoffice Draw for making Fillable PDF forms, however draw seems to be lacking a feature. If I create a text box form control, draw the box, export as a PDF then type a long string of letters, the letters will truncated. This is unacceptable for any form that needs to be printed to paper. In adobe acrobat, if you set the font size of the text box to 'auto', the text will shrink to fit in the box instead of being truncated. According to this bug report in mozillas pdf reader https://github.com/mozilla/pdf.js/issues/15605 if the font size of the form is set to zero, then the PDF viewer should fit the text to the bounding box. As far as I am aware, there is no way to do this in draw. Steps to Reproduce: 1. Goto View -> Toolbars -> Form Controls to enable form controls 2. Click the 'Text Box' control from the form controls 3. Drag to create a text box 4. Export the file as a PDF 5. Open the PDF in a PDF viewer (Such as firefox or chrome) 6. Type a long string of letters that is greater than the length of the text box 6. Deselect the text box Actual Results: The text box it cut off Expected Results: The text should have been shrunk to fit the text box Reproducible: Always User Profile Reset: No Additional Info: Version: 7.6.3.2 (X86_64) / LibreOffice Community Build ID: 29d686fea9f6705b262d369fede658f824154cc0 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-AU (en_AU); UI: en-US Calc: threaded
Min height of fonts could only be set to 2 pt in properties of the textbox. Don't know if this feature will work if there could be set '0'. Have tested also with Scribus - min height 0,5 pt. So I don't know any free program for creating PDF-files, which could set 0 here and will work well. If I open the document from bug report of Mozilla in a local PDF-viewer the viewer will show no content in such a field (viewer Okular for Linux/KDE). Might be because the text will be set to 0. Whit Foxit Reader it will show Text in maximum length. I will mark this one to NEW. Hope there is someone who could try to set font height to 0 and test if it will work … Have set the component to LibreOffice, because forms will be used in Writer, Calc, Base, Draw …