Title box too narrow when using PDF multi page print
Brought to you by:
sdedit
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
Add to previous example: it seems that first line was not pasted properly, it should be:
#![This is title to demonstrate the bug]"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
I've uploaded a new release (beta7) that exports PDF with more or less valid font metrícs.