- 1 year ago
How to change Chromium's default fallback for sans-serif, serif and monospace on Windows
To change Chromium's default fallback fonts for sans-serif, serif, and monospace on Windows, you can modify the font settings in the Windows registry. Here's how you can do it:
Open the Windows Registry Editor by pressing Win + R, typing
regedit
, and hitting Enter.Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Look for the entries named
Arial (TrueType)
,Times New Roman (TrueType)
, andCourier New (TrueType)
. These are the default fonts used for sans-serif, serif, and monospace, respectively.Modify the data for each entry to set the desired font name. For example, you can change
Arial (TrueType)
toRoboto
,Times New Roman (TrueType)
toGeorgia
, andCourier New (TrueType)
toConsolas
.After making the changes, close the Registry Editor.
Restart any Chromium-based applications (e.g., Google Chrome) for the changes to take effect.
By modifying the font settings in the Windows registry, you can customize the default fallback fonts used by Chromium-based applications when rendering web content that specifies generic font families like sans-serif
, serif
, and monospace
.
Note that modifying the Windows registry can have system-wide effects, so make sure to proceed with caution and create a backup of the registry before making any changes.