Malachi Willey 53b728cc9f feat(fonts): Update Roboto Mono to use variable font (#61683) | 1 год назад | |
---|---|---|
.. | ||
OFL.txt | 3deff6bd88 ref(webpack): Move frontend application to `static/app` (#25204) | 3 лет назад |
README.md | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
roboto-mono-variable-cyrillic-ext.woff2 | 53b728cc9f feat(fonts): Update Roboto Mono to use variable font (#61683) | 1 год назад |
roboto-mono-variable-cyrillic.woff2 | 53b728cc9f feat(fonts): Update Roboto Mono to use variable font (#61683) | 1 год назад |
roboto-mono-variable-greek.woff2 | 53b728cc9f feat(fonts): Update Roboto Mono to use variable font (#61683) | 1 год назад |
roboto-mono-variable-latin-ext.woff2 | 53b728cc9f feat(fonts): Update Roboto Mono to use variable font (#61683) | 1 год назад |
roboto-mono-variable-vietnamese.woff2 | 53b728cc9f feat(fonts): Update Roboto Mono to use variable font (#61683) | 1 год назад |
roboto-mono-variable.woff2 | 53b728cc9f feat(fonts): Update Roboto Mono to use variable font (#61683) | 1 год назад |
rubik-medium-cyrillic-ext.woff | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-medium-cyrillic-ext.woff2 | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-medium-cyrillic.woff | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-medium-cyrillic.woff2 | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-medium-latin-ext.woff | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-medium-latin-ext.woff2 | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-medium.woff | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-medium.woff2 | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-regular-cyrillic-ext.woff | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-regular-cyrillic-ext.woff2 | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-regular-cyrillic.woff | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-regular-cyrillic.woff2 | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-regular-latin-ext.woff | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-regular-latin-ext.woff2 | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-regular.woff | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
rubik-regular.woff2 | 0550241388 fix(fonts): Add support for more languages (#35871) | 2 лет назад |
sentry-simple.eot | 3deff6bd88 ref(webpack): Move frontend application to `static/app` (#25204) | 3 лет назад |
sentry-simple.svg | 3deff6bd88 ref(webpack): Move frontend application to `static/app` (#25204) | 3 лет назад |
sentry-simple.ttf | 3deff6bd88 ref(webpack): Move frontend application to `static/app` (#25204) | 3 лет назад |
sentry-simple.woff | 3deff6bd88 ref(webpack): Move frontend application to `static/app` (#25204) | 3 лет назад |
sentry-simple.woff2 | 3deff6bd88 ref(webpack): Move frontend application to `static/app` (#25204) | 3 лет назад |
sentry.eot | 3deff6bd88 ref(webpack): Move frontend application to `static/app` (#25204) | 3 лет назад |
The fonts in this folder have been optimized for web rendering. There are two notable modifications: vertical metrics and file size. Before making any changes to these files, ensure that the metrics are correct and the files are properly minimized.
For historical reasons, font files include three different sets of metrics (win
, typo
, and hhea
). These metrics have been modified to standardize rendering across operating systems and browsers.
The modified metrics are:
win
ascent: 840win
descent: 250typo
ascent: 840typo
descent: -250hhea
ascent: 935hhea
descent: -230These files have been reprocessed using FontSquirrel's Webfont Generator to reduce their size. Note that the default Optimal option will remove certain useful font features and settings. Before processing, select the Expert option, and change the following:
Subsetting narrows the list of glyphs (characters) included in the exported font files. We split our fonts into files with different glyph sets, each defined by a unicode range. This way, we can serve only the files with the glyphs that the user needs. If the page contains only latin characters, then the browser will only download the file with latin glyphs (e.g. /rubik-regular-latin.woff2
). But if the page also has cyrillic text, then the browser will additionally download the file with cyrillic glyphs (e.g. /rubik-regular-cyrillic.woff2
). This split reduces the total font loading time, since only the relevant glyph sets are downloaded.
We support four glyph sets: latin
, latin-ext
, cyrillic
, and cyrillic-ext
. The unicode ranges for each of these sets can be found in Google Fonts' Rubik stylesheet. In FontSquirrel's Webfont Generator, copy and paste these ranges into Subsetting -> Custom Subsetting -> Unicode Ranges. Once everything has been exported, check that each file contains the correct glyphs using FontDrop.