WordPress / google-fonts-to-wordpress-collection

Gets the Google fonts collection and transform it to a WordPress font library collection, including SVG previews
18 stars 6 forks source link

Update font family collection #34

Closed t-hamano closed 3 weeks ago

t-hamano commented 2 months ago

I discovered this through an issue in the Gutenberg project: https://github.com/WordPress/gutenberg/issues/64685

Currently, there are fonts that exist in the Google Fonts API but are not in the WordPress font collection. We probably need to update the font collection.

When I update the font collection, the following fonts will be added:

Details ``` $ GOOGLE_FONTS_API_KEY={MY_API_KEY} npm run api $ git diff | grep '^+\s*"name"' + "name": "Annapurna SIL", + "name": "Anta", + "name": "Anton SC", + "name": "Arsenal SC", + "name": "Baskervville SC", + "name": "Beiruti", + "name": "Bodoni Moda SC", + "name": "Bona Nova SC", + "name": "Bungee Tint", + "name": "Cactus Classical Serif", + "name": "Chocolate Classical Sans", + "name": "Danfo", + "name": "Edu AU VIC WA NT Hand", + "name": "Freeman", + "name": "Fustat", + "name": "Ga Maamli", + "name": "Honk", + "name": "Jacquard 12", + "name": "Jacquard 12 Charted", + "name": "Jacquard 24", + "name": "Jacquard 24 Charted", + "name": "Jacquarda Bastarda 9", + "name": "Jacquarda Bastarda 9 Charted", + "name": "Jaini", + "name": "Jaini Purva", + "name": "Jaro", + "name": "Jersey 10", + "name": "Jersey 10 Charted", + "name": "Jersey 15", + "name": "Jersey 15 Charted", + "name": "Jersey 20", + "name": "Jersey 20 Charted", + "name": "Jersey 25", + "name": "Jersey 25 Charted", + "name": "Kalnia Glaze", + "name": "Kode Mono", + "name": "LXGW WenKai Mono TC", + "name": "LXGW WenKai TC", + "name": "Madimi One", + "name": "Maname", + "name": "Matemasie", + "name": "Micro 5", + "name": "Micro 5 Charted", + "name": "Moderustic", + "name": "Namdhinggo", + "name": "New Amsterdam", + "name": "Noto Znamenny Musical Notation", + "name": "Ojuju", + "name": "Platypi", + "name": "Playwrite AR", + "name": "Playwrite AT", + "name": "Playwrite AU NSW", + "name": "Playwrite AU QLD", + "name": "Playwrite AU SA", + "name": "Playwrite AU TAS", + "name": "Playwrite AU VIC", + "name": "Playwrite BE VLG", + "name": "Playwrite BE WAL", + "name": "Playwrite BR", + "name": "Playwrite CA", + "name": "Playwrite CL", + "name": "Playwrite CO", + "name": "Playwrite CU", + "name": "Playwrite CZ", + "name": "Playwrite DE Grund", + "name": "Playwrite DE LA", + "name": "Playwrite DE SAS", + "name": "Playwrite DE VA", + "name": "Playwrite DK Loopet", + "name": "Playwrite DK Uloopet", + "name": "Playwrite ES", + "name": "Playwrite ES Deco", + "name": "Playwrite FR Moderne", + "name": "Playwrite FR Trad", + "name": "Playwrite GB J", + "name": "Playwrite GB S", + "name": "Playwrite HR", + "name": "Playwrite HR Lijeva", + "name": "Playwrite HU", + "name": "Playwrite ID", + "name": "Playwrite IE", + "name": "Playwrite IN", + "name": "Playwrite IS", + "name": "Playwrite IT Moderna", + "name": "Playwrite IT Trad", + "name": "Playwrite MX", + "name": "Playwrite NG Modern", + "name": "Playwrite NL", + "name": "Playwrite NO", + "name": "Playwrite NZ", + "name": "Playwrite PE", + "name": "Playwrite PL", + "name": "Playwrite PT", + "name": "Playwrite RO", + "name": "Playwrite SK", + "name": "Playwrite TZ", + "name": "Playwrite US Modern", + "name": "Playwrite US Trad", + "name": "Playwrite VN", + "name": "Playwrite ZA", + "name": "Plus Jakarta Sans", + "name": "Podkova", + "name": "Poetsen One", + "name": "Poiret One", + "name": "Poller One", + "name": "Poltawski Nowy", + "name": "Poly", + "name": "Pompiere", + "name": "Pontano Sans", + "name": "Poor Story", + "name": "Poppins", + "name": "Port Lligat Sans", + "name": "Port Lligat Slab", + "name": "Potta One", + "name": "Protest Guerrilla", + "name": "Protest Revolution", + "name": "Protest Riot", + "name": "Protest Strike", + "name": "Radio Canada Big", + "name": "Reddit Mono", + "name": "Reddit Sans", + "name": "Reddit Sans Condensed", + "name": "Rubik Glitch Pop", + "name": "Sankofa Display", + "name": "Sedan", + "name": "Sedan SC", + "name": "Sixtyfour", + "name": "Tac One", + "name": "Teachers", + "name": "Tiny5", + "name": "Ubuntu Sans", + "name": "Ubuntu Sans Mono", + "name": "Wittgenstein", + "name": "Workbench", + "name": "Yarndings 12", + "name": "Yarndings 12 Charted", + "name": "Yarndings 20", + "name": "Yarndings 20 Charted", + "name": "Zain", ```
t-hamano commented 4 weeks ago

Update: With the merge of #37, it is now easier to know what new fonts have been added when updating fonts.

The result of running the command again on October 19, 2024 is as follows:

$ GOOGLE_FONTS_API_KEY={MY_API_KEY} npm run api
$ git diff | grep '^+\s*"name"'
+                               "name": "Afacad Flux",
+                               "name": "Annapurna SIL",
+                               "name": "Anta",
+                               "name": "Anton SC",
+                               "name": "Arsenal SC",
+                               "name": "Baskervville SC",
+                               "name": "Beiruti",
+                               "name": "Bodoni Moda SC",
+                               "name": "Bona Nova SC",
+                               "name": "Bungee Tint",
+                               "name": "Cactus Classical Serif",
+                               "name": "Chocolate Classical Sans",
+                               "name": "Danfo",
+                               "name": "Edu AU VIC WA NT Dots",
+                               "name": "Edu AU VIC WA NT Guides",
+                               "name": "Edu AU VIC WA NT Hand",
+                               "name": "Freeman",
+                               "name": "Fustat",
+                               "name": "Ga Maamli",
+                               "name": "Honk",
+                               "name": "Jacquard 12",
+                               "name": "Jacquard 12 Charted",
+                               "name": "Jacquard 24",
+                               "name": "Jacquard 24 Charted",
+                               "name": "Jacquarda Bastarda 9",
+                               "name": "Jacquarda Bastarda 9 Charted",
+                               "name": "Jaini",
+                               "name": "Jaini Purva",
+                               "name": "Jaro",
+                               "name": "Jersey 10",
+                               "name": "Jersey 10 Charted",
+                               "name": "Jersey 15",
+                               "name": "Jersey 15 Charted",
+                               "name": "Jersey 20",
+                               "name": "Jersey 20 Charted",
+                               "name": "Jersey 25",
+                               "name": "Jersey 25 Charted",
+                               "name": "Kalnia Glaze",
+                               "name": "Kode Mono",
+                               "name": "LXGW WenKai Mono TC",
+                               "name": "LXGW WenKai TC",
+                               "name": "Madimi One",
+                               "name": "Maname",
+                               "name": "Matemasie",
+                               "name": "Micro 5",
+                               "name": "Micro 5 Charted",
+                               "name": "Moderustic",
+                               "name": "Namdhinggo",
+                               "name": "New Amsterdam",
+                               "name": "Noto Znamenny Musical Notation",
+                               "name": "Ojuju",
+                               "name": "Platypi",
+                               "name": "Playwrite AR",
+                               "name": "Playwrite AT",
+                               "name": "Playwrite AU NSW",
+                               "name": "Playwrite AU QLD",
+                               "name": "Playwrite AU SA",
+                               "name": "Playwrite AU TAS",
+                               "name": "Playwrite AU VIC",
+                               "name": "Playwrite BE VLG",
+                               "name": "Playwrite BE WAL",
+                               "name": "Playwrite BR",
+                               "name": "Playwrite CA",
+                               "name": "Playwrite CL",
+                               "name": "Playwrite CO",
+                               "name": "Playwrite CU",
+                               "name": "Playwrite CZ",
+                               "name": "Playwrite DE Grund",
+                               "name": "Playwrite DE LA",
+                               "name": "Playwrite DE SAS",
+                               "name": "Playwrite DE VA",
+                               "name": "Playwrite DK Loopet",
+                               "name": "Playwrite DK Uloopet",
+                               "name": "Playwrite ES",
+                               "name": "Playwrite ES Deco",
+                               "name": "Playwrite FR Moderne",
+                               "name": "Playwrite FR Trad",
+                               "name": "Playwrite GB J",
+                               "name": "Playwrite GB S",
+                               "name": "Playwrite HR",
+                               "name": "Playwrite HR Lijeva",
+                               "name": "Playwrite HU",
+                               "name": "Playwrite ID",
+                               "name": "Playwrite IE",
+                               "name": "Playwrite IN",
+                               "name": "Playwrite IS",
+                               "name": "Playwrite IT Moderna",
+                               "name": "Playwrite IT Trad",
+                               "name": "Playwrite MX",
+                               "name": "Playwrite NG Modern",
+                               "name": "Playwrite NL",
+                               "name": "Playwrite NO",
+                               "name": "Playwrite NZ",
+                               "name": "Playwrite PE",
+                               "name": "Playwrite PL",
+                               "name": "Playwrite PT",
+                               "name": "Playwrite RO",
+                               "name": "Playwrite SK",
+                               "name": "Playwrite TZ",
+                               "name": "Playwrite US Modern",
+                               "name": "Playwrite US Trad",
+                               "name": "Playwrite VN",
+                               "name": "Playwrite ZA",
+                               "name": "Plus Jakarta Sans",
+                               "name": "Podkova",
+                               "name": "Poetsen One",
+                               "name": "Poiret One",
+                               "name": "Poller One",
+                               "name": "Poltawski Nowy",
+                               "name": "Poly",
+                               "name": "Pompiere",
+                               "name": "Pontano Sans",
+                               "name": "Poor Story",
+                               "name": "Poppins",
+                               "name": "Protest Guerrilla",
+                               "name": "Protest Revolution",
+                               "name": "Protest Riot",
+                               "name": "Protest Strike",
+                               "name": "Radio Canada Big",
+                               "name": "Reddit Mono",
+                               "name": "Reddit Sans",
+                               "name": "Reddit Sans Condensed",
+                               "name": "Rubik Glitch Pop",
+                               "name": "SUSE",
+                               "name": "Sankofa Display",
+                               "name": "Sedan",
+                               "name": "Sedan SC",
+                               "name": "Sixtyfour",
+                               "name": "Sixtyfour Convergence",
+                               "name": "Tac One",
+                               "name": "Teachers",
+                               "name": "Tiny5",
+                               "name": "Ubuntu Sans",
+                               "name": "Ubuntu Sans Mono",
+                               "name": "Wittgenstein",
+                               "name": "Workbench",
+                               "name": "Yarndings 12",
+                               "name": "Yarndings 12 Charted",
+                               "name": "Yarndings 20",
+                               "name": "Yarndings 20 Charted",
+                               "name": "Zain",
matiasbenedetto commented 4 weeks ago

I started updating the font collection for 6.7 here: https://github.com/WordPress/google-fonts-to-wordpress-collection/pull/38