You are not logged in.
Hi
When I install the ttf-dejavu font package(as a consequence of installing the program 'devede' gnome automatically changes the appearance of all fonts in my desktop. As an example, look at what my gnome terminal is before I install this package :

Here is what it looks like after I install the 'devede' package :

The gnome terminal font is set to Monospace 12 before and after installing the package, but it makes X render the fonts in a different way(Not only on gnome terminal but on the entire desktop). The only reason I'm installing this ttf font package is because devede needs it, but surely there must be way to continue using the old font looks. Any help is appreciated.
Last edited by thiago (2010-09-13 13:15:11)
Offline
Monospace is just a placeholder name for the system's default monospace font family. Deja Vu is configured to be the default monospace font according to Fontconfig (the system-wide fontconfig files are in /etc) so when you install it, it appears whenever 'monospace' is specified.
You can either specify a font by name for your terminal, or you can change the system-wide default monospace font to something else. The former is probably less painful.
thayer williams ~ cinderwick.ca
Offline
"Monospace" is not usually a font but is a generic name and get replaced by some monospaced font, what font depends on you configs (/etc/fonts and ~/.fonts.conf) and the available of fonts. The font of the first screen shot is Courier New. So choose Courier New in place of "Monospace" in the gnome-terminal preferences.
EDIT: thayer beat me =[
Last edited by kazuo (2010-09-13 13:39:12)
Offline
This behaviour is normal. The Monospace font itself is AFAIK only a link to a certain other monospace font.
The installation of the ttf-dejavu package causes DejaVu Sans Mono to replace the previously used FreeMono (it at least seems to be the one in your first screenshot) as the default Monospace font.
I think, commenting out (with <!-- ... -->) the "Generic name aliasing" part at the end of /etc/fonts/conf.avail/57-dejavu-sans-mono.conf should cause FreeMono to be the Monospace font again.
Last edited by patlkli (2010-09-13 13:40:47)
Offline
Ok I got it, is there any way to stop ttf-dejavu from replacing my current system fonts(I dont want it to replace any font, I'm just installing it as a dependency)?
Last edited by thiago (2010-09-13 14:04:07)
Offline
Hopefully I'm squeezing this in before zombification! You can add something like this to ~/.fonts.conf (or /etc/fonts/local.conf to override system-wide defaults) to change the default generics:
<alias>
<family>monospace</family>
<prefer>
<family>Courier New</family>
<family>Andale Mono</family>
<family>DejaVu Sans Mono</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Arial</family>
<family>Tahoma</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Times New Roman</family>
<family>Georgia</family>
</prefer>
</alias>Edit: Actually I'm not sure that this _will_ work on its own. You might need to specifically override Bitstream/Dejavu fonts.
Last edited by thayer (2010-12-28 20:16:17)
thayer williams ~ cinderwick.ca
Offline
And the easy way to test:
$ fc-match "monospace"
Offline