View Single Post
Posts: 207 | Thanked: 84 times | Joined on Jan 2010 @ bournemouth
#784
Originally Posted by Diamorph View Post
I changed the fonts of my N900 on another way than overwrite the four Nokia fonts.
I placed my own font in /usr/share/fonts/nokia and changed it in the
gtkrc file (/usr/share/themes/*THEME-NAME*/gtk-2.0)
With this method I can decide wich font is changed. (See screenshot: white letters changend but the orange smaller are orginal font)

Part from gtkrc:

##############################
#
# Font definitions
#
##############################

# legacy

style "osso-SystemFont" {
font_name = "Nokia Sans 18"
}

....

###########################
# new fonts for fremantle #
###########################

style "SystemFont" {
font_name = "Nokia Sans 18"
}

style "EmpSystemFont" {
font_name = "Nokia Sans Bold 18"
}

style "LargeSystemFont" {
font_name = "Nokia Sans 26"
}

style "SmallSystemFont" {
font_name = "Nokia Sans 13"
}

style "EmpSmallSystemFont" {
font_name = "Nokia Sans Bold 13"
}

style "X-LargeSystemFont" {
font_name = "Nokia Sans 31"
}
....
can you just confirm im reading this right.

I copy a font into /usr/share/fonts/nokia, then I edit the gtkrc file and change where I want the new font to be used?? do i not need to tell the system the name of the new ttf file??
__________________
If I've mentioned you visit extras-devel or extras-testing and it's your first foray into this area, please read the following:

http://wiki.maemo.org/General_precautions

and FYI - dont be a n00b and copy and paste commands into the Terminal with out knowing what it doe's and what you'll need to do to correct any problems.