Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> What is the default SL Gnome font called?
tux99
 Posted: Feb 29 2012, 01:52 AM
Quote Post


SLF Guru
********

Group: Members
Posts: 1227
Member No.: 224
Joined: 28-May 11









Does anyone know what the default Gnome font is?

I mean under System>Preferences>Appearance>Fonts the default font simply shows as Sans-Regular-10 but as far as I understand 'Sans' is just an alias for a specific Sans-type font out of the many installed under /usr/share/fonts. My problem is I don't know which one and don't know where this is configured.

Anyone knows?


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
log69
 Posted: Feb 29 2012, 09:08 AM
Quote Post


SLF Member
***

Group: Members
Posts: 97
Member No.: 1325
Joined: 24-February 12









Based on "find /usr/share/fonts -iname '*sans*'" whether Dejavu sans, or Liberation sans - I guess the latter, "yum list installed | grep -i sans" gives the same results to me.
PM
^
tux99
 Posted: Feb 29 2012, 09:42 AM
Quote Post


SLF Guru
********

Group: Members
Posts: 1227
Member No.: 224
Joined: 28-May 11









QUOTE (log69 @ Feb 29 2012, 10:08 AM)
Based on "find /usr/share/fonts -iname '*sans*'" whether Dejavu sans, or Liberation sans - I guess the latter, "yum list installed | grep -i sans" gives the same results to me.


Thanks, I tried those two, but they don't look the same as the default font, when selecting them in the Gnome Font config GUI.

Edit: Actually you might be right 'Dejavu-Sans' in 'Book' style looks identical to the default Sans font, I just compared them again.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
log69
 Posted: Feb 29 2012, 09:54 AM
Quote Post


SLF Member
***

Group: Members
Posts: 97
Member No.: 1325
Joined: 24-February 12









QUOTE (tux99 @ Feb 29 2012, 10:42 AM)
Thanks, I tried those two, but they don't look the same as the default font, when selecting them in the Gnome Font config GUI.


DejaVu has more types of Sans, maybe you need Sans-Condensed or SansMono?

I searched through all my system, but those 2 are the only Sans fonts insatlled (and I have almost everything set as default).

The settings are here:
CODE
locate -i font | grep -i "/etc/" | grep -i "san"

/etc/fonts/conf.avail/49-sansserif.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf
/etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
/etc/fonts/conf.d/49-sansserif.conf
/etc/fonts/conf.d/57-dejavu-sans-mono.conf
/etc/fonts/conf.d/57-dejavu-sans.conf


In /etc/fonts/conf.d/49-sansserif.conf I see this:

CODE
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
 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>
</fontconfig>


Si it still could be monospace, but the only places I have that font are these:

/usr/share/cups/fonts/Monospace
/usr/share/cups/fonts/Monospace-Bold
/usr/share/cups/fonts/Monospace-BoldOblique
/usr/share/cups/fonts/Monospace-Oblique

And I wouldn't think Gnome uses that one, so I stick with my previous guess. smile.gif
PM
^
tux99
 Posted: Feb 29 2012, 09:57 AM
Quote Post


SLF Guru
********

Group: Members
Posts: 1227
Member No.: 224
Joined: 28-May 11









QUOTE (log69 @ Feb 29 2012, 10:54 AM)
QUOTE (tux99 @ Feb 29 2012, 10:42 AM)
Thanks, I tried those two, but they don't look the same as the default font, when selecting them in the Gnome Font config GUI.


DejaVu has more types of Sans, maybe you need Sans-Condensed or SansMono?


I guess you missed my update to my previous post, it seems to be 'Dejavu-Sans' in 'Book' style, thanks! http://th166.photobucket.com/albums/u117/rdshear/Smiley%20Faces/th_smiley-face-thumbs-up.gif


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
mack_guy911
 Posted: Feb 29 2012, 04:06 PM
Quote Post


SLF Member
***

Group: Members
Posts: 79
Member No.: 81
Joined: 21-April 11









sorry to ans in silly way more options in gui way

by right clicking desktop

and click on change desktop background

there 3rd tab fonts double click on fonts we can change

also in details setting button at below make huge change

smoothing and hinting subpixel order make huge diffrence


my settings are on CTR monitor (please according which suits to your eyes)

resolution = dot 86

smoothing = greyscale

hinting = medium

subpixel order = RGB


--------------------
Bhagvad gita verse 20: soul can never be created nor be destroyed, but moves on from one body to another upon death.
Science says : Energy can neither be created or destroyed......it is tranformed from one state to another.

PM
^
tux99
 Posted: Feb 29 2012, 04:42 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1227
Member No.: 224
Joined: 28-May 11









Thanks mack but I was looking for the precise font name and filename to fix a bug in the vlc package, not to enhance my desktop.
VLC has some hard-coded fonts in their source code (very bad idea dry.gif ) that don't exist on SL6 so I wanted to replace them with the default SL6 font.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
mack_guy911
 Posted: Feb 29 2012, 08:03 PM
Quote Post


SLF Member
***

Group: Members
Posts: 79
Member No.: 81
Joined: 21-April 11









http://i23.photobucket.com/albums/b390/pep_133/smileys/rofl.gif?t=1241899258 sorry man keep doing great work
i do not disturb http://th166.photobucket.com/albums/u117/rdshear/Smiley%20Faces/th_smiley-face-thumbs-up.gif


--------------------
Bhagvad gita verse 20: soul can never be created nor be destroyed, but moves on from one body to another upon death.
Science says : Energy can neither be created or destroyed......it is tranformed from one state to another.

PM
^
tux99
 Posted: Mar 1 2012, 04:00 AM
Quote Post


SLF Guru
********

Group: Members
Posts: 1227
Member No.: 224
Joined: 28-May 11









QUOTE (mack_guy911 @ Feb 29 2012, 09:03 PM)
http://i23.photobucket.com/albums/b390/pep_133/smileys/rofl.gif?t=1241899258  sorry man keep doing great work
i do not disturb  http://th166.photobucket.com/albums/u117/rdshear/Smiley%20Faces/th_smiley-face-thumbs-up.gif


Not a problem at all, I'm sure your post will be useful for someone else who might stumble across this thread.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll