Menu

#25 Title box too narrow when using PDF multi page print

v1.0 (example)
closed-fixed
nobody
None
5
2016-04-25
2016-04-18
No

This bug seems to be similar to ticket #12. Title box is too narrow when pushing PDF Button or "Print/export multi-page PDF" from file menu.

But when when I do through File->Export->select PDF, then the output is correct.

#![This is title to demonstrate the bug]

Me:Actor
sdedit:GUI

Me:sdedit.Push PDF Button or "Print/export multi-page PDF" from file menu
sdedit:Me.Wrong PDF generated - title box too narrow
sdedit:stop

Me:sdedit.Select Export from File menu, PDF format
sdedit:Me.Correct PDF generated

I attached examples of title-bad.pdf (too narrow title box), and the correct one title.pdf

2 Attachments

Discussion

  • Ladislav Dobias

    Ladislav Dobias - 2016-04-18

    Add to previous example: it seems that first line was not pasted properly, it should be: #![This is title to demonstrate the bug]

     
  • Markus Strauch

    Markus Strauch - 2016-04-23

    "Print/export multi-page PDF" uses the metrics of the font that is configured for the diagram, but it never actually uses it for drawing text, instead the default font is used. I have fixed this, the changes are already online at github. It might still happen that texts appear wider in a PDF/PS than the metrics have predicted (try very long sentences or a sequence of iiii... or something like this).

     

    Last edit: Markus Strauch 2016-04-25
  • Markus Strauch

    Markus Strauch - 2016-04-25

    I've uploaded a new release (beta7) that exports PDF with more or less valid font metrícs.

     
  • Markus Strauch

    Markus Strauch - 2016-04-25
    • status: open --> closed-fixed
     

Log in to post a comment.