Hi,
Le 30.09.2006 05:14, Christopher Martin a écrit :
On Friday 29 September 2006 05:48, Jean Parpaillon wrote:
Just to confirm:
in my xorg.conf file, I've specified the size of my monitor and fonts
are displayed correctly in apps using qt, so the issue comes from the
detection of the resolution of the monitor with fglrx driver.
Yes. I wonder if the reason setting the DPI in Qt doesn't result in
reasonable fonts is because it isn't really Qt that controls font
rendering in most circumstances. It's fontconfig/freetype, the basic
font rendering bits of Linux. That would explain why while I could fix
the crash, I couldn't force fonts to render sensibly. Fontconfig still
was trying to render based on the following information:
$ xdpyinfo | grep -A1 dimen
dimensions: 1280x1024 pixels (0x0 millimeters)
resolution: -2147483648x-2147483648 dots per inch
... that you provided to me in your previous message. Note the
ridiculous "dots per inch" values. Hence the tiny fonts.
If my understanding of the situation is correct, then there is no point
in patching Qt. Users will simply have to provide monitor dimensions in
xorg.conf if they use the fglrx driver. A pain, but at least it works.
Thank you for spending time on it.
If it can't be solved within Qt (and, IMHO, waiting for ATI to solve it
is not credible) it should be highlighted somewhere, maybe a bugreport
on fglrx driver package ?
Cheers,
Christopher Martin
Cheers,
Jean
--
------------------------------------------------------------------------
Kerrighed inside
http://www.kerrighed.org/
------------------------------------------------------------------------
Jean PARPAILLON - Engineer - PARIS group - Office E210
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 2 99 84 22 33, Fax: +33 2 99 84 71 71
begin:vcard
fn:Parpaillon Jean
n:Jean;Parpaillon
org:IRISA - INRIA;Kerrighed Project
adr:;;Campus de Beaulieu;Rennes Cedex;;35042;France
email;internet:[EMAIL PROTECTED]
tel;work:+33299842233
tel;fax:+33299847171
version:2.1
end:vcard