Mailinglist Archive: radeonhd (311 mails)

< Previous Next >
[radeonhd] [Bug 14415] New: Wrong DPI informations with radeonhd
  • From: bugzilla-daemon@xxxxxxxxxxxxxxx
  • Date: Thu, 7 Feb 2008 12:28:04 -0800 (PST)
  • Message-id: <bug-14415-248@xxxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugs.freedesktop.org/show_bug.cgi?id=14415

Summary: Wrong DPI informations with radeonhd
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/radeonhd
AssignedTo: lverhaegen@xxxxxxx
ReportedBy: patrick.matthaei@xxxxxx
QAContact: xorg-team@xxxxxxxxxxx


Hello,

I'm using an mobile X1250 Pro card in my HP compaq 6715s notebook.

With fglrx, I get the following dpi informations:
resolution: 97x95 dots per inch

Which seems well sized and correct.

With radeonhd I get at default 98x98 (with and without the ddc module). The
fonts seems to be clear but at many places they are just oversized.

I tried to override the value with forcedpi, but there I can just set a value
for the X and Y parameter at the same time, so that this isn't any choice for
me.

After I've modified an little part of the sourcecode in src/rhd_driver.c I get
(maybe before, too) at my Xorg log, that it has detect 96 dpi as standard, but
it still uses 98 dpi.

Here are my sensless changes:

/* make sure that we have at least some value */
/* if (!pScrn->xDpi || !pScrn->yDpi) {
if (pScrn->xDpi)
pScrn->yDpi = pScrn->xDpi;
else if (pScrn->yDpi)
pScrn->xDpi = pScrn->xDpi;
else {
pScrn->xDpi = 96;
pScrn->yDpi = 96;
}
}*/
/* Modifications by me */
pScrn->xDpi = 97;
pScrn->yDpi = 95;

}

#ifndef MMPERINCH
#define MMPERINCH 25.4


--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
xorg-team mailing list
xorg-team@xxxxxxxxxxx
http://lists.x.org/mailman/listinfo/xorg-team
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >