Skip to content

Commit

Permalink
FontAwesomePro6 fixes (#1536)
Browse files Browse the repository at this point in the history
* Fix ios font name for SharpSolid

* Add Fontawesome6Pro Sharp and SharpLight

* Update FontAwseome6 free fonts and glyphmaps
  • Loading branch information
johnf committed Oct 26, 2023
1 parent 14b7d60 commit 73024e3
Show file tree
Hide file tree
Showing 9 changed files with 6,950 additions and 8 deletions.
18 changes: 11 additions & 7 deletions FONTAWESOME6.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ const icon = <FontAwesome6 name={'git'} brand />;
| **thin** | Uses the Thin font (pro) or Regular (Free) |
| **duotone** | Uses the Duotone font (pro) or Regular (Free) |
| **sharpSolid** | Uses the Sharp Solid font (pro) or Regular (Free) |
| **sharpLight** | Uses the Sharp Light font (pro) or Regular (Free) |
| **sharp** | Uses the Sharp font (pro) or Regular (Free) |

No specified type indicates Regular font.

Expand All @@ -61,13 +63,15 @@ defined to help setting the style of the font:

```javascript
const FA6Style = {
regular: 0,
light: 1,
solid: 2,
brand: 3,
light: 4,
duotone: 5,
sharpSolid: 6,
regular: 'regular',
light: 'light',
solid: 'solid',
brand: 'brand',
sharp: 'sharp',
sharpLight: 'sharpLight',
sharpLight: 'sharpSolid',
duotone: 'duotone',
thin: 'thin',
};
```

Expand Down
Binary file modified Fonts/FontAwesome6_Brands.ttf
Binary file not shown.
Binary file modified Fonts/FontAwesome6_Regular.ttf
Binary file not shown.
Binary file modified Fonts/FontAwesome6_Solid.ttf
Binary file not shown.
7 changes: 7 additions & 0 deletions glyphmaps/FontAwesome6Free.json
Original file line number Diff line number Diff line change
Expand Up @@ -2005,6 +2005,7 @@
"square-hacker-news": 62383,
"hacker-news-square": 62383,
"edge": 62082,
"threads": 58904,
"napster": 62418,
"square-snapchat": 62125,
"snapchat-square": 62125,
Expand Down Expand Up @@ -2061,6 +2062,7 @@
"steam": 61878,
"cc-apple-pay": 62486,
"scribd": 62090,
"debian": 58891,
"openid": 61851,
"instalod": 57473,
"expeditedssl": 62014,
Expand Down Expand Up @@ -2141,6 +2143,7 @@
"phoenix-framework": 62428,
"shopify": 57431,
"neos": 62994,
"square-threads": 58905,
"hackerrank": 62967,
"researchgate": 62712,
"swift": 63713,
Expand Down Expand Up @@ -2255,6 +2258,7 @@
"think-peaks": 63281,
"bilibili": 58329,
"erlang": 62365,
"x-twitter": 58907,
"cotton-bureau": 63646,
"dashcube": 61968,
"42-group": 57472,
Expand Down Expand Up @@ -2404,9 +2408,11 @@
"dribbble": 61821,
"stumbleupon-circle": 61859,
"internet-explorer": 62059,
"stubber": 58823,
"telegram": 62150,
"telegram-plane": 62150,
"old-republic": 62736,
"odysee": 58822,
"square-whatsapp": 62476,
"whatsapp-square": 62476,
"node-js": 62419,
Expand All @@ -2418,6 +2424,7 @@
"tumblr": 61811,
"vaadin": 62472,
"quora": 62148,
"square-x-twitter": 58906,
"reacteurope": 63325,
"medium": 62010,
"medium-m": 62010,
Expand Down
7 changes: 7 additions & 0 deletions glyphmaps/FontAwesome6Free_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"d-and-d",
"dailymotion",
"dashcube",
"debian",
"deezer",
"delicious",
"deploydog",
Expand Down Expand Up @@ -270,6 +271,7 @@
"nutritionix",
"octopus-deploy",
"odnoklassniki",
"odysee",
"old-republic",
"opencart",
"openid",
Expand Down Expand Up @@ -370,11 +372,13 @@
"square-reddit",
"square-snapchat",
"square-steam",
"square-threads",
"square-tumblr",
"square-twitter",
"square-viadeo",
"square-vimeo",
"square-whatsapp",
"square-x-twitter",
"square-xing",
"square-youtube",
"squarespace",
Expand All @@ -388,6 +392,7 @@
"strava",
"stripe-s",
"stripe",
"stubber",
"studiovinari",
"stumbleupon-circle",
"stumbleupon",
Expand All @@ -403,6 +408,7 @@
"themeco",
"themeisle",
"think-peaks",
"threads",
"tiktok",
"trade-federation",
"trello",
Expand Down Expand Up @@ -453,6 +459,7 @@
"wpexplorer",
"wpforms",
"wpressr",
"x-twitter",
"xbox",
"xing",
"y-combinator",
Expand Down

0 comments on commit 73024e3

Please sign in to comment.