dpi still driving me nuts
Bob Hepple <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <CAHzpm2h3761hdjnZ8Kw1oHp9oe2TwDyOgd4kF72wEAos3Xcvbw@mail.gmail.com> |
2 questions relating to dpi. My first problem is that every few minutes _something_ is changing my 144 dpi back to 96 dpi and I can't work out what it is. I'm not running any gnome or kde applications (eg gnome-settings-daemon) just fluxbox, fbpager, emacs, mrxvt, firefox, gkrellm, bluetooth-applet and NetworkManager. I start fluxbox with XDM and it starts up the X server with '-dpi 144'. I've been eliminating the running apps one by one but I can't seem to find the culprit. Any ideas? 2/ It seems that fluxbox understands font sizes as _pixels_ not points which is darned useless. A sans-8 font on a 96 dpi display is fine, but on a 144 dpi display it's tiny. Is there any way to specify font sizes in points? I don't want to have to customizes style for every different display I use!!! A second best would be for style files to have conditionals in them: eg. (borrowing from bash syntax, but anything else would do as well): if [ $DPI -gt 100 ]; then window.font: sans-10 else window.font: sans-8 fi ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev