General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
font size
Posted by: Pratico
Date: December 16, 2001 06:44PM

Can the font be made larger while surfing the web with K-Meleon?

Options: ReplyQuote
Re: font size
Posted by: Ominx
Date: December 16, 2001 07:02PM

Use a macro something like this:

fontsize {
menu = Font Si&ze
togglepref(INT, font.size.variable.x-western, 12,14,16,18,20,22)
}


You must also add a reference line to your macro somewhere in your menus, I added mine under "View" :

&View {
:&Toolbars
-
&Stop\tEsc = ID_NAV_STOP
&Reload\tCtrl+R = ID_NAV_RELOAD
&Source\tCtrl+U = ID_VIEW_SOURCE
macros(fontsize)
macros(imagesoff)
macros(imageson)
-
Next Window\tF7 = ID_WINDOW_NEXT
Previous Window\tShift+F7 = ID_WINDOW_PREV
%ifplugin fullscreen
-
fullscreen(&Full Screen\tF11)
%endif
}

Options: ReplyQuote
Re: font size
Posted by: al leveck
Date: December 16, 2001 07:41PM

Could you not put a font size adjustment on the toolbar for the next Kmeleon release like all other browsers seem to have?

Thanks.

Options: ReplyQuote
Re: font size
Posted by: Ominx
Date: December 16, 2001 08:00PM

You can do this yourself very easily. Just add this line to your toolbars.cfg file:

Font Size {
macros(fontsize)
tool1.bmp[8]
tool2.bmp[8]
tool3.bmp[8]
}
You can do this with any toolbar skin you have. If your toolbars.cfg has a different reference name to the *.bmp files make sure you reflect this in the lines above. Also, the font size button should be location 8, but if it's different you may have to alter that to whatever position the button is.

Ominx

Options: ReplyQuote
Re: font size
Posted by: bob
Date: December 20, 2001 07:27AM

BTW - This is all outlined in the Documentation. yawning smiley)

Options: ReplyQuote
Re: font size
Posted by: Arual the Wyrd
Date: December 24, 2001 03:20PM

Works great on everything but these eye-wrenching forum entries. Why that is?

Options: ReplyQuote
Re: font size
Posted by: po
Date: December 25, 2001 12:10AM

well, first of all, you'd have to use font.size.fixed instead of font.size.variable, since the forum posts are shown in a fixed-pitch font... but i have a toggle for that, and it still doesn't work on these posts; i suspect it's because the size has been set with CSS, which the preferences can't override, apparently. need a user style sheet for that.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.