first column in print squeezed out

Started by plaster, September 14, 2012, 08:52:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

plaster

I printed the timetable for the teachers (and the classes too), and while the Tuesday-Saturday columns occupy the same space, the Monday one is thinned out to the width of a single letter, so the name of the teacher, or the subject, are written vertically along the page.
I find it weird that no one noticed it earlier, so I'm probably getting something wrong, but I can't get what it is...

Liviu Lalescu

Let's wait for Volker's answer, he is in charge with this.

Volker Dirr

That can happen if the table is to wide for the paper.

So you can try one of the following things to fix that:

a) make the paper width larger. for example by printing landscape instead of portrait.

b) make the table less wide. for example by reducing the font size.

c) try to force warp mode (try "pre" or "pre-wrap" instead of normal.).

If it doesn't help:
do you print by a browser? -> try an other one
do you print directly from fet? -> please sent me your datafile, so i can hopefully find the bug

plaster

Thanks, I solved it, but the critical item was "Riempimento attività: 10px" (I think it should be something like "Fill activity: 10 px". I have the Italian version and I'm trying to re-translate it in English to help understand. Anyway it's the third choice on the right column, just right to the "Up margin" choice. On the Print timetables window, of course).
I had tried to move up to 25 px the "Riempimento attività" because I thought it would create a pad of space around any activity, since I see the timetable has packed the days and hours. I was hoping, "padding" every lesson time, to center the timetable on the sheet.
Actually I got it, but at the expense of Monday's width.


If you're anyway interested, I join the prints I obtained.

I produced the prints before reducing the "Riempimento attività", so the parameters are:
- Landscape
- Font size more than reasonable (see the print)
- "Riempimento attività" wrongly set at 25 px
- warp mode: 1) normal, 2) pre, 3 pre-wrap (I got three prints)

You'll see that the "pre" is the best, while "normal" and "pre-wrap" aren't optimal for Monday.
It is interesting also to check the seventh sheet: it has a different width for the same subject (TECNOLOGIA-INFORMATICA) in the three modes...

By the way, I looked everywhere for an explanation of the Print Window Options and I couldn't find them. What is the "Riempimento attività" and how does it work?

Thank you for all

Volker Dirr

#4
Quote from: plaster on September 16, 2012, 01:04:45 AM
I have the Italian version and I'm trying to re-translate it in English to help understand.

Why retranslating into english? Just swap/use the english version.

Quote from: plaster on September 16, 2012, 01:04:45 AM
You'll see that the "pre" is the best, while "normal" and "pre-wrap" aren't optimal for Monday.

Sadly the Qt html render engine isn't perfect. It doesn't support the full html language (correct). I already done a bug report to Qt some time ago.

Quote from: plaster on September 16, 2012, 01:04:45 AM
By the way, I looked everywhere for an explanation of the Print Window Options and I couldn't find them. What is the "Riempimento attività" and how does it work?

Padding between activities mean the pad left and right from "detailed" activities (compare css/html file).
To understand best: Open a samplefile and check a years timetable. So there should be several activities in a single time slot. In the html-version these activities are separated with a grey line. Sadly Qt doesn't render this line (It's a documented Qt-Bug). That is why i add a space/padding between that activities. Set a very font size now (the table should use max half of paper size), then slowly increase that value and check what happen.

Quote from: plaster on September 16, 2012, 01:04:45 AM
It is interesting also to check the seventh sheet: it has a different width for the same subject (TECNOLOGIA-INFORMATICA) in the three modes...

That behaviour is normal and correct. The reason is like i already wrote: "the table is to wide for the paper". If you change the wrap mode, then qt-render-engine try to fit the table on that page (so it warp phrases) in normal case. If you disallow it, then the table is to large. Have a closer look to the very right boarder of the table. You will see that it isn't visible anymore, because the table is to wide for that paper.

plaster

Sorry about the English re-translation: I'm so used to one-language-software that I had already forgotten the useful switch for changing language...

Thanks for all your explanations: when I finish the timetables I'll re-read - and digest - them. For now I got a set of parameters that produce a fine print, so I'll stick to them!