https://bugs.documentfoundation.org/show_bug.cgi?id=154099

            Bug ID: 154099
           Summary: Printing to file produces a PDF of lesser quality than
                    converting to PDF
           Product: LibreOffice
           Version: 7.4.5.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: [email protected]
          Reporter: [email protected]

Consider the following text file, which comes from
  https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt

cventin:~> cat file.txt
Box drawing alignment tests:                                          █
                                                                      ▉
  ╔══╦══╗  ┌──┬──┐  ╭──┬──╮  ╭──┬──╮  ┏━━┳━━┓  ┎┒┏┑   ╷  ╻ ┏┯┓ ┌┰┐    ▊ ╱╲╱╲╳╳╳
  ║┌─╨─┐║  │╔═╧═╗│  │╒═╪═╕│  │╓─╁─╖│  ┃┌─╂─┐┃  ┗╃╄┙  ╶┼╴╺╋╸┠┼┨ ┝╋┥    ▋ ╲╱╲╱╳╳╳
  ║│╲ ╱│║  │║   ║│  ││ │ ││  │║ ┃ ║│  ┃│ ╿ │┃  ┍╅╆┓   ╵  ╹ ┗┷┛ └┸┘    ▌ ╱╲╱╲╳╳╳
  ╠╡ ╳ ╞╣  ├╢   ╟┤  ├┼─┼─┼┤  ├╫─╂─╫┤  ┣┿╾┼╼┿┫  ┕┛┖┚     ┌┄┄┐ ╎ ┏┅┅┓ ┋ ▍ ╲╱╲╱╳╳╳
  ║│╱ ╲│║  │║   ║│  ││ │ ││  │║ ┃ ║│  ┃│ ╽ │┃  ░░▒▒▓▓██ ┊  ┆ ╎ ╏  ┇ ┋ ▎
  ║└─╥─┘║  │╚═╤═╝│  │╘═╪═╛│  │╙─╀─╜│  ┃└─╂─┘┃  ░░▒▒▓▓██ ┊  ┆ ╎ ╏  ┇ ┋ ▏
  ╚══╩══╝  └──┴──┘  ╰──┴──╯  ╰──┴──╯  ┗━━┻━━┛  ▗▄▖▛▀▜   └╌╌┘ ╎ ┗╍╍┛ ┋  ▁▂▃▄▅▆▇█
                                               ▝▀▘▙▄▟

If I convert this file to PDF with writer_pdf_Export by using

cventin:~> libreoffice --headless --convert-to pdf file.txt
convert /home/vlefevre/file.txt -> /home/vlefevre/file.pdf using filter :
writer_pdf_Export

then I get a PDF with some spacing issues. But if I convert it to PDF via
printing to file

cventin:~> libreoffice --headless --print-to-file file.txt
print /home/vlefevre/file.txt -> /home/vlefevre/file.pdf using
<default_printer>

then the obtained has even more spacing issues.

I'm going to attach all these files.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to