LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Font degradation after changing resolution with xrandr (https://www.linuxquestions.org/questions/slackware-14/font-degradation-after-changing-resolution-with-xrandr-945732/)

ottavio 05-18-2012 09:18 AM

Font degradation after changing resolution with xrandr
 
Hello,

slackware --current 32 bit.

As I am too lazy to create a snippet of code and put it in /etc/X11/xorg.conf.d/, I decided to just add this line to .fluxbox/startup :
Code:

xrandr -s 1152x864
Restarted fluxbox but now the quality of the fonts is much worse. It looks like my xrandr ignores the '--dpi ' argument. Otherwise there's no changes in /var/log/Xorg.0.log.

I have a lot of symlinks in /etc/fonts/conf.d/, should I remove them?
Code:

bash-4.2$ ls -al /etc/fonts/conf.d/
total 12
drwxr-xr-x 2 root root 4096 Mar  1 16:44 .
drwxr-xr-x 4 root root 4096 Mar  2  2010 ..
lrwxrwxrwx 1 root root  38 Mar  1 16:44 10-autohint.conf -> /etc/fonts/conf.avail/10-autohint.conf
lrwxrwxrwx 1 root root  39 Feb 27 23:58 20-fix-globaladvance.conf -> ../conf.avail/20-fix-globaladvance.conf
lrwxrwxrwx 1 root root  39 Feb 27 23:58 20-unhint-small-vera.conf -> ../conf.avail/20-unhint-small-vera.conf
lrwxrwxrwx 1 root root  36 Feb 27 23:58 30-metric-aliases.conf -> ../conf.avail/30-metric-aliases.conf
lrwxrwxrwx 1 root root  33 Feb 27 23:58 30-urw-aliases.conf -> ../conf.avail/30-urw-aliases.conf
lrwxrwxrwx 1 root root  30 Feb 27 23:58 40-nonlatin.conf -> ../conf.avail/40-nonlatin.conf
lrwxrwxrwx 1 root root  27 Feb 27 23:58 45-latin.conf -> ../conf.avail/45-latin.conf
lrwxrwxrwx 1 root root  31 Feb 27 23:58 49-sansserif.conf -> ../conf.avail/49-sansserif.conf
lrwxrwxrwx 1 root root  26 Feb 27 23:58 50-user.conf -> ../conf.avail/50-user.conf
lrwxrwxrwx 1 root root  27 Feb 27 23:58 51-local.conf -> ../conf.avail/51-local.conf
lrwxrwxrwx 1 root root  27 Feb 27 23:58 60-latin.conf -> ../conf.avail/60-latin.conf
lrwxrwxrwx 1 root root  35 Feb 27 23:58 65-fonts-persian.conf -> ../conf.avail/65-fonts-persian.conf
lrwxrwxrwx 1 root root  30 Feb 27 23:58 65-nonlatin.conf -> ../conf.avail/65-nonlatin.conf
lrwxrwxrwx 1 root root  29 Feb 27 23:58 69-unifont.conf -> ../conf.avail/69-unifont.conf
lrwxrwxrwx 1 root root  31 Feb 27 23:58 80-delicious.conf -> ../conf.avail/80-delicious.conf
lrwxrwxrwx 1 root root  31 Feb 27 23:58 90-synthetic.conf -> ../conf.avail/90-synthetic.conf
-rw-r--r-- 1 root root  959 Mar  2  2010 README


Doc CPU 05-18-2012 12:09 PM

Hi there,

Quote:

Originally Posted by ottavio (Post 4681832)
As I am too lazy to create a snippet of code and put it in /etc/X11/xorg.conf.d/, I decided to just add this line to .fluxbox/startup :
Code:

xrandr -s 1152x864

what kind of display do you have? A classical CRT monitor? Or a flatscreen?

Quote:

Originally Posted by ottavio (Post 4681832)
Restarted fluxbox but now the quality of the fonts is much worse. It looks like my xrandr ignores the '--dpi ' argument.

No, I guess the problem is rather that you're now operating your flatscreen monitor at a different resolution than its native one. Every flatscreen monitor looks squished and a little blurry under these conditions. You only get a good image quality if you operate them at their true, native resolution.

[X] Doc CPU

ottavio 05-18-2012 03:34 PM

Quote:

Originally Posted by Doc CPU (Post 4681997)
Hi there,what kind of display do you have? A classical CRT monitor? Or a flatscreen?

It's a NEC LCD72xm flatscreen.
Quote:

Originally Posted by Doc CPU (Post 4681997)
No, I guess the problem is rather that you're now operating your flatscreen monitor at a different resolution than its native one. Every flatscreen monitor looks squished and a little blurry under these conditions. You only get a good image quality if you operate them at their true, native resolution.
[X] Doc CPU

Valid point, but I dual boot this PC with Windows XP and I have no problems using this resolution on Windows.

Doc CPU 05-18-2012 03:55 PM

Hi there,

Quote:

Originally Posted by ottavio (Post 4682156)
It's a NEC LCD72xm flatscreen.

okay, according to my research, that's a 17" display with a resolution of 1280x1024 - typical for that size.

Quote:

Originally Posted by ottavio (Post 4682156)
I dual boot this PC with Windows XP and I have no problems using this resolution on Windows.

Amazing. In theory, that should yield a terrible quality. After all, the ratio between physical and commanded resolution isn't even integral:
1280/1152 is 1.111, and 1024/864 is about 1.18 - that shouldn't work. In theory.
If you still get a good picture in Windows, I don't understand why that can be. ;-)

[X] Doc CPU


All times are GMT -5. The time now is 06:44 AM.