diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-26 21:09:52 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-26 21:09:52 +0100 |
commit | 307159fdc7edda9d12a174ebc7d3e0e5480aed4f (patch) | |
tree | 3d58b34d86c042ec916e4bc75d3689387d9b814b /dillorc | |
parent | 954f1b5dea7b6dbdf8208b0ce6576228d121656c (diff) |
adapt font-family preferences to match CSS
CSS 2.1 uses the following predefined font names:
'serif', 'sans-serif', 'cursive', 'fantasy', 'monospace'.
Add preferences so that the user can set real font names for these.
Basically the new "font_sans_serif" option is what "vw_fontame"
used to be and "font_monospace" is equivalent to "fw_fontname".
The other two options are new.
Diffstat (limited to 'dillorc')
-rw-r--r-- | dillorc | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -37,22 +37,16 @@ # RENDERING SECTION #------------------------------------------------------------------------- -# Fontname for variable width rendering (most of the text). +# Fontnames: # - some fonts may slow down rendering. # - try to tune a fontname/font_factor combination. # Ex. {helvetica, lucida, times, "new century schoolbook", utopia, ...} -# vw_fontname="new century schoolbook" -# vw_fontname="helvetica" -# vw_fontname="times" -# vw_fontname="Bitstream vera Serif" -# vw_fontname="arial" -#vw_fontname="DejaVu Sans" - -# Fontname for fixed width rendering (mainly text quoted with <pre>) -# fw_fontname=courier -# fw_fontname="Bitstream Vera Sans Mono" -# fw_fontname="Andale Mono" -#fw_fontname="DejaVu Sans Mono" +# +# font_serif="DejaVu Serif" +# font_sans_serif="DejaVu Sans" +# font_cursive="DejaVu Sans" +# font_fantasy="DejaVu Sans" +# font_monospace="DejaVu Sans Mono" # All fontsizes are scaled by this value # font_factor=1.5 |