Reply
Thread Tools
Posts: 168 | Thanked: 51 times | Joined on Jun 2007
#1
I couldn't get my fonts to stick in microb so if anyone else if having such an issue here is a way to do it with css.

You will need to create (or edit) the following file:
/home/user/.mozilla/microb/chrome/userContent.css

If you do not have it you may first have to create the chrome directory and then create the file (editing this file has been discussed elsewhere in this forum).

To fix the fonts you will need this code in the file (change Arial to the font of your choosing):

Code:
body, div, ul, li, td, h1, h2, h3, h4, h5, h6
{
        font-family: inherit !important;
        font-family: Arial, sans-serif;
}
.bodytext
{
        font-family: inherit !important;
        font-family: Arial, sans-serif;
}
 

The Following User Says Thank You to coffeedrinker For This Useful Post:
Posts: 27 | Thanked: 9 times | Joined on Sep 2007
#2
Diablo's microb works differently (haven't figured it out yet). No Chrome folder or css file with fresh install. Indeed, ANY css options aren't working. Chrome/Usercontent.css doesn't work.
 
Posts: 168 | Thanked: 51 times | Joined on Jun 2007
#3
This works for me. Make sure you have the names of the path and files spelled correctly. CASE MATTERS
 
Posts: 27 | Thanked: 9 times | Joined on Sep 2007
#4
Originally Posted by coffeedrinker View Post
This works for me. Make sure you have the names of the path and files spelled correctly. CASE MATTERS
Got it figured out on my end too. Somehow my permissions got changed to root on my userContent.css file. Changed back to user...all good now.
 
Posts: 168 | Thanked: 51 times | Joined on Jun 2007
#5
I think that the reason settings in prefs.js are not being kept is because the reading and writing to this file is not occurring as it has previously. I think it is being read and written at startup and shutdown and not when the browser launches.

To get around this behavior, you can edit the prefs.js file and then make it read only. Once you reboot the device the new settings will take effect. Fonts and other additional settings can then be set permanently.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
Just run "invoke-rc.d tablet-browser-daemon stop" before editing. That's your process that is accessing this file.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 00:41.