https://bugs.freedesktop.org/show_bug.cgi?id=42871

             Bug #: 42871
           Summary: Command line conversion of html to pdf using convert
                    to produces pdfs that don't look like html
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.4.2 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Using a simple html file like:

<html>
<body>
<h1>THIS IS SOME TEXT</h1>
<img src="image.png"/>
</body>
</html>

Where the image is big enough to push it to the second page;

Using the command line

loffice --convert-to pdf infile.html

the pdf produced does not match the html.  The first page is blank, "THI" of
"THIS" are cut off (reproduced on multiple attempts), and the image is drawn
very small following the text.

If you open the html file in the GUI and click on the Export Directly as PDF
button, the pdf looks the same as the html.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to