This is an umbrella task of research and proposals regarding fonts used in the web interface.
Every user might have different preferences of what fonts, font sizes are the most readable, legible and pleasant, therefore these tasks are looking for a way to give the readers (logged-out) and editors (logged-in) the choice to use the most appropriate and comfortable configuration in their circumstances. This task no longer targets changing the defaults. These options are meaningful to be presented in a viewing preferences dropdown:
T244748: Add client-side skin preferences drop-down
Discussions, research
- Font stack documentation
- Wikimedia Design Style Guide -- Typography
- Universal Language Selector/WebFonts
- Projects/Improve mobile reading experience
Typography refresh (2014)
- https://www.mediawiki.org/wiki/Typography_refresh/Font_choice
- https://www.mediawiki.org/wiki/Typography_refresh
- https://www.mediawiki.org/wiki/Typography_refresh#Why_is_the_type_size_and_leading_increased?
- https://www.mediawiki.org/wiki/Typography_refresh#Why_are_we_using_serif_fonts_for_the_headings?
- https://www.mediawiki.org/wiki/Typography_refresh#Why_did_we_specify_new_sans-serif_fonts?
- https://www.mediawiki.org/wiki/Typography_refresh#What_about_using_webfonts?
- https://www.mediawiki.org/wiki/Talk:Typography_refresh#Breakdown
- https://www.mediawiki.org/wiki/Talk:Typography_refresh/Archive_2#Choice_of_fonts (Nimbus Sans, Helvetica, Charis SIL)
- https://www.mediawiki.org/wiki/Talk:Typography_refresh/Archive_4#Nimbus_Sans_L
- https://www.mediawiki.org/wiki/Talk:Typography_refresh/Archive_3#Arial
- https://www.mediawiki.org/wiki/Talk:Typography_refresh/Archive_2#Liberation_Sans_too_narrow_when_compared_with_other_fonts
Future
- T253102: Rethink current typeface guideline by delivering platform-neutral fonts to users by ULS as default
- T61983: Investigate noto font as potential replacement for diverse font families
Sans-serif
- -> T175877: Update sans-serif font stack on mobile web to use system typefaces -- The most extensive documentation of the design decisions regarding the sans-serif font-stack.
- T212293: Change font stack and letter spacing
- T173228: Rethink font stack for Timeless skin
- T73240: Re-evaluate serif font stack for headers
Monospace
- -> T209915: Typography: Define a font stack for monospace fonts -- The most extensive documentation of the design decisions regarding the monospace font-stack.
- T176636: Unify CSS font stack of monospace-styled elements across products -- Patches across products to use font-family: monospace, monospace;
- T209562: Font family for code needs improvement
- T221043: Apply operating system font stack to MinervaNeue monospace elements
- T250393: Use monospace font (or editfont preference) for diffs
Font rendering issues
T130691: Sub-pixel rendering layout issues with `em` or `%` relative units (tracking)
T245788: Font rendering issues (catalog)
- T63470: Helvetica Neue cannot render some combining characters correctly
- T65512: Typography refresh body type renders incorrectly in Windows
- T65591: Windows renders Liberation Sans in very ugly way
- T65720: Helvetica rendering issues on Windows XP
- T245467: Remove 'Nimbus Sans L' from `@font-family-sans` stack in WikimediaUI Base
Test a few fonts
- Install a userstyle (download: addon, userstyle), open DevTools, then untick the fonts one by one, starting at the bottom. The last one enabled will be the visible font, except for the platform-specific fonts that aren't available on your device.
- The Noto Serif font for body and Lora (serif) font for heading with the custom theme which also resets the font-size in Timeless from 95% - 15.2px (typical) to the default 100% - 16px. For reference: Vector font-size is 87.5% - 14px.
- The Lato (sans) font for body and Lora (serif) font for heading by downloading the patch in skins/Timeless: git review -d 570074
- The Roboto (sans) font for body and Noto Serif font for heading by downloading the patch in skins/Vector: git review -d 570639