Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Oberflächenschriftgröße von Firefox ändern
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Sat Feb 26, 2005 12:06 pm    Post subject: Oberflächenschriftgröße von Firefox ändern Reply with quote

Ich habe mit gtk-theme-switcher2 die Schriftgröße für GTK2-Programme geändert. Funktioniert bei Programmen wie EasyTAG, amule etc. auch sehr gut. Nur Firefox will sich nicht daran halten, da ist die Schriftgröße von den Menüs und Dialogen mindestens 11 Punkt.

Um sich ein Bild von der Sache zu machen:
http://www.lenzheilmann.de/pics/firefox.png

Wie kann ich Firefox eine Schriftgröße von 10 Punkt für die Menüs und Dialoge beibringen? Habe nichts dergleichen gefunden, nur für Webseitenschriftgrößen... Eigentlich basiert Firefox doch auch auf GTK2 und müsste sich daher an die globalen Einstellungen halten, oder?


-- Lenz
_________________
.:: Lenz' Signature 1.7b ::.

| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~
Back to top
View user's profile Send private message
c07
Veteran
Veteran


Joined: 25 Oct 2002
Posts: 1091

PostPosted: Sat Feb 26, 2005 12:16 pm    Post subject: Re: Oberflächenschriftgröße von Firefox ändern Reply with quote

Falls das nicht hilft, bleibt noch der Weg über userChrome.css (kann man gut danach suchen).
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Sat Feb 26, 2005 12:40 pm    Post subject: Reply with quote

Klappt leider nicht. :(
_________________
.:: Lenz' Signature 1.7b ::.

| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~
Back to top
View user's profile Send private message
fuchur
Guru
Guru


Joined: 12 Aug 2003
Posts: 578

PostPosted: Sat Feb 26, 2005 3:06 pm    Post subject: Reply with quote

hi
In deinem Firefox profil die Datei ......./chrome/userChrome.css anlegen bzw. wenn vorhanden kannst du mit folgende settings die Schriften verändern.

Beispiel:
Code:

menubar, menubutton, menulist, menu, menuitem {
  font-family: helvetica !important;
  font-style: helvetica !important;
  /*font-weight: bold !important;*/
  font-size: 4mm !important;
}

/* Set font size and family for dialogs
 * and other miscellaneous text
 */
window {
  font-size: 3.5mm !important;
  font-family: helvetica !important;
}

Schriften größen usw. natürlich nach eigenen wünschen anpassbar.

EDIT 16:10 26.02.05

mfg
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sat Feb 26, 2005 3:13 pm    Post subject: Reply with quote

öffne mal die "~/.gtkrc-2.0" und schreibe das rein: gtk-font-name = "Arial 8"
sofern du nicht gnome verwendet, und mozilla mit "gtk gtk2" kompiliert hast, sollte das wirkung zeigen
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Sat Feb 26, 2005 3:19 pm    Post subject: Reply with quote

Cool, danke! Hat funktioniert mit der userChrome.css. Frage: Warum hält sich Firefox nicht an die globalen Einstellungen und wenn schon, warum gibt es dafür dann nicht zumindest eine Option im Einstellungsdialog?

Naja, jetzt funktioniert das erstmal, worüber ich froh bin. :)


-- Lenz


P.S.: Danke für die Tipps!
_________________
.:: Lenz' Signature 1.7b ::.

| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Sat Feb 26, 2005 3:26 pm    Post subject: Reply with quote

Also für die Menüs und das Rechte-Maustaste-Menü hat das geholfen. Im Einstellungsdialog ist die Schriftgröße aber z.B. noch so groß wie vorher. Kann man das auch noch irgendwie definieren?

So schaut's jetzt aus:
http://www.lenzheilmann.de/pics/firefox2.png
_________________
.:: Lenz' Signature 1.7b ::.

| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~
Back to top
View user's profile Send private message
fuchur
Guru
Guru


Joined: 12 Aug 2003
Posts: 578

PostPosted: Sat Feb 26, 2005 5:06 pm    Post subject: Reply with quote

hi

Quote:

Warum hält sich Firefox nicht an die globalen Einstellungen und wenn schon, warum gibt es dafür dann nicht zumindest eine Option im Einstellungsdialog?


Ich glaube Firefox übernimmt die Schrift usw. von dem Theme was du benutzt.

Quote:

Also für die Menüs und das Rechte-Maustaste-Menü hat das geholfen. Im Einstellungsdialog ist die Schriftgröße aber z.B. noch so groß wie vorher. Kann man das auch noch irgendwie definieren?

Mit folgenen settingts kannst du alle Schrifteinstellungen änder:
Code:

alerts, arrow, autocomplete, browser, button, checkbox, colorpicker,
config, console, customizeToolbar, dialog, expander, filepicker, findBar, formatting,
global, groupbox, linkTree, listbox, menu, menuitem, menubar, menupopup, menulist,
menuseparator, plugins, popup, printing, printPageSetup, printPreview, progressmeter,
radio, scrollbar, scrollbars, scrollbox, spinbuttons, splitter, tabbox, textbox, throbber,
toolbar, toolbarbutton, toolbar, tree, wizard


Must dir halt heraussuchen was du brauchst.

Nachtrag:
Solte noch etwas fehlen kannst du mit selber nachschauen:
Code:

cp /usr/lib/MozillaFirefox/chrome/classic.jar /tmp/aaa
cd /tmp/aaa/
mv classic.jar classic.zip
unzip classic.zip

In den files unter "/tmp/aaa/skin/classic/global" wirst du alles nötige finden

mfg
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Sat Feb 26, 2005 5:22 pm    Post subject: Reply with quote

Das hat schonmal Funktioniert! Danke! Jetzt ist nur noch das Problem, dass Texte die Fett gedruckt werden immer noch die alte Größe haben. Alle normalen Texte haben jetzt die von mir gewünschte Größe. Gibt es da irgendwie noch eine Einstellung mit der man die Größe von fettem Text definieren kann?
_________________
.:: Lenz' Signature 1.7b ::.

| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~
Back to top
View user's profile Send private message
fuchur
Guru
Guru


Joined: 12 Aug 2003
Posts: 578

PostPosted: Sat Feb 26, 2005 5:31 pm    Post subject: Reply with quote

Quote:

Jetzt ist nur noch das Problem, dass Texte die Fett gedruckt werden immer noch die alte Größe haben.


Meinst du beim ausdrucken?
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Sat Feb 26, 2005 5:44 pm    Post subject: Reply with quote

Nein, auf dem Bildschirm. Zum Beispiel wird ja die Beschriftung des aktiven Tabs immer fett dargestellt. Da ist die Schriftgröße immer noch so wie vorher (ca. 12 Pkt).
_________________
.:: Lenz' Signature 1.7b ::.

| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~
Back to top
View user's profile Send private message
fuchur
Guru
Guru


Joined: 12 Aug 2003
Posts: 578

PostPosted: Sat Feb 26, 2005 5:58 pm    Post subject: Reply with quote

Quote:

Nein, auf dem Bildschirm. Zum Beispiel wird ja die Beschriftung des aktiven Tabs immer fett dargestellt. Da ist die Schriftgröße immer noch so wie vorher (ca. 12 Pkt).

Das ist bei mir nicht so. Mit z.b.
Code:

alerts, arrow, autocomplete, browser, button, checkbox, colorpicker, config, console, customizeToolbar, dialog, expander, filepicker, findBar, formatting, global, groupbox, linkTree, listbox, menu, menuitem, menubar, menupopup, menulist, menuseparator, plugins, popup, printing, printPageSetup, printPreview, progressmeter, radio, scrollbar, scrollbars, scrollbox, spinbuttons, splitter, tabbox, textbox, throbber, toolbar, toolbarbutton, toolbar, tree, wizard {
  font-family: helvetica !important;
  font-style: helvetica !important;
  font-size: 8mm !important;
}

habe ich auch in den tabs die richtige Schriftgröße.
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Sun Feb 27, 2005 12:03 am    Post subject: Reply with quote

@ lenz

Quote:
Not Found
The requested URL /pics/firefox2.png was not found on this server.
Apache/1.3.27 Server at www.lenzheilmann.de Port 80


Wäre nett gewesen wenn die Screens noch da gewesen wären... hätte mich interessiert wie das aussieht... und so alt war ja der Thread noch nicht...
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Sun Feb 27, 2005 12:12 am    Post subject: Reply with quote

Stimmt, da war ich wohl etwas voreilig. Habe die Bilder aber leider nicht mehr, kann sie nicht mehr onlinestellen. Außer ich find sie im Cache.
_________________
.:: Lenz' Signature 1.7b ::.

| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum