Bug 68964 - Italic fonts rendered incorrectly
Italic fonts rendered incorrectly
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: qt (Show other bugs)
1.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Owen Taylor
Ben Levenson
:
Depends On:
Blocks: 67217
  Show dependency treegraph
 
Reported: 2002-07-16 11:40 EDT by Fortepianissimo
Modified: 2007-04-18 12:44 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-07-25 22:12:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
snapshot of bad italic fonts (19.19 KB, image/png)
2002-07-16 11:41 EDT, Fortepianissimo
no flags Details

  None (edit)
Description Fortepianissimo 2002-07-16 11:40:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020715

Description of problem:
See the attached png file.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.boot in KDE
2.there you go
3.
	

Additional info:

Not sure which component to blame. Let me know if you want to know more info.
Comment 1 Fortepianissimo 2002-07-16 11:41:32 EDT
Created attachment 65545 [details]
snapshot of bad italic fonts
Comment 2 Ngo Than 2002-07-16 14:56:42 EDT
Owen, i think it should be a bug in fontconfig?
Comment 3 Owen Taylor 2002-07-16 16:18:26 EDT
Almost certainly a bug in the Qt patch for Xft, not in fontconfig.

I can't reproduce the problem here ... do we have any idea of which
fonts it is that trigger the problem?
Comment 4 Fortepianissimo 2002-07-17 00:02:14 EDT
It didn't seem to be specific to a particular font; but for the snapshot it's
Microsoft Verdana.

This happened in other KDE applications as well, e.g., konqueror, kmail, etc.

BTW these are the relevant packages I installed:

fontconfig-0.0.1.020626.1517-3
Xft-1.9.1.020708.0036-2
freetype-2.1.2-4
qt-Xt-3.0.4-10
qt-MySQL-3.0.4-10
qt-3.0.4-10
qt-ODBC-3.0.4-10
qt-devel-3.0.4-10
qt-PostgreSQL-3.0.4-10
qt-designer-3.0.4-10

These packages were all rebuilt from SRPMS using
-O6 -march=i686
Comment 5 Owen Taylor 2002-07-23 12:50:35 EDT
OK - I tracked this down a bit - it appears that the problem
is that Xft does this when it tries to make a bitmap font
articially italic. And *ALL* fonts in KDE are ending up as 
one bitmap font - the "LucidaTypewriter" font from the
bitmap-fonts package.
Comment 6 Owen Taylor 2002-07-23 14:01:48 EDT
OK - I tracked this down a bit - it appears that the problem
is that Xft does this when it tries to make a bitmap font
articially italic. And *ALL* fonts in KDE are ending up as 
one bitmap font - the "LucidaTypewriter" font from the
bitmap-fonts package.
Comment 7 Owen Taylor 2002-07-23 14:47:24 EDT
The fonts-at-an-angle problem is fixed with a patch extracted
from freetype CVS in freetype-2.1.2-5 (currently building). 
Now, we just need to figure out why all the fonts are 
LucidaTypewriter.
Comment 8 Owen Taylor 2002-07-23 16:13:57 EDT
OK, I have a qt fix now ... it seems to be the 

 sample.unicode() != 0

issue again. Building a new qt on my machine to test
the fix.
Comment 9 Owen Taylor 2002-07-23 17:07:40 EDT
qt-3.0.5-3 (now building) fixes these issues; main remaining Qt
font issue is the font listing not listing the right things.
Comment 10 Fortepianissimo 2002-07-25 22:12:26 EDT
This is to confirm that

freetype-2.1.2-5
qt-3.0.5-3

together fixed the problems. Thanks guys!
Comment 11 Jay Turner 2002-09-03 14:24:55 EDT
Closing out as user confirms fix.

Note You need to log in before you can comment on or make changes to this bug.