site  contact  subhomenews

96 dots per inch

December 21, 2012 — BarryK
As far back as I can remember, Puppy has had this setting in /root/.Xresources:

Xft.dpi: 78

However, Ubuntu and some other major distros have it set to "96". This lower setting in Puppy means that some desktops and applications display with smaller fonts than we would like. Probably this situation occurs in Precise Puppy, when we install any Qt, KDE or GTK3 apps from the Ubuntu repositories.

Our GTK2 setup in Puppy, plus JWM, SeaMonkey and other apps have been designed to have reasonably sized fonts with the "Xft.dpi: 78" setting.

I am planning to change it to "Xft.dpi: 96". This will be in Woof, so all future pups will have it as default.

As a consequence, GTK2 and some other apps may need to have their font size settings reduced, so as to look the same as before. This may require changes to some PETs, such as the files /usr/share/themes/*/gtk-2.0/gtkrc.

Also, I'm not sure, but I think that sub-pixel hinting will work better with the higher DPI value. Meaning that fonts will look better.

If anyone has any thoughts on this, kindly let me know.

Comments

Re: 96 dots per inch
Username: pemasu
General font size 10 seems to be needed as compensation, at least for Deja Vu Sans. At the 3builddistro stage when woofing, choose font size 10 when it is asked for Rox-Filer Otherwise in the distro: /root/.config/rox.sourceforge.net/ROX-Filer/Options Change to: <Option name="label_font">DejaVu Sans 10</Option> ...or use rox right click over Desktop icon and choose Rox-Filer > Options and change the font size there. For gtk themes. I have used Iguleder`s recipe in 3builddistro: For font 10 during 3builddistro stage at woofing: [code]echo "# -- THEME AUTO-WRITTEN DO NOT EDIT include \"/usr/share/themes/${GTKTHEME}/gtk-2.0/gtkrc\" style \"user-font\" { font_name = \"DejaVu Sans 10\" } widget_class \"*\" style \"user-font\" gtk-font-name=\"DejaVu Sans 10\" include \"/root/.gtkrc.mine\"" > rootfs-complete/root/.gtkrc-2.0[/code] Jwm themes need change for font size to the /root/.jwm/themes/*-jwmrc Just brainstorming before Christmas.

Re: Bad Change
Username: Iguleder
"Using 96 DPI on Asus Eee PC 1001PX for almost a year, even on x86_64. No issues here - in fact, fonts are smoother (hinting simply works better with this DPI, with DejaVu fonts). Most netbooks have Intel GPUs and this model is quite old ... so I really don't understand how this DPI change could cause problems.

ntfs-3g
Username: 01micko
"Hi Barry I recompiled the latest ntfs-3g statically using your instructions (designed for the initrd). It *should* now mount compressed ntfs filesystems RW. Mounts normal ntfs fine. I don't have a compressed filesystem to test. See: http://murga-linux.com/puppy/viewtopic.php?p=674296#674296


Tags: woof