LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Fluxbox Huge Fonts (wrong DPI)... (https://www.linuxquestions.org/questions/linux-desktop-74/fluxbox-huge-fonts-wrong-dpi-587365/)

BillyGalbreath 09-25-2007 09:16 PM

Fluxbox Huge Fonts (wrong DPI)...
 
I've had DPI issues not too long ago, but I found something that worked for XFCE. All I had to do was edit ~/.Xresources to contain this line of code:
Code:

Xft.dpi: 91
Well, I switched back to Fluxbox recently and everything is huge again and nothing I find online is helping me out - my DPI is not budging one bit...

Here is some output:

Code:

billy@debdesk:~$ xrdb -query | grep dpi
Xft.dpi:        120
billy@debdesk:~$ xdpyinfo | grep resolution
  resolution:    180x96 dots per inch
billy@debdesk:~$ xdpyinfo | grep dimensions
  dimensions:    2560x1024 pixels (361x271 millimeters)
billy@debdesk:~$ cat /home/billy/.Xresources
Xft.dpi: 91
billy@debdesk:~$

And here is a screenshot so you can visualize whats going on:

http://houston.pl3x.net/billy/pictur...x-huge-dpi.png

Any help would be greatly appreciated!

* Debian Sid (latest updates, except for the ekiga bug).

JZL240I-U 09-26-2007 03:34 AM

I don't quite see the problem in the.jpg and your explanation is not truly clear for me?!? Anyhow, would this help?

http://www.linuxquestions.org/questi...27&postcount=5

Additionally there is this
Code:

# This selects your default screen font from among the ones in
# /usr/share/kbd/consolefonts.
#
setfont -v alt-8x8

HTH.

BillyGalbreath 09-26-2007 01:41 PM

You honestly dont see how huge my fonts are in the PNG (not JPG)? Everything is huge, except my xterm...

The problem is not ith the size of the fonts - those are all fine - its the DPI.. Your link doesnt help me because I can set all the fonts super small, but image/buttons will still render too big.

Fluxbox is setting the DPI as 120 (180x96), when I want it to be 91 (91x91). The huge DPI is cause everything to be too big. It's almost unusable for me :/

BillyGalbreath 09-26-2007 01:49 PM

Here's a better screenshot comparing my HUGE fonts/DPI to my Windows machine at work. Used to, my home machine would have a slightly smaller (if not the exact same) font/DPI than my Windows machine at work.

http://www.pl3x.net/billy/pictures/screenshot.jpg

BillyGalbreath 09-26-2007 07:32 PM

Ok, nvm - I seemed to have stumbled onto a solution, although I'm not entirely sure what I did... But now my DPI is 96 (72x72) and everything looks better than ever! I'm very pleased - too bad I can't remember exactly what I did... :/

JZL240I-U 09-27-2007 01:12 AM

Okay, at least I understand now what you mean, sorry for the unhelpful thread-link.

BTW if you find out what you changed, don't forget to post the solution for the posterity ;).


All times are GMT -5. The time now is 05:09 AM.