[juneau-lug] Re: Change to Debian solved

  • From: woolsherpahat <woolsherpahat@xxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Wed, 11 May 2011 13:43:22 -0800

Here's my recipe for nice looking fonts on Debian. If I recall right,
autohinting is not enabled by default (at least in Lenny).

1) Install pretty fonts (you'll need non-free for mscorefonts):
apt-get install ttf-dejavu ttf-liberation ttf-mscorefonts-installer
xfonts-terminus
2) dpkg-reconfigure fontconfig-config, select Autohinter, Automatic and No
3) dpkg-reconfigure fontconfig
4) Restart Xorg
5) Gnome-specific (these are largely personal preferences): System ->
Preferences -> Appearances -> Fonts: Enable 'Best Shapes', Details ->
Dots per Inch: XXX, Smoothing -> Grayscale

You can calculate the DPI for your monitor and resolution using this formula:
dpi = sqrt(resolutionWidth ^ 2 + resolutionHeight ^ 2) / inches

and then feel free to adjust from there. For example: my 14" LCD works
out to about about 87DPI, but I prefer something around 115.


Kevin Elliott

On Wed, May 11, 2011 at 12:22 AM, Larry Hurlock <larrynorte@xxxxxxxxx> wrote:
> Kevin,
> I stuck with Gnome.  Started with Ubuntu KDE, but my next installation was 
> Gnome and I haven't gone back in subsequent installations.
>
> Debian runs like a bat out of hell on this machine.  Scrolling is terrific.  
> In fact, it looks/acts like the Knoppix which is my "alternate computer 
> [f12]" on a flash drive. That is to say, the fonts are a very thin *serif* 
> font. I do miss the font look of Ubuntu, but wont' go back because of speed 
> issues.  But why are the fonts looking so limited and often small to me? The 
> browser, where 90% of my reading is done, is set to web page default.   The 
> CTRL-+ key combo has become an internalized motor reflex.
>
> Just discovered the "log file viewer" so I'll pass on some snippets that 
> might relate to fonts and display.
>
> Xorg.0.log:
> (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
>     Entry deleted from font path.
> (==) FontPath set to:
>     /usr/share/fonts/X11/misc,
>     /usr/share/fonts/X11/100dpi/:unscaled,
>     /usr/share/fonts/X11/75dpi/:unscaled,
>     /usr/share/fonts/X11/Type1,
>     /usr/share/fonts/X11/100dpi,
>     /usr/share/fonts/X11/75dpi,
>     /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
>     built-ins
> ...
> [and as for my monitor, it is known to system correctly as a Viewsonic 
> 1440X900, but what is implied by it not being on the "Supported established 
> list?"
> (II) NOUVEAU(0): Supported established timings:
> (II) NOUVEAU(0): 720x400@70Hz
> (II) NOUVEAU(0): 640x480@60Hz
> (II) NOUVEAU(0): 640x480@67Hz
> (II) NOUVEAU(0): 640x480@72Hz
> (II) NOUVEAU(0): 640x480@75Hz
> (II) NOUVEAU(0): 800x600@56Hz
> (II) NOUVEAU(0): 800x600@60Hz
> (II) NOUVEAU(0): 800x600@72Hz
> (II) NOUVEAU(0): 800x600@75Hz
> (II) NOUVEAU(0): 832x624@75Hz
> (II) NOUVEAU(0): 1024x768@60Hz
> (II) NOUVEAU(0): 1024x768@70Hz
> (II) NOUVEAU(0): 1024x768@75Hz
> (II) NOUVEAU(0): 1280x1024@75Hz
> (II) NOUVEAU(0): 1152x864@75Hz
> (II) NOUVEAU(0): Manufacturer's mask: 0
> (II) NOUVEAU(0): Supported standard timings:
> (II) NOUVEAU(0): #0: hsize: 1440  vsize 900  refresh: 60  vid: 149
> (II) NOUVEAU(0): #1: hsize: 1440  vsize 900  refresh: 75  vid: 3989
> (II) NOUVEAU(0): #2: hsize: 1400  vsize 1050  refresh: 60  vid: 16528
> (II) NOUVEAU(0): #3: hsize: 1400  vsize 1050  refresh: 75  vid: 20368
> (II) NOUVEAU(0): #4: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
> (II) NOUVEAU(0): #5: hsize: 1280  vsize 960  refresh: 60  vid: 16513
> (II) NOUVEAU(0): #6: hsize: 1152  vsize 864  refresh: 75  vid: 20337
> (II) NOUVEAU(0): #7: hsize: 640  vsize 400  refresh: 70  vid: 2609
>
>
> fontconfig.log:
> /usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
> /usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
> /usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs
> /usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs
> /usr/share/fonts/X11/Type1: caching, new cache contents: 9 fonts, 0 dirs
> /usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
> /usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 
> dirs
> /usr/share/fonts/X11/misc: caching, new cache contents: 0 fonts, 0 dirs
> /usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
> /usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 7 dirs
> /usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 
> dirs
> /usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 
> dirs
> /usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 
> 0 dirs
> /usr/share/fonts/truetype/ttf-liberation: caching, new cache contents: 12 
> fonts, 0 dirs
> /usr/share/fonts/truetype/ttf-lyx: caching, new cache contents: 9 fonts, 0 
> dirs
> /usr/share/fonts/truetype/ttf-sil-gentium: caching, new cache contents: 4 
> fonts, 0 dirs
> /usr/share/fonts/truetype/ttf-sil-gentium-basic: caching, new cache contents: 
> 8 fonts, 0 dirs
> /usr/share/fonts/type1: caching, new cache contents: 0 fonts, 2 dirs
> /usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
> /usr/share/fonts/type1/mathml: caching, new cache contents: 1 fonts, 0 dirs
> /usr/X11R6/lib/X11/fonts: skipping, no such directory
> /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
> /.fonts: skipping, no such directory
>
>
>
> --- On Tue, 5/10/11, Kevin Miller <atftb2@xxxxxxxxxx> wrote:
>
> From: Kevin Miller <atftb2@xxxxxxxxxx>
> Subject: [juneau-lug] Re: Change to Debian solved
> To: juneau-lug@xxxxxxxxxxxxx
> Date: Tuesday, May 10, 2011, 8:22 AM
>
> On 05/10/2011 02:53 AM, Larry Hurlock wrote:
>> Fellas, thanks to insomnia brought about by refusal to quit, the CUPS
>> id problem got solved.  By using "root" as my username on their form
>> and providing my root/superuser password, I sneaked on to CUPS and
>> was able to load my favorite driver so I now have a printer.  "root"
>> as a username, who knew? Sorry for the bother.
>
> Glad you got it sorted Larry.  In ubuntu, the root account is more or
> less disabled.  You can easily go into it by doing 'sudo su root' and
> then setting a password.  Some religions mandate that one never log in
> as root.  Mortal sin.  Only use sudo.  Others are more understanding.
> Debian is one of the latter.  The root account is just another account,
> which just happens to be able to do about anything on a system.
>
> When I manage my Debian system (or the openSUSE system at home) I just
> open a terminal and do 'su -', enter the root password, and then do
> whatever system stuff needs to be done.  I find it much handier than
> sudo in most cases.
>
> Did you go w/gnome or KDE?
>
> ...Kevin
> --
> Kevin Miller
> Juneau, Alaska
> http://www.alaska.net/~atftb
> "In the history of the world, no one has ever washed a rented car."
>    - Lawrence Summers
> ------------------------------------
> The Juneau Linux Users Group -- http://www.juneau-lug.org
> This is the Juneau-LUG mailing list.
> To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
> word unsubscribe in the subject header.
>
> ------------------------------------
> The Juneau Linux Users Group -- http://www.juneau-lug.org
> This is the Juneau-LUG mailing list.
> To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
> word unsubscribe in the subject header.
>
------------------------------------
The Juneau Linux Users Group -- http://www.juneau-lug.org
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: