Bump up default font size to 10pt

See #1585
This commit is contained in:
Florian Bruhin 2017-11-06 07:36:52 +01:00
parent f52930c857
commit 22f3fade24
3 changed files with 26 additions and 26 deletions

View File

@ -1988,7 +1988,7 @@ Font used in the completion categories.
Type: <<types,Font>>
Default: +pass:[bold 8pt monospace]+
Default: +pass:[bold 10pt monospace]+
[[fonts.completion.entry]]
=== fonts.completion.entry
@ -1996,7 +1996,7 @@ Font used in the completion widget.
Type: <<types,Font>>
Default: +pass:[8pt monospace]+
Default: +pass:[10pt monospace]+
[[fonts.debug_console]]
=== fonts.debug_console
@ -2004,7 +2004,7 @@ Font used for the debugging console.
Type: <<types,QtFont>>
Default: +pass:[8pt monospace]+
Default: +pass:[10pt monospace]+
[[fonts.downloads]]
=== fonts.downloads
@ -2012,7 +2012,7 @@ Font used for the downloadbar.
Type: <<types,Font>>
Default: +pass:[8pt monospace]+
Default: +pass:[10pt monospace]+
[[fonts.hints]]
=== fonts.hints
@ -2028,7 +2028,7 @@ Font used in the keyhint widget.
Type: <<types,Font>>
Default: +pass:[8pt monospace]+
Default: +pass:[10pt monospace]+
[[fonts.messages.error]]
=== fonts.messages.error
@ -2036,7 +2036,7 @@ Font used for error messages.
Type: <<types,Font>>
Default: +pass:[8pt monospace]+
Default: +pass:[10pt monospace]+
[[fonts.messages.info]]
=== fonts.messages.info
@ -2044,7 +2044,7 @@ Font used for info messages.
Type: <<types,Font>>
Default: +pass:[8pt monospace]+
Default: +pass:[10pt monospace]+
[[fonts.messages.warning]]
=== fonts.messages.warning
@ -2052,7 +2052,7 @@ Font used for warning messages.
Type: <<types,Font>>
Default: +pass:[8pt monospace]+
Default: +pass:[10pt monospace]+
[[fonts.monospace]]
=== fonts.monospace
@ -2069,7 +2069,7 @@ Font used for prompts.
Type: <<types,Font>>
Default: +pass:[8pt sans-serif]+
Default: +pass:[10pt sans-serif]+
[[fonts.statusbar]]
=== fonts.statusbar
@ -2077,7 +2077,7 @@ Font used in the statusbar.
Type: <<types,Font>>
Default: +pass:[8pt monospace]+
Default: +pass:[10pt monospace]+
[[fonts.tabs]]
=== fonts.tabs
@ -2085,7 +2085,7 @@ Font used in the tab bar.
Type: <<types,QtFont>>
Default: +pass:[8pt monospace]+
Default: +pass:[10pt monospace]+
[[fonts.web.family.cursive]]
=== fonts.web.family.cursive

View File

@ -1915,22 +1915,22 @@ fonts.monospace:
# emacs: '
fonts.completion.entry:
default: 8pt monospace
default: 10pt monospace
type: Font
desc: Font used in the completion widget.
fonts.completion.category:
default: bold 8pt monospace
default: bold 10pt monospace
type: Font
desc: Font used in the completion categories.
fonts.debug_console:
default: 8pt monospace
default: 10pt monospace
type: QtFont
desc: Font used for the debugging console.
fonts.downloads:
default: 8pt monospace
default: 10pt monospace
type: Font
desc: Font used for the downloadbar.
@ -1940,37 +1940,37 @@ fonts.hints:
desc: Font used for the hints.
fonts.keyhint:
default: 8pt monospace
default: 10pt monospace
type: Font
desc: Font used in the keyhint widget.
fonts.messages.error:
default: 8pt monospace
default: 10pt monospace
type: Font
desc: Font used for error messages.
fonts.messages.info:
default: 8pt monospace
default: 10pt monospace
type: Font
desc: Font used for info messages.
fonts.messages.warning:
default: 8pt monospace
default: 10pt monospace
type: Font
desc: Font used for warning messages.
fonts.prompts:
default: 8pt sans-serif
default: 10pt sans-serif
type: Font
desc: Font used for prompts.
fonts.statusbar:
default: 8pt monospace
default: 10pt monospace
type: Font
desc: Font used in the statusbar.
fonts.tabs:
default: 8pt monospace
default: 10pt monospace
type: QtFont
desc: Font used in the tab bar.

View File

@ -202,12 +202,12 @@ class TestEarlyInit:
@pytest.mark.parametrize('settings, size, family', [
# Only fonts.monospace customized
([('fonts.monospace', '"Comic Sans MS"')], 8, 'Comic Sans MS'),
([('fonts.monospace', '"Comic Sans MS"')], 10, 'Comic Sans MS'),
# fonts.monospace and font settings customized
# https://github.com/qutebrowser/qutebrowser/issues/3096
([('fonts.monospace', '"Comic Sans MS"'),
('fonts.tabs', '10pt monospace'),
('fonts.keyhint', '10pt monospace')], 10, 'Comic Sans MS'),
('fonts.tabs', '12pt monospace'),
('fonts.keyhint', '12pt monospace')], 12, 'Comic Sans MS'),
])
@pytest.mark.parametrize('method', ['temp', 'auto', 'py'])
def test_monospace_fonts_init(self, init_patch, args, config_tmpdir,
@ -250,7 +250,7 @@ class TestEarlyInit:
config.instance.set_obj('fonts.monospace', '"Comic Sans MS"')
assert 'fonts.keyhint' in changed_options # Font
assert config.instance.get('fonts.keyhint') == '8pt "Comic Sans MS"'
assert config.instance.get('fonts.keyhint') == '10pt "Comic Sans MS"'
assert 'fonts.tabs' in changed_options # QtFont
assert config.instance.get('fonts.tabs').family() == 'Comic Sans MS'