[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.gef] Figure truncation when printing on Mac

Hi,

When printing on a Mac (Leopard) I'm seeing some figures truncate their contents - notably anything with a TextFlow in it, the last few chars at the right edge get chopped. Has anyone else experience this?

I believe the cause of the problem is that Printer.getDPI() always returns 72x72 - as reported in this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=219133, which also causes low quality output.

My diagrams are slightly larger than the available print area (small size due to low res reported) so the scale factor is just under 0.8, causing the TextFlow truncation.

Widening the figure containing the TextFlow doesn't work - presumably because its preferred size is based on the width of the contained text. Padding the text with spaces at the end does work. Is there a way to force the width of the TextFlow perhaps? Its currently in a StackLayout.

Thanks,
Justin