PDA

View Full Version : [MDK] come visualizzare il sans sottile ed elegante come in ubuntu?


supermarchino
29-03-2005, 12:28
Guardate: se apro nautilus da consolle da root, vedo il carattere sans più sottile ed elegante, come in ubuntu. Se mi loggo come root, ciò non accade. Né è possibile ottenerlo - come user - con le varie opzioni sui fonts nel gnome control center...
Il carattere è sempre sans 11, ma si vede diversamente...
Chi mi aiuta a dipanare il mistero? :p

http://www.webalice.it/gmarcog/carattere.jpg

GhePeU
29-03-2005, 13:09
a occhio la differenza sembra dovuta all'hinting... sicuro che non cambia niente se lo modifichi?

output di xrdb -query?
contenuto di /etc/fonts/fonts.conf (in particolare le sezioni <alias> in cui si definiscono le famiglie di caratteri corrispondenti a sans, sans serif e monospace)?


ripensandoci, hai provato a mettere "Bitstream Vera Sans" al posto di "Sans"?

Bicet
29-03-2005, 13:59
Prova anche a vedere che nella home di root e nella tua non ci sia un ifle che si chiama ".fonts.conf", dovrebbe essere quello che regola l'hinting.

supermarchino
29-03-2005, 15:16
Originariamente inviato da GhePeU
a occhio la differenza sembra dovuta all'hinting... sicuro che non cambia niente se lo modifichi?

niente :(

Originariamente inviato da GhePeU
output di xrdb -query?


*Box.background: #edeff1
*Box.foreground: #000000
*Button.activeBackground: #edeff1
*Button.activeForeground: #000000
*Button.background: #edeff1
*Button.foreground: #000000
*Button.highlightBackground: #edeff1
*Button.highlightColor: #000000
*Canvas.activeBackground: #ffffff
*Canvas.activeForeground: #000000
*Canvas.background: #ffffff
*Canvas.foreground: #000000
*Canvas.highlightBackground: #ffffff
*Canvas.highlightColor: #000000
*Canvas.selectbackground: #d9dcdf
*Canvas.selectforeground: #000000
*Checkbutton.activeBackground: #edeff1
*Checkbutton.activeForeground: #000000
*Checkbutton.background: #edeff1
*Checkbutton.foreground: #000000
*Checkbutton.highlightBackground: #edeff1
*Checkbutton.highlightColor: #000000
*Command.background: #edeff1
*Command.foreground: #000000
*Command.translations: <LeaveWindow>: reset()\n <Btn1Down>: set()\n<Btn1Up>: notify() unset()
*Dialog.background: #edeff1
*Dialog.foreground: #000000
*Entry.activeBackground: #ffffff
*Entry.activeForeground: #000000
*Entry.background: #ffffff
*Entry.foreground: #000000
*Entry.highlightBackground: #ffffff
*Entry.highlightColor: #000000
*Entry.selectBackground: #d9dcdf
*Entry.selectForeground: #000000
*Form.background: #edeff1
*Form.foreground: #000000
*Frame.activeBackground: #edeff1
*Frame.activeForeground: #000000
*Frame.background: #edeff1
*Frame.foreground: #000000
*Frame.highlightBackground: #edeff1
*Frame.highlightColor: #000000
*Label.activeBackground: #edeff1
*Label.activeForeground: #000000
*Label.background: #edeff1
*Label.foreground: #000000
*Label.highlightBackground: #edeff1
*Label.highlightColor: #000000
*List.background: #ffffff
*List.foreground: #000000
*Listbox.activeBackground: #ffffff
*Listbox.activeForeground: #000000
*Listbox.background: #ffffff
*Listbox.foreground: #000000
*Listbox.highlightBackground: #ffffff
*Listbox.highlightColor: #000000
*Listbox.selectBackground: #d9dcdf
*Listbox.selectForeground: #000000
*Menu.activeBackground: #edeff1
*Menu.activeForeground: #000000
*Menu.background: #edeff1
*Menu.foreground: #000000
*Menu.highlightBackground: #edeff1
*Menu.highlightColor: #000000
*MenuButton.background: #edeff1
*MenuButton.foreground: #000000
*Menubutton.activeBackground: #edeff1
*Menubutton.activeForeground: #000000
*Menubutton.background: #edeff1
*Menubutton.foreground: #000000
*Menubutton.highlightBackground: #edeff1
*Menubutton.highlightColor: #000000
*Radiobutton.activeBackground: #edeff1
*Radiobutton.activeForeground: #000000
*Radiobutton.background: #edeff1
*Radiobutton.foreground: #000000
*Radiobutton.highlightBackground: #edeff1
*Radiobutton.highlightColor: #000000
*Scale.activeBackground: #edeff1
*Scale.activeForeground: #000000
*Scale.background: #edeff1
*Scale.foreground: #000000
*Scale.highlightBackground: #edeff1
*Scale.highlightColor: #000000
*Scale.troughColor: #edeff1
*Scrollbar*Cursor: left_ptr
*Scrollbar*background: #edeff1
*Scrollbar*cursorName: left_ptr
*Scrollbar*height: 15
*Scrollbar*pushThumb: false
*Scrollbar*shadowWidth: 2
*Scrollbar*width: 15
*Scrollbar.activeBackground: #edeff1
*Scrollbar.activeForeground: #000000
*Scrollbar.foreground: #000000
*Scrollbar.highlightBackground: #edeff1
*Scrollbar.highlightColor: #000000
*Scrollbar.troughColor: #edeff1
*ScrollbarBackground: #edeff1
*ShapeStyle: Rectangle
*SimpleMenu*background: #edeff1
*SimpleMenu*foreground: #000000
*SmeBSB*shadowWidth: 3
*Text.activeBackground: #ffffff
*Text.activeForeground: #000000
*Text.background: #ffffff
*Text.foreground: #000000
*Text.highlightBackground: #ffffff
*Text.highlightColor: #000000
*Text.selectBackground: #d9dcdf
*Text.selectForeground: #000000
*Toggle.background: #edeff1
*Toggle.foreground: #000000
*Toplevel.activeBackground: #edeff1
*Toplevel.activeForeground: #000000
*Toplevel.background: #edeff1
*Toplevel.foreground: #000000
*Toplevel.highlightBackground: #edeff1
*Toplevel.highlightColor: #000000
*VT100.Translations: #override <Key>BackSpace: string(0x7F)\n<Key>Delete: string("\033[3~")\n<Key>Home: string("\033[1~")\n<Key>End: string("\033[4~")
*XmCascadeButton.background: #edeff1
*XmCascadeButton.foreground: #000000
*XmCascadeButtonGadget.background: #edeff1
*XmCascadeButtonGadget.foreground: #000000
*XmDialogShell.background: #edeff1
*XmDialogShell.foreground: #000000
*XmFileSelectionBox.background: #edeff1
*XmFileSelectionBox.foreground: #000000
*XmForm.background: #edeff1
*XmForm.foreground: #000000
*XmFrame.background: #edeff1
*XmFrame.foreground: #000000
*XmLabel.background: #edeff1
*XmLabel.foreground: #000000
*XmLabelGadget.background: #edeff1
*XmLabelGadget.foreground: #000000
*XmList.background: #ffffff
*XmList.foreground: #000000
*XmMenuShell.background: #edeff1
*XmMenuShell.foreground: #000000
*XmMessageBox.background: #edeff1
*XmMessageBox.foreground: #000000
*XmPanedWindow.background: #edeff1
*XmPanedWindow.foreground: #000000
*XmPushButton.background: #edeff1
*XmPushButton.foreground: #000000
*XmPushButtonGadget.background: #edeff1
*XmPushButtonGadget.foreground: #000000
*XmRowColumn.background: #edeff1
*XmRowColumn.foreground: #000000
*XmSash.background: #edeff1
*XmSash.foreground: #000000
*XmScrollBar.background: #edeff1
*XmScrollBar.foreground: #000000
*XmScrolledWindow.background: #edeff1
*XmScrolledWindow.foreground: #000000
*XmSelectionBox.background: #edeff1
*XmSelectionBox.foreground: #000000
*XmSeparator.background: #edeff1
*XmSeparator.foreground: #000000
*XmSeparatorGadget.background: #edeff1
*XmSeparatorGadget.foreground: #000000
*XmTearOffButton.background: #edeff1
*XmTearOffButton.foreground: #000000
*XmTearOffButtonGadget.background: #edeff1
*XmTearOffButtonGadget.foreground: #000000
*XmText.background: #ffffff
*XmText.foreground: #000000
*XmTextField.background: #ffffff
*XmTextField.foreground: #000000
*XmToggleButton.background: #edeff1
*XmToggleButton.foreground: #000000
*XmToggleButtonGadget.background: #edeff1
*XmToggleButtonGadget.foreground: #000000
*background: #edeff1
*beNiceToColormap: false
*borderColor: black
*foreground: #000000
*scrollKey: True
*scrollTtyOutput: False
*visualBell: true
Editres*Panner.Background: #edeff1
Editres*Tree.Background: #ffffff
Editres*Tree.Foreground: #000000
Editres*Tree.Toggle.Background: #edeff1
Editres*Tree.Toggle.Foreground: #000000
Emacs*Background: #ffffff
Emacs*Dialog*background: #edeff1
Emacs*Dialog*foreground: #000000
Emacs*Foreground: #000000
Emacs*XlwScrollBar.Background: #edeff1
Emacs*XlwScrollBar.Foreground: #000000
Emacs*backgroundToolBarColor: #edeff1
Emacs*bottomToolBarShadowColor: #edeff1
Emacs*menubar*background: #edeff1
Emacs*menubar*foreground: #000000
Emacs*popup*Background: #edeff1
Emacs*popup*Foreground: #000000
Emacs*toolBarShadowThickness: 0
Emacs*topToolBarShadowColor: #edeff1
Emacs.default.attributeBackground: #ffffff
Emacs.default.attributeForeground: #000000
Scrollbar.JumpCursor: True
Vim*background: black
Vim*font: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-15-*5
Vim*foreground: lightyellow
Vim*geometry: 88x35
Vim*menuBackground: black
Vim*menuForeground: moccasin
XTerm*VT100*colorBD: blue
XTerm*VT100*colorBDMode: on
XTerm*VT100*colorUL: magenta
XTerm*highlightSelection: true
XTerm*saveLines: 1500
XTerm*scrollBar: true
XTerm.VT100*colorULMode: on
XTerm.VT100*dynamicColors: on
XTerm.VT100*underLine: off
XTerm.VT100.titeInhibit: true
Xft.antialias: 1
Xft.dpi: 96.000000
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.rgba: rgb
emacs*Background: DarkSlateGray
emacs*Foreground: Wheat
emacs*bitmapIcon: on
emacs*cursorColor: Orchid
emacs*font: fixed
emacs*pointerColor: Orchid
emacs.geometry: 80x25
xterm*reverseWrap: true
[marco@marcog marco]$


Originariamente inviato da GhePeU
contenuto di /etc/fonts/fonts.conf (in particolare le sezioni <alias> in cui si definiscono le famiglie di caratteri corrispondenti a sans, sans serif e monospace)?


<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>

<!--
DO NOT EDIT THIS FILE.
IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
LOCAL CHANGES BELONG IN 'local.conf'.

The intent of this standard configuration file is to be adequate for
most environments. If you have a reasonably normal environment and
have found problems with this configuration, they are probably
things that others will also want fixed. Please submit any
problems to the fontconfig bugzilla system located at fontconfig.org

Note that the normal 'make install' procedure for fontconfig is to
replace any existing fonts.conf file with the new version. Place
any local customizations in local.conf which this file references.

Keith Packard
-->

<!-- Font directory list -->

<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/opt/ttfonts</dir> <dir>/usr/share/yudit/fonts</dir>
<dir>~/.fonts</dir>

<!--
Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
<match target="pattern">
<test qual="any" name="family">
<string>mono</string>
</test>
<edit name="family" mode="assign">
<string>monospace</string>
</edit>
</match>

<!--
Enable prefer_outline
-->

<match target="pattern">
<edit name="prefer_outline">
<bool>true</bool>
</edit>
</match>

<!--
Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
<match target="pattern">
<test qual="any" name="family">
<string>sans serif</string>
</test>
<edit name="family" mode="assign">
<string>sans-serif</string>
</edit>
</match>

<!--
Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
<match target="pattern">
<test qual="any" name="family">
<string>sans</string>
</test>
<edit name="family" mode="assign">
<string>sans-serif</string>
</edit>
</match>

<!--
Mark common families with their generics so we'll get
something reasonable
-->

<!--
Serif faces
-->
<alias>
<family>Bitstream Vera Serif</family>
<family>Times</family>
<family>Times New Roman</family>
<family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family>
<family>Sazanami Mincho</family>
<family>AR PL ShanHeiSun Uni</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Batang</family>
<family>FreeSerif</family>
<default><family>serif</family></default>
</alias>
<!--
Sans-serif faces
-->
<alias>
<family>Bitstream Vera Sans</family>
<family>Helvetica</family>
<family>Arial</family>
<family>Verdana</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>Sazanami Gothic</family>
<family>AR PL ZenKai Uni</family>
<family>AR PL KaitiM GB</family>
<family>AR PL KaitiM Big5</family>
<family>Baekmuk Dotum</family>
<family>SimSun</family>
<family>FreeSans</family>
<default><family>sans-serif</family></default>
</alias>
<!--
Monospace faces
-->
<alias>
<family>Bitstream Vera Sans Mono</family>
<family>Courier</family>
<family>Courier New</family>
<family>Andale Mono</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>NSimSun</family>
<family>FreeMono</family>
<default><family>monospace</family></default>
</alias>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans-serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans-serif</string>
</edit>
</match>

<!--
Some Asian fonts misadvertise themselves as monospaced when
in fact they are dual-spaced (half and full). This makes
FreeType very confused as it forces all widths to match.
Undo this magic by disabling the width forcing code -->
<match target="font">
<test target="pattern" name="lang" compare="contains">
<string>zh-tw</string>
<string>zh-cn</string>
<string>ja</string>
<string>ko</string>
</test>
<edit name="spacing">
<const>proportional</const>
</edit>
<edit name="globaladvance">
<bool>false</bool>
</edit>
</match>

<!--
The Bitstream Vera fonts have GASP entries suggesting that hinting be
disabled below 8 ppem, but FreeType ignores those, preferring to use
the data found in the instructed hints. The initial Vera release
didn't include the right instructions in the 'prep' table. Fix this
by disabling hinting manually at smaller sizes (< 8ppem)
-->

<match target="font">
<test name="family">
<string>Bitstream Vera Sans</string>
</test>
<test name="pixelsize" compare="less">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>

<match target="font">
<test name="family">
<string>Bitstream Vera Serif</string>
</test>
<test name="pixelsize" compare="less">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>

<match target="font">
<test name="family">
<string>Bitstream Vera Sans Mono</string>
</test>
<test name="pixelsize" compare="less">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>

<!-- Fonts for which antialiasing has to be disabled at small sizes
-->
<match target="font">
<test name="family">
<string>Raghindi</string>
</test>
<test name="size" compare="less">
<double>11</double>
</test>
<edit name="antialias">
<bool>false</bool>
</edit>
</match>

<!-- Fonts for which the hinting must be disabled
-->

<match target="font">
<test name="family">
<string>Likhan</string>
<string>Mukti Narrow</string>
<string>Raghindi</string>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>

<!-- For CJK fonts the hinting gives more often than not bad results,
so it is best to be disabled here, until "autofit" is included in freetype
-->

<match target="font">
<test name="family" compare="eq">
<string>Sazanami Gothic</string>
<string>Sazanami Mincho</string>
<string>Osaka</string>
<string>Osaka-Mono</string>
<string>Osaka-UI</string>
<string>MS Gothic</string>
<string>MS PGothic</string>
<string>MS UI Gothic</string>
<string>IPAGothic</string>
<string>IPAPGothic</string>
<string>IPAUIGothic</string>
<string>IPAMincho</string>
<string>IPAPMincho</string>
<string>Baekmuk Batang</string>
<string>Baekmuk Dotum</string>
<string>Baekmuk Gulim</string>
<string>Baekmuk Headline</string>
<string>Gulim</string>
<string>AR PL ShanHeiSun Uni</string>
<string>AR PL ZenKai Uni</string>
<string>AR PL Mingti2L Big5</string>
<string>AR PL KaitiM Big5</string>
<string>AR PL SungtiL GB</string>
<string>AR PL KaitiM GB</string>
<string>ZYSong18030</string>
<string>MS Song</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>

<!--
Alias for Symbol font available to URW fonts
-->
<alias>
<family>Symbol</family>
<accept><family>Standard Symbols L</family></accept>
</alias>

<!--
Load per-user customization file
-->
<include ignore_missing="yes">~/.fonts.conf</include>

<!--
Load local system customization file
-->
<include ignore_missing="yes">local.conf</include>
<include ignore_missing="yes">culmus.conf</include>

<!--
Aliases to try to find the "best" standard document fonts the user has
-->
<alias>
<family>Times New Roman</family>
<accept>
<family>Nimbus Roman No9 L</family>
</accept>
</alias>

<alias>
<family>Times</family>
<accept>
<family>Nimbus Roman No9 L</family>
<family>Times New Roman</family>
</accept>
</alias>
<alias>
<family>Helvetica</family>
<accept>
<family>Nimbus Sans L</family>
<family>Arial</family>
</accept>
</alias>
<alias>
<family>Arial</family>
<accept>
<family>Nimbus Sans L</family>
<family>Arial</family>
</accept>
</alias>
<alias>
<family>Courier</family>
<accept><family>Courier New</family></accept>
</alias>

<!--
Replacement using URW fonts
-->

<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>Helvetica</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Nimbus Sans L</string>
</edit>
</match>


<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>Palatino</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>URW Palladio L</string>
</edit>
</match>

<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>ITC Bookman</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>URW Bookman L</string>
</edit>
</match>

<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>Courier</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Nimbus Mono L</string>
</edit>
</match>


<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>ITC Avant Garde Gothic</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>URW Gothic L</string>
</edit>
</match>

<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>New Century Schoolbook</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Century Schoolbook L</string>
</edit>
</match>

<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>Times</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Nimbus Roman No9 L</string>
</edit>
</match>


<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>Symbol</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Standard Symbols L</string>
</edit>
</match>

<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>ITC Zapf Chancery</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>URW Chancery L</string>
</edit>
</match>

<match target="pattern">
<test name="prefer_outline">
<bool>true</bool>
</test>
<test name="family">
<string>ITC Zapf Dingbats</string>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Dingbats</string>
</edit>
</match>




<!--
Provide required aliases for standard names
-->
<alias>
<family>serif</family>
<prefer>
<family>Bitstream Vera Serif</family>
<family>Times New Roman</family>
<family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family>
<family>Artsounk</family> <!-- armenian -->
<family>BPG UTF8 M</family> <!-- georgian -->
<family>Arhangai</family> <!-- thai? -->
<family>Phaisarn</family> <!-- thai -->
<family>Phaisarn98</family> <!-- thai -->
<family>Norasi</family> <!-- thai -->
<family>Frank Ruehl CLM</family> <!-- hebrew -->
<family>Dror</family> <!-- hebrew? -->
<family>JG LaoTimes</family> <!-- lao -->
<family>Saysettha Unicode</family> <!-- lao? -->
<family>Pigiarniq</family> <!-- canadian syllabics -->
<family>B Davat</family> <!-- ??? -->
<family>B Compset</family> <!-- ??? -->
<family>Roya</family> <!-- arabic (ar,fa) -->
<family>Kacst-Qr</family> <!-- arabic (ar) -->
<family>Urdu Nastaliq Unicode</family> <!-- arabic (ur) -->
<family>Raghindi</family> <!-- devanagari -->
<family>Mukti Narrow</family> <!-- bengali -->
<family>malayalam</family> <!-- malayalam -->
<family>Sampige</family> <!-- kannada -->
<family>MS Mincho</family> <!-- han (ja) -->
<family>Sazanami Mincho</family> <!-- han (ja) -->
<family>AR PL ShanHeiSun Uni</family> <!-- han (ja,zh-cn,zh-tw) -->
<family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
<family>HanyiSong</family> <!-- han (zh-cn?) -->
<family>MS Song</family> <!-- han (zh-cn) -->
<family>AR PL SungtiL GB</family> <!-- han (zh-cn) -->
<family>AR PL Mingti2L Big5</family> <!-- han (zh-cn) -->
<family>Baekmuk Batang</family> <!-- hangul -->
<family>FreeSerif</family>
<family>TSCu_Times</family> <!-- tamil -->
<family>Code2000</family> <!-- almost everything -->
<family>Code2001</family> <!-- plane1 and beyond -->
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Bitstream Vera Sans</family>
<family>Luxi Sans</family>
<family>Nimbus Sans L</family>
<family>BPG Glaho International</family> <!-- lat,cyr,arab,geor -->
<family>Arial</family>
<family>Helvetica</family>
<family>Verdana</family>
<family>Lucida Sans Unicode</family>
<family>Tahoma</family> <!-- lat,cyr,greek,heb,arab,thai -->
<family>Yudit Unicode</family> <!-- ?? -->
<family>Kerkis</family> <!-- greek -->
<family>ArmNet Helvetica</family> <!-- armenian -->
<family>Artsounk</family> <!-- armenian -->
<family>BPG UTF8 M</family> <!-- georgian -->
<family>Norasi</family> <!-- thai -->
<family>Nachlieli CLM</family> <!-- hebrew -->
<family>Saysettha Unicode</family> <!-- lao? -->
<family>JG Lao Old Arial</family> <!-- lao -->
<family>GF Zemen Unicode</family> <!-- ethiopic -->
<family>Pigiarniq</family> <!-- canadian syllabics -->
<family>B Davat</family> <!-- ?? -->
<family>B Compset</family> <!-- ?? -->
<family>Roya</family> <!-- arabic (ar,fa) -->
<family>Kacst-Qr</family> <!-- arabic (ar) -->
<family>Urdu Nastaliq Unicode</family> <!-- arabic (ur) -->
<family>Raghindi</family> <!-- devanagari -->
<family>Mukti Narrow</family> <!-- bengali -->
<family>malayalam</family> <!-- malayalam -->
<family>Sampige</family> <!-- kannada -->
<family>MS Gothic</family> <!-- han (ja) -->
<family>Sazanami Gothic</family> <!-- han (ja) -->
<!-- chinese fonts are actually serifed -->
<family>AR PL ShanHeiSun Uni</family> <!--han (ja,zh-cn,zh-tw) -->
<family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
<family>HanyiSong</family> <!-- han (zh-cn) -->
<family>AR PL SungtiL GB</family> <!-- han (zh-cn) -->
<family>AR PL Mingti2L Big5</family> <!-- han (zh-tw) -->
<family>Baekmuk Gulim</family> <!-- hangul -->
<family>SimSun</family> <!-- ?? -->
<family>Hapax BerbÚre</family> <!-- tifinagh -->
<family>FreeSans</family>
<family>TSCu_Paranar</family> <!-- tamil -->
<family>Arial Unicode</family>
<family>Code2000</family> <!-- almost everything; serif actually -->
<family>Code2001</family> <!-- plane1 and beyond -->
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Bitstream Vera Sans Mono</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>Courier</family>
<family>Courier MonoThai</family> <!-- thai -->
<family>Miriam Mono CLM</family> <!-- hebrew -->
<family>Hasida</family> <!-- hebrew? -->
<family>Mitra Mono</family> <!-- ?? -->
<family>GF Zemen Unicode</family> <!-- ethiopic -->
<family>MS Mincho</family> <!-- han (ja) -->
<family>Sazanami Mincho</family> <!-- han (ja) -->
<family>AR PL ShanHeiSun Uni</family> <!-- han (ja,zh-cn,zh-tw) -->
<family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
<family>HanyiSong</family> <!-- han (zh-cn) -->
<family>AR PL SungtiL GB</family> <!-- han (zh-cn) -->
<family>AR PL Mingti2L Big5</family> <!-- han (zh-tw) -->
<family>Baekmuk Batang</family> <!-- hangul -->
<family>Andale Mono</family>
<family>Courier New</family>
<family>TSC_AvarangalFxd</family> <!-- tamil -->
<family>FreeMono</family>
</prefer>
</alias>

<!--
Artificial oblique for fonts without an italic or oblique version
-->

<match target="font">
<!-- check to see if the font is roman -->
<test name="slant">
<const>roman</const>
</test>
<!-- check to see if the pattern requested non-roman -->
<test target="pattern" name="slant" compare="not_eq">
<const>roman</const>
</test>
<!-- multiply the matrix to slant the font -->
<edit name="matrix" mode="assign">
<times>
<name>matrix</name>
<matrix><double>1</double><double>0.2</double>
<double>0</double><double>1</double>
</matrix>
</times>
</edit>
<!-- pretend the font is oblique now -->
<edit name="slant" mode="assign">
<const>oblique</const>
</edit>
</match>

<config>
<!--
These are the default Unicode chars that are expected to be blank
in fonts. All other blank chars are assumed to be broken and
won't appear in the resulting charsets
-->
<blank>
<int>0x0020</int> <!-- SPACE -->
<int>0x00a0</int> <!-- NO-BREAK SPACE -->
<int>0x00ad</int> <!-- SOFT HYPHEN -->
<int>0x115f</int> <!-- HANGUL CHOSEONG FILLER -->
<int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
<int>0x1680</int> <!-- OGHAM SPACE MARK -->
<int>0x2000</int> <!-- EN QUAD -->
<int>0x2001</int> <!-- EM QUAD -->
<int>0x2002</int> <!-- EN SPACE -->
<int>0x2003</int> <!-- EM SPACE -->
<int>0x2004</int> <!-- THREE-PER-EM SPACE -->
<int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
<int>0x2006</int> <!-- SIX-PER-EM SPACE -->
<int>0x2007</int> <!-- FIGURE SPACE -->
<int>0x2008</int> <!-- PUNCTUATION SPACE -->
<int>0x2009</int> <!-- THIN SPACE -->
<int>0x200a</int> <!-- HAIR SPACE -->
<int>0x200b</int> <!-- ZERO WIDTH SPACE -->
<int>0x200c</int> <!-- ZERO WIDTH NON-JOINER -->
<int>0x200d</int> <!-- ZERO WIDTH JOINER -->
<int>0x200e</int> <!-- LEFT-TO-RIGHT MARK -->
<int>0x200f</int> <!-- RIGHT-TO-LEFT MARK -->
<int>0x2028</int> <!-- LINE SEPARATOR -->
<int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
<int>0x202a</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
<int>0x202b</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
<int>0x202c</int> <!-- POP DIRECTIONAL FORMATTING -->
<int>0x202d</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
<int>0x202e</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
<int>0x202f</int> <!-- NARROW NO-BREAK SPACE -->
<int>0x205f</int> <!-- MEDIUM MATHEMATICAL SPACE -->
<int>0x2060</int> <!-- WORD JOINER -->
<int>0x2061</int> <!-- FUNCTION APPLICATION -->
<int>0x2062</int> <!-- INVISIBLE TIMES -->
<int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
<int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
<int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
<int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
<int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
<int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
<int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
<int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
<int>0x3164</int> <!-- HANGUL FILLER -->
<int>0xfeff</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
<int>0xffa0</int> <!-- HALFWIDTH HANGUL FILLER -->
<int>0xfff9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
<int>0xfffa</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
<int>0xfffb</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
</blank>
<!--
Rescan configuration every 30 seconds when FcFontSetList is called
-->
<rescan>
<int>30</int>
</rescan>
</config>

</fontconfig>



Originariamente inviato da GhePeU
ripensandoci, hai provato a mettere "Bitstream Vera Sans" al posto di "Sans"?
Sì, non muta... :(

supermarchino
29-03-2005, 15:36
Originariamente inviato da Bicet
Prova anche a vedere che nella home di root e nella tua non ci sia un ifle che si chiama ".fonts.conf", dovrebbe essere quello che regola l'hinting.

ho travasato cambiando i permessi tutto il contenuto di /root/.fonts in /home/user e per magia ho i miei bei caratteri eleganti... che IMHO sono tra i più belli che ho visto, superiori anche al lucida grande dell'apple :sofico:

Bicet
29-03-2005, 16:25
Ehehe sono felice che abbia funzionato ;)

supermarchino
29-03-2005, 16:30
Originariamente inviato da Bicet
Ehehe sono felice che abbia funzionato ;)

'mkay? :D