On Thursday, Google launched roboto flex, which can adjust and customize roboto fonts according to your preferences The following dynamic diagram shows the customizable parameters provided by roboto flex. You can easily change the font style by adjusting the slider, just like resizing.
Roboto flex is a "variable font", which means you don't have to manually load a separate file to change its word weight, slope or other variables. However, flex is not just a basic change; Google says there are 12 different ways to adjust it, including changing its width, stroke thickness, and even the height of the style (such as the beginning of the letters "d" and "P").
There are other interesting features of roboto flex, but it has nothing to do with making it look cool. Google said in its blog post that it has made a lot of balance on the font to ensure that it looks correct at a specific size, so the text will look the right thickness, whether it occupies the whole page or just a small footnote. Google's announcement also involves how the designer of the font (a studio called font Bureau) can ensure that small details are correct. Obviously, the circle used in the percentage symbol is in the same proportion as the number 0.
This means that designers have a lot of control over the appearance of fonts without much work. This is also good for web designers who want a standard font. They can adjust to ensure that their headlines and titles stand out from other text on the page and other websites. In addition, because it's a Google font, you can add it to your website with one or two lines of code, which doesn't hurt at all.