Red Hat Bugzilla – Bug 140584
Courier fonts are too big (NimbusMonL)
Last modified: 2007-11-30 17:10:55 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
When using enscript to print to a ps file or directly to my printer,
and also when printing text directly to my printer (PCL printer, not
real PS printer,) anything printed with Courier font will go outside
the margins. It's as if the actual font is bigger than ghostscript
thinks it is.
I believe this is the problem:
If I specify a different font, then everything looks correct. It
seems to only happen with Courier, the default monospace font.
Version-Release number of selected component (if applicable):
version 2.2, release 6
Steps to Reproduce:
1. print a text file with long lines (at least 80 chars in some lines)
to a postscript file using enscript. (enscript -2rj --file=outfile.ps
infile.txt) The -2rj option causes to pages to be printed side-by-side
with boundary lines which shows the effect well.
2. View with ghostscript or print on a non-PS printer
Actual Results: Long lines will overprint past the normal margin.
(e.g. into the second page from the first page on a side-by-side layout)
Expected Results: ghostscript should correctly display fonts that
stay within the boundaries
ghostscript v7.07 release 33
Sorry, in the previous comment, the proper syntax of the enscript
commaand would be:
enscript -2rj --output=outfile.ps infile.txt
I have found that if I use urw-fonts v2.1 r7, this problem does not
occur. It seems to be limited to the latest Fedora Core 3 version of
*** Bug 138893 has been marked as a duplicate of this bug. ***
Downgrading to urw-fonts-2.1-7.noarch.rpm from FC2 fixes the problem
*** Bug 139699 has been marked as a duplicate of this bug. ***
Confirmed - all problems stated in bug 139699 are solved with a
downgrading to urw-fonts-2.1.7.noarch.rpm. Thanks!
*** Bug 140735 has been marked as a duplicate of this bug. ***
could you please attach the screenshots, which show the different
There are screenshots and generated PSs in bug 139699.
*** Bug 139344 has been marked as a duplicate of this bug. ***
*** Bug 142590 has been marked as a duplicate of this bug. ***
Created attachment 108591 [details]
screenshot of bad fonts in ghostview
This screenshot shows Courier fonts rendered in ghostview. The original ps was
created from a text file by:
enscript -2rj --output=test.ps
You can see that even though lines do get wrapped (see lower-left of page) they
are wrapped too late, as though the fonts are expected to be smaller than they
are actually rendered.
Created attachment 108592 [details]
proper behavior using old urw-fonts-2.1-7
screen shot exactly under the same conditions as last attachment, EXCEPT using
the old urw-fonts package: urw-fonts-2.1-7
Note that none of the lines overflow their boundaries, and the actual size of
the font is smaller.
*** Bug 137336 has been marked as a duplicate of this bug. ***
*** Bug 147947 has been marked as a duplicate of this bug. ***
I have tried to change to ascender/descender in NimbusMonL in urw-fonts-2.2-8.
It looks ok now. You will find the new version in rawhide.
Please reopen the bug again if the problem is still show ups. Thanks
Sorry for the newbie question, but I'd like to test this, and I can't find
I've looked in
http://download.fedora.redhat.com/pub/fedora/linux/core/development/ and can't
find anything but 2.2-6, and I've even google-searched for urw-fonts-2.2-8 with
Any help as to where this is, so I can get it and test it? thanks
So a month ago this bug, and others like #142590 which were eventually
determined to be manifestations of the same thing, were CLOSED RAWHIDE
but an obvious update to FC3 was not issued. This means that people
all over the place are still troubled by the same problem with a known fix.
can someone please tell me if the problem is really fixed in urw-fonts-2.2-8?
if yes, i will build fixed urw-fonts package for fc3 update today.
The sizes have improved, but are still bigger than the FC2 package. At least
mythtv users report that this package is still cropping their displays due to
oversized fonts and they resort to FC2's version.
FWIW I already rebuilt the rawhide package at ATrpms (replacing 8 with 7.99 to
allow for upgrade to the upcoming official version) and it was used by the
people that complained on too big fonts, returning the above feedback.
This problem has been completely fixed for me. I have not seen any cropping
since I upgraded to the new font package.
I installed the new font package in fc3;i.e., urw-fonts 2.2.8. That fixed the
Courier print problem from Thinderbird. However, after doing that, in the
Thunderbird "print preview," I am seeing NimbusSansL words being cropped at the
right edge of the page, though the hardcopy looks fine coming out of the print
driver. In other words, the preview is messed up, but the printed copy is good.
Where can I get a fixed font package for FC3? Where do I download "rawhide"
pacakges, I don't see them under
"rawhide" packages are found in the "development" tree --
Currently, these are FC4-test packages, to the best of my knowledge. Being
development versions, they could break. That having been said, I tried a
urw-fonts update and 2.3-1 seems okay on the FC2 box I was using.
It's already built in FC3-update tree today. It still needs to be signed and
pushed. sorry for delay
*** Bug 140197 has been marked as a duplicate of this bug. ***
Ngo: do you happen to know if this is the same issue that has plagued ps2pdf? I
have noted that conversions from PS files to PDF files mess up any conversion
involving Courier. The symptoms are very similar to what is being described
above. If your answer is "I don't know", let me know -- I have lots of messed up
documents I can test on. :-)
The weird part is that these documents displayed *correctly* in ghostview. It
was only the transformation to PDF that seemed to mess them up.
*** Bug 167122 has been marked as a duplicate of this bug. ***
The originally reported issue is fixed in FC4 so far as I can tell. My
recommendation is to close this bug with WONTFIX unless somebody reports that
the current FC4 version of urw-fonts is giving problems for (e.g.) mythtv. I am
no longer seeing problems in ps2pdf, which was the original issue, and was
definitely being caused by a urw-fonts glitch.
*** Bug 141051 has been marked as a duplicate of this bug. ***
Looks like this persists for MythTV 18.1 on FC4 urw-fonts-2.3-1.
Downgrading to 2.1-7 seems to resolve the problem for MythTV 0.18.1
This is an old bug, I confirm it on FC4 with MythTV, is there any progress?
Is it possible to prevent Yum from automatically upgrading the fonts package
# yum -y upgrade
While we wait for Core 5 ?
Check out the '--exclude' option of yum; it should allow you to
exclude any package from updates.
bug still exist in FC5 with mythtv :((
I confirm that this bug still exists with Fedora Core 5 and MythTV using
urw-fonts-2.3-6.1. Problem fixed by downgrading to urw-fonts-2.1-7 i.e FC2.
(In reply to comment #40)
> I confirm that this bug still exists with Fedora Core 5 and MythTV using
> urw-fonts-2.3-6.1. Problem fixed by downgrading to urw-fonts-2.1-7 i.e FC2.
If urw-fonts was an Extras package, it would be flagged as "orphan", lol :-)
And yes, the problem was never fixed for MythTV. Still persists with FC5.
Someone with enough privileges please reopen the bug.
OK, reopening (and moving to FC5).
Confirmed in FC6.
1.0.7pre41 upstream now includes the fix. I will build urw-fonts-2.3-7.fc6 in
FC6/F7 update soon. Thanks for your report
Is this also gonna be fixed in RHEL4?