majodev / google-webfonts-helper

A Hassle-Free Way to Self-Host Google Fonts. Get eot, ttf, svg, woff and woff2 files + CSS snippets
https://gwfh.mranftl.com
MIT License
12.02k stars 420 forks source link

Missing styles for Roboto Flex #178

Open andbin opened 10 months ago

andbin commented 10 months ago

Hi, if you pick the Roboto Flex font on google-webfonts-helper, only the “regular” style is listed. But Roboto Flex has several styles, as clearly shown on https://fonts.google.com/specimen/Roboto+Flex.

Screenshot: immagine

xpe commented 1 month ago

@Rotzbua I see you put a 👎 ... why? Because you think the bug report is (i) accurate? (ii) inaccurate? If inaccurate, could you say a few words about how it can be improved?

xpe commented 1 month ago

@andbin Roboto Flex is a variable font, meaning that all variations are included in one file.

Variable fonts—officially known as OpenType Font Variations—remove the explicit distinctions between different weights and styles, which have existed since the early days of typesetting. [...]

[...] Traditionally, all possible weights and styles have been separated out into different font files, whereas variable fonts combine all of those variations into one. Because of this, overall file size is greatly reduced compared to loading multiple individual font files—and that’s a key consideration for web typography.

xpe commented 1 month ago

@majodev Based on the user's feedback above: I can imagine some UI changes to reduce confusion among newer users. For example, some kind of indication that a variable font includes variations. It might be useful to summarize the axes of variation too; e.g. by mentioning relevant settings in the font-variation-settings CSS attribute.

The font-variation-settings CSS property provides low-level control over variable font characteristics by letting you specify the four letter axis names of the characteristics you want to vary along with their values.

Rotzbua commented 1 month ago

@Rotzbua I see you put a 👎 ... why? Because you think the bug report is (i) accurate? (ii) inaccurate? If inaccurate, could you say a few words about how it can be improved?

Had no time to give big explanations.

Issue states:

Roboto Flex has several styles,

As you explained for variable fonts do not exist "styles". So the request in this issue is wrong or creator did not realized that is a variable font.

Google offers a complete guide:

https://fonts.google.com/knowledge/introducing_type/introducing_variable_fonts

xpe commented 1 month ago

@Rotzbua Sure, makes sense to me. Seems to me like adding the label "wontfix" and closing the issue makes sense. Who has the power to to that?