Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Firefox font configuration



On 15/11/06, Stephen J. Turnbull <stephen@example.com> wrote:

Is there some way you can tell firefox ("Bon Echo"?) that nanofonts
are unacceptable?

Of course there's a nice dialog that will set the fonts for the main
window, but the tiny menu fonts are driving me nuts.  (Yes, I do have
an absurdly high resolution screen.  Should I suffer for that?<wink>)

I don't know off the top of my head--I assume you Googled?--but I can Help You Help Yourself(TM):

1. Open a Firefox window
2. Tools -> DOM Inspector
3. In the DOM Inspector window, File -> Inspect a Window -> <your main
browser window>
4. Search -> Select Element by Click
5. Switch back to your main window and click on some text in the UI (I
chose the Help menu). It should flash red-outlined a few times.
6. Switch back to the DOM Inspector window. You should see that the
DOM tree is partially expanded, and the top-most node corresponding to
the UI widget that you clicked is selected.
7. In the right pane, click on the window icon to the left of the
"Object - Javascript Object" label. This will expose a drop-down list
of sorts.
8. Select DOM Node.
9. Note the value of the "id" attribute.
10. Switch back to your main window and navigate to "about:config".
11. Enter the value from (9) as the filter.

The above is a fairly generic way to see if a specific UI widget has
user-editable runtime config associated with it.

In your specific case, it is not useful at all, since you want to
control *all* UI text, not just the Help menu. If you click around the
DOM nodes--and you of all people should know your way around an N-ary
tree! ;)--you might be able to find something more useful.

Of course, another method--which works a bit better in your case--is
to put a reasonable guess into the "about:config" page's filter. I
tried "font", and noticed a few like:

font.min-size.fixed.ja

Maybe try diddling them?

-Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links