Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, May 2007
AW: Jagged looking fonts on X


Message 1 in thread

Just to close this out.  We found that the problem was with Mandriva.  It had font anti-aliasing turned off, by default.

----- Original Message ----
From: "susan@xxxxxxxxxxxx" <susan@xxxxxxxxxxxx>
To: qt-interest@xxxxxxxxxxxxx
Sent: Wednesday, May 2, 2007 8:42:15 AM
Subject: Re: Jagged looking fonts on X

I apologize for the confusion: Mandrake/Mandriva is the platform that we need to deploy and develop on (we'll actually be deploying on 2007 next year).  I use FC6 when working from home ;) - I'll check this evening if I see the same jagged font issues.  If FC6 looks good, then I know we have a Mandriva problem.  But given your screenshot, I suspect that is the case.

Both are using x.org I think, but perhaps not the same version.  Let me do a little more research and get back.

(Do you have access to Mandriva 2006/2007 or Mandrake 10, to check it out?)

I appreciate the feedback and tips.
Susan

----- Original
 Message ----
From: Dimitri <dimitri@xxxxxxxxxxxxx>
To: qt-interest@xxxxxxxxxxxxx
Sent: Wednesday, May 2, 2007 2:43:34 AM
Subject: Re: Jagged looking fonts on X

Hi,

> Hmm - that font does look good.  And its on FC6, but not Mandriva 2006 
> (our deployment platform.  I only see DejaVu Serif & DejaVu Sans (also 
> the condensed versions).  Perhaps we need to get more fonts installed?

I'm afraid I don't understand the following:
* Is Fedora Core 6 your build environment and Mandriva 2006 your deployment 
environment?
* Does the problem occur only on Mandriva 2006 or FC6 as well?
* Which font should I test to reproduce the problem on FC6?

> When I move .config aside, the system defaults to Sans Serif which looks 
> jagged.  And yes, it happens with all Qt apps.

The default font is also Sans Serif here. Attached is a screenshot that shows
 
how it looks on my FC6 machine.

--
 [ signature omitted ] 

Message 2 in thread

Hi,

> Just to close this out.  We found that the problem was with Mandriva.  
> It had font anti-aliasing turned off, by default.

If the *default* fonts look really bad, then you should still report this as a 
bug. Qt should choose fonts that don't look bad when anti-aliasing is turned 
off. Did the default font look OK?

--
 [ signature omitted ] 

Message 3 in thread

Dear Dimitri / All

I am new to QT but my interest in QT is from long time so i used to see
your replies to Forum.

I need some guidance from you for my project please. I am developing one
application, it is for simulating electric circuits. The application which
i am creating will be having "Component window" with all gates available
inside it as a library so that the user can draw the circuits in the
screen window by wiring the gates in the logical manner. The output will
be a XML file containing the information about the circuit drawn in the
screen window. In the end, i will link my project with the data base also.
I saw one example in the QT 4.3 related to arrowing diffrent polygons.
I want to ask whether i can base my application on that example and i want
some guidance from you to proceed in the right way because i have very exp
in QT.Or is there some related project which can work as a refrence for me
Please help.
Thanks alot....
I am using Windows XP and QT 4.2 open source code with code blocks and
MINGW compiler.

-- 
 [ signature omitted ] 

Message 4 in thread

On Mandriva, by default font anti-aliasing is off.  And fonts smaller than, 14 points look jagged (and IMHO, not something you'd want to put into production).  This is the default on that distro.  I didn't see analogous behavior on Fedora (my mistake in previous posts) because Fedora has font anti-aliasing on by default.  I don't know about SuSE, gentoo, or the other distros.  

Do you think I should still report this to Qt?  At the very least it could be documented somewhere?  BTW, the solution for Mandriva was:

su root
cd /etc/fonts/conf.d
chmod 000 02-mdk-disable-antialias.conf
service xfs restart


-- Susan

----- Original Message ----
From: Dimitri <dimitri@xxxxxxxxxxxxx>
To: qt-interest@xxxxxxxxxxxxx
Sent: Thursday, May 10, 2007 4:28:18 AM
Subject: Re: AW: Jagged looking fonts on X

Hi,

> Just to close this out.  We found that the problem was with Mandriva.  
> It had font anti-aliasing turned off, by default.

If the *default* fonts look really bad, then you should still report this as a 
bug. Qt should choose fonts that don't look bad when anti-aliasing is turned 
off. Did the default font look OK?

--
 [ signature omitted ] 

Message 5 in thread

Hi,

> Do you think I should still report this to Qt?  At the very least it 
> could be documented somewhere?  BTW, the solution for Mandriva was:

It really depends on how bad the fonts look. By default, Qt should pick up a 
font that looks good, even without anti-aliasing. If the default font looks 
terrible, you could maybe report this issue to Trolltech.

--
 [ signature omitted ] 

Message 6 in thread

Just out of curiosity, how would Qt know which font looks good on which
monitor?

-----Original Message-----
From: Dimitri [mailto:dimitri@xxxxxxxxxxxxx] 
Sent: Thursday, May 10, 2007 11:01
To: qt-interest@xxxxxxxxxxxxx
Subject: Re: AW: Jagged looking fonts on X


Hi,

> Do you think I should still report this to Qt?  At the very least it 
> could be documented somewhere?  BTW, the solution for Mandriva was:

It really depends on how bad the fonts look. By default, Qt should pick
up a 
font that looks good, even without anti-aliasing. If the default font
looks 
terrible, you could maybe report this issue to Trolltech.

--
 [ signature omitted ] 

Message 7 in thread

> Just out of curiosity, how would Qt know which font looks good on which
> monitor?

For example bitmap fonts may look better than TrueType fonts when available in 
the requested size.

--
 [ signature omitted ] 

Message 8 in thread

We all have flat screens and we are working with the hardware configuration that we sell to our customers.  So it has to look good on those monitors.  But you can tell that the font is not anti-aliased by just looking at it.  To really tell you can take a screen snapshot of a section with text and look at it under gimp.  It is clearly not anti-aliased.  

We ship the entire system to the customer and its turnkey.  It isn't your normal Linux environment running all sorts of other apps.  It is very finely controlled and tuned to the function that the system serves.

Does that answer your question? :)

-- Susan

----- Original Message ----
From: "Jones, Torrin A (US SSA)" <torrin.jones@xxxxxxxxxxxxxx>
To: qt-interest@xxxxxxxxxxxxx
Sent: Thursday, May 10, 2007 2:40:38 PM
Subject: RE: AW: Jagged looking fonts on X

Just out of curiosity, how would Qt know which font looks good on which
monitor?

-----Original Message-----
From: Dimitri [mailto:dimitri@xxxxxxxxxxxxx] 
Sent: Thursday, May 10, 2007 11:01
To: qt-interest@xxxxxxxxxxxxx
Subject: Re: AW: Jagged looking fonts on X


Hi,

> Do you think I should still report this to Qt?  At the very least it 
> could be documented somewhere?  BTW, the solution for Mandriva was:

It really depends on how bad the fonts look. By default, Qt should pick
up a 
font that looks good, even without anti-aliasing. If the default font
looks 
terrible, you could maybe report this issue to Trolltech.

--
 [ signature omitted ] 

Message 9 in thread

That answers my question for your own systems.
 
However the suggestion was made to report this to TrollTech.  I assume
this is so they can change (read fix) Qt.  Since Qt will be running in
lots of different configurations, i'm not sure how Qt is supposed to
know which font looks good on any random supported OS and on any random
monitor.  So how does it pick one?  I'm not saying don't report it to
TrollTech, I'm just not sure how they would go about fixing it.
 
 

	-----Original Message-----
	From: susan@xxxxxxxxxxxx [mailto:susan@xxxxxxxxxxxx] 
	Sent: Thursday, May 10, 2007 11:51
	To: Jones, Torrin A (US SSA); qt-interest@xxxxxxxxxxxxx
	Subject: Re: AW: Jagged looking fonts on X
	
	
	We all have flat screens and we are working with the hardware
configuration that we sell to our customers.  So it has to look good on
those monitors.  But you can tell that the font is not anti-aliased by
just looking at it.  To really tell you can take a screen snapshot of a
section with text and look at it under gimp.  It is clearly not
anti-aliased.  
	
	We ship the entire system to the customer and its turnkey.  It
isn't your normal Linux environment running all sorts of other apps.  It
is very finely controlled and tuned to the function that the system
serves.
	
	Does that answer your question? :)
	
	-- Susan
	

	----- Original Message ----
	From: "Jones, Torrin A (US SSA)" <torrin.jones@xxxxxxxxxxxxxx>
	To: qt-interest@xxxxxxxxxxxxx
	Sent: Thursday, May 10, 2007 2:40:38 PM
	Subject: RE: AW: Jagged looking fonts on X
	
	
	Just out of curiosity, how would Qt know which font looks good
on which
	monitor?
	
	-----Original Message-----
	From: Dimitri [mailto:dimitri@xxxxxxxxxxxxx] 
	Sent: Thursday, May 10, 2007 11:01
	To: qt-interest@xxxxxxxxxxxxx
	Subject: Re: AW: Jagged looking fonts on X
	
	
	Hi,
	
	> Do you think I should still report this to Qt?  At the very
least it 
	> could be documented somewhere?  BTW, the solution for Mandriva
was:
	
	It really depends on how bad the fonts look. By default, Qt
should pick
	up a 
	font that looks good, even without anti-aliasing. If the default
font
	looks 
	terrible, you could maybe report this issue to Trolltech.
	
	--
	Dimitri
	
	--
	To unsubscribe - send a mail to
qt-interest-request@xxxxxxxxxxxxx with
	"unsubscribe" in the subject or the body.
	List archive and information:
http://lists.trolltech.com/qt-interest/
	
	--
	To unsubscribe - send a mail to
qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or
the body.
	List archive and information:
http://lists.trolltech.com/qt-interest/
	
	



Message 10 in thread

I agree w/ you on how they should go about fixing it or not.  But at least it should be a known issue and it can be documented.

-- Susan

----- Original Message ----
From: "Jones, Torrin A (US SSA)" <torrin.jones@xxxxxxxxxxxxxx>
To: qt-interest@xxxxxxxxxxxxx
Sent: Thursday, May 10, 2007 3:16:15 PM
Subject: RE: AW: Jagged looking fonts on X

Message

 
DIV {
MARGIN:0px;}



That 
answers my question for your own systems.

 

However the suggestion was made to report this to TrollTech.  I 
assume this is so they can change (read fix) Qt.  Since Qt will be running 
in lots of different configurations, i'm not sure how Qt is supposed to 
know which font looks good on any random supported OS and on any random 
monitor.  So how does it pick one?  I'm not saying 
don't report it to TrollTech, I'm just not sure how they would go about fixing 
it.

 

 


  

  -----Original Message-----
From: 
  susan@xxxxxxxxxxxx [mailto:susan@xxxxxxxxxxxx] 
Sent: Thursday, May 
  10, 2007 11:51
To: Jones, Torrin A (US SSA); 
  qt-interest@xxxxxxxxxxxxx
Subject: Re: AW: Jagged looking fonts on 
  X



  We 
  all have flat screens and we are working with the hardware configuration that 
  we sell to our customers.  So it has to look good on those 
  monitors.  But you can tell that the font is not anti-aliased by just 
  looking at it.  To really tell you can take a screen snapshot of a 
  section with text and look at it under gimp.  It is clearly not 
  anti-aliased.  

We ship the entire system to the customer and its 
  turnkey.  It isn't your normal Linux environment running all sorts of 
  other apps.  It is very finely controlled and tuned to the function that 
  the system serves.

Does that answer your question? :)

-- 
 [ signature omitted ]