Make WordPress Core


Ignore:
Timestamp:
02/02/2021 06:35:27 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Block Editor: Drop Noto Serif in favor of system fonts.

This aims to improve privacy and performance of the editor.

Follow-up to [37361].

Props Joen, hellofromTonya, garrett-eclipse, aristath, noisysocks, hedgefield, pento, sabernhardt, joyously, yannkozon.
Fixes #46169.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-blocks.php

    r50070 r50155  
    194194);
    195195
    196 /* translators: Use this to specify the CSS font family for the default font. */
    197 $locale_font_family = esc_html_x( 'Noto Serif', 'CSS Font Family for Editor Font' );
     196$locale_font_family = '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif';
    198197$styles[]           = array(
    199198    'css' => "body { font-family: '$locale_font_family' }",
Note: See TracChangeset for help on using the changeset viewer.