My first try at using version 2.2.0 has not been great :(
Most of the labels I do are the 4 x 2 size (Avery 5163), many are rotated. Tonight I ran into several problems using the new version. I had been using 2.1.2 for some time with little problem.
Anyway, it seems that when I tried printing or print preview a rotated label The bottom half of the label has been clipped for both columns of labels. This was in xfce4, I also tried in gnome-2.20.1 with the same results.
I did not try non-rotated labels as I had to re-install glables-2.1.2 to print my labels tonight.
I have attached a file showing the output. The actual printed result was slightly more chopped than the pdf.
In the actual printed output the "Air" line was chopped in half as well, showing only the top half of the letters.
When I get a chance I will re-install 2.2.0 for more testing if needed.
sample faulty print output
screenshot of some font placement problems.
Logged In: YES
user_id=953915
Originator: YES
I have re-installed 2.2.0 and done some more testing...
It gets even worse :(
The rotated label shows correctly on the screen, but for printing it still uses
a horizontal capture image (4" wide x 2" high) which is rotated 90 deg. I
created a test label that purposely had text that went out of bounds to the
right and it picked up the whole thing like it was a normal horizontal
orientation. Of course it will overprint onto the adjacent label as well.
I also found that several fonts will show on screen but will not produce any
output in the print image or print preview image. Some fonts do not even show
anything on the screen.
Can anyone else confirm the font problem to make sure it is not something
faulty in my system? The default "Agate" font is one that will not produce any
print or print preview output for me. The times text loses the first and third
or more lines, showing only the second line of text. It's position in relation
to the frame is wrong as well, it changes drastically with different fonts,
even showing above the frame it is suppose to be inside of.
File Added: Screenshot.png
sample rotated label
Logged In: YES
user_id=953915
Originator: YES
The best way to see the actual orientation of print output is to set it to print only label #6 & #7 with the label outline.
File Added: testmonkey_tall.glabels
Rotate patch
Logged In: YES
user_id=223712
Originator: NO
I have checked in a fix for this bug last night. Give the attached patch a try (assuming you are compiling from source). I will release 2.2.1 in a couple of days with this fix.
I cannot recreate your font problem. The default font is "Sans" which is typically an alias for your system's prefered Sans-serif font -- it is picking up the first font it finds.
File Added: print.patch
Logged In: YES
user_id=953915
Originator: YES
I am attaching a patch for the release tarball that I created from your patch which works with gentoo's ebuild system.
The patch does fix the rotated label printing problem.
I am still having the same font dispaly & printing problem. Oddly enough, the only program I seem to be experiencing font problems with is this new version of glabels. Even this past few days when I re-installed 2.1.2, the same fonts were working fine. Here is some terminal output from failing fonts.
"Terminal" font, then print preview:
brian@big_squirt ~ $ glabels
cairo context error: invalid matrix (not invertible)
cairo context error: invalid matrix (not invertible)
switching to "Agate" font and print preview:
could not load glyph 0
Error: could not create type1 face
some font thing failed
Error: could not create type1 face
some font thing failed
Error: could not create type1 face
some font thing failed
...
Any ideas?
File Added: print-2.2.0.patch
revised patch for the release tarball
Logged In: YES
user_id=223712
Originator: NO
The original bug is fixed in 2.2.1.
If you are still having the font problem, please open a bug just for that.