diff --git a/fonts.json b/fonts.json index c0cd756..0a2309a 100644 --- a/fonts.json +++ b/fonts.json @@ -680,6 +680,22 @@ "website": "https://github.com/rbanffy/3270font", "year": 2015 }, + "fragment-mono": { + "author": "Wei H", + "description": "Fragment Mono is a monospaced coding version of Helvetica created by modifying and extending Nimbus Sans by URW Design Studio.", + "license": "SIL OFL", + "ligatures": true, + "name": "Fragment Mono", + "rendering": "vector", + "style": "sans", + "zerostyle": "slashed", + "variants": [ + "regular", + "italic" + ], + "website": "https://github.com/weiweihuanghuang/fragment-mono", + "year": 2022 + }, "generic": { "author": "Luc Devroye", "ligatures": false, diff --git a/fonts/resources/fragment-mono/fragment-mono-italic.woff2 b/fonts/resources/fragment-mono/fragment-mono-italic.woff2 new file mode 100644 index 0000000..d8a5b15 Binary files /dev/null and b/fonts/resources/fragment-mono/fragment-mono-italic.woff2 differ diff --git a/fonts/resources/fragment-mono/fragment-mono.woff2 b/fonts/resources/fragment-mono/fragment-mono.woff2 new file mode 100644 index 0000000..813312b Binary files /dev/null and b/fonts/resources/fragment-mono/fragment-mono.woff2 differ diff --git a/fonts/stylesheets/fonts.less b/fonts/stylesheets/fonts.less index 12c0e6b..912b860 100755 --- a/fonts/stylesheets/fonts.less +++ b/fonts/stylesheets/fonts.less @@ -158,6 +158,9 @@ .font ( 'fixedsys-ligatures', normal, normal, 'fixedsys-ligatures/fixedsys-ligatures.ttf' ); +.font ( 'fragment-mono', normal, italic, 'fragment-mono/fragment-mono-italic.woff2' ); +.font ( 'fragment-mono', normal, normal, 'fragment-mono/fragment-mono.woff2' ); + .font ( 'generic', normal, normal, 'generic/generic.otf' ); .font ( 'gintronic', normal, italic, 'gintronic/gintronic-italic.woff2' ); diff --git a/fonts/stylesheets/stylesheet.css b/fonts/stylesheets/stylesheet.css index 2250d7a..9fd4518 100755 --- a/fonts/stylesheets/stylesheet.css +++ b/fonts/stylesheets/stylesheet.css @@ -658,6 +658,18 @@ font-style: normal; src: url('../resources/fixedsys-ligatures/fixedsys-ligatures.ttf'); } +@font-face { + font-family: 'fragment-mono'; + font-weight: normal; + font-style: italic; + src: url('../resources/fragment-mono/fragment-mono-italic.woff2'); +} +@font-face { + font-family: 'fragment-mono'; + font-weight: normal; + font-style: normal; + src: url('../resources/fragment-mono/fragment-mono.woff2'); +} @font-face { font-family: 'generic'; font-weight: normal;