Forum Bugs

Printed italic character on a page with landscape orientation

chops
Hello,

I observed a strange issue on pages with landcape orientation: On screen-display the italic paragraph is shown correctly (screen_italic.png). But when I print the PDF, the characters are toppled (printed_italic.jpg). This issue occurs on different printers.

I'm using this HTML-markup for the paragraph:
<p style='font-family: Tahoma,DejaVu Sans,sans-serif;font-size: 10pt;line-height: 1.4em;margin-bottom: 4pt;orphans: 3;text-align: justify;'>
            <i>
              Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
            </i>
            <span class="fn"> Bundesministerium für Verkehr, Bau- und Wohnungswesen: Hinweise zur Erstellung von Mietspiegeln. Berlin 2002, S. 42. </span>
          </p>


The CSS page definition is
@page chapters {
  size: A4 landscape;
  @footnotes {
    border-top: solid black thin;
    padding-top: 8pt;
    padding-left: 12pt;
    padding-right: 12pt;
  }
  @bottom {
      margin-bottom: 1cm;
      content: "-" counter(page, decimal)"-";
      font-family: Tahoma, DejaVu Sans, Sans-Serif;
      font-size: 10pt;
    }
}


When I alter the page orientation to "portrait", the italic paragraph is printed correctly (printed_italic_portrait.jpg).

How can I fix this issue? I want to use "landscape" pages and italic type...

I'm using Prince 9.0 rev 5.


Best regards
Christian
  1. printed_italic.jpg2.3 MB
    Print
  2. printed_italic_portrait.jpg2.4 MB
    Portrait
  3. screen_italic.PNG99.8 kB
    Screen
chops
I created a PDF with an italic paragraph with FreePDF. The PDF is printed correctly, so it's no problem with our printers or a setting in my PDF-Viewer.

Thanks in advance
Christian
mikeday
Can you try running Prince with --no-artificial-fonts?
chops
The italic style is gone in the pdf.

So the italic font is missing and the synthesis don't look good on landscape pages?
mikeday
Yes, that seems to be the issue. We can try and fix the italic font synthesis problem. But in the meantime, providing an actual italic font file will fix the problem, and make the text look better as well. :)
chops
Ok, we choose the easy way and I'll try to install the italic font. :)

Thank you very much!

Edited by chops