fix #148 add monolisa

many thanks @MarcusSterz
This commit is contained in:
Koen Lageveen 2024-04-24 13:51:18 +02:00
parent 68051edcaf
commit 0a5ba0d7d9
11 changed files with 72 additions and 2 deletions

View File

@ -41,7 +41,6 @@ We've been able to license some commercial fonts for programmingfonts.org, but t
- Lucida Console: https://learn.microsoft.com/en-us/typography/font-list/lucida-console
- Menlo: https://en.wikipedia.org/wiki/Menlo_(typeface)
- Monaco: https://en.wikipedia.org/wiki/Monaco_(typeface)
- MonoLisa: https://www.monolisa.dev
- Native: https://fortfoundry.com/fonts/native
- Operator: https://www.typography.com/fonts/operator/overview
- PragmataPro: https://fsd.it/shop/fonts/pragmatapro/

View File

@ -1526,6 +1526,19 @@
"year": 2015,
"zerostyle": "slashed"
},
"monolisa": {
"author": "FaceType",
"description": "MonoLisa was designed by professionals to improve developers productivity and reduce fatigue.",
"license": "commercial",
"ligatures": true,
"name": "MonoLisa",
"rendering": "vector",
"style": "sans",
"variants": "9 weights with italics, a variable version, and OpenType alternatives for slashed zeroes, ligatures, etc.",
"website": "https://www.monolisa.dev",
"year": 2022,
"zerostyle": "dotted"
},
"mononoki": {
"author": "Matthias Tellen",
"description": "A font for programming and code review",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,55 @@
/*!
* @preserve
* MonoLisa 2.013
* This font is subject to a EULA. A user-licence can be acquired at:
* https://www.monolisa.dev/license
* © 2024 FaceType Foundry. All Rights Reserved.
*/
@font-face {
src: url(0-normal.woff2);
font-family: 'monolisa';
font-weight: 100 900;
font-style: normal;
unicode-range: U+0020-007F;
}
@font-face {
src: url(1-italic.woff2);
font-family: 'monolisa';
font-weight: 100 900;
font-style: italic;
unicode-range: U+0020-007F;
}
@font-face {
src: url(2-normal.woff2);
font-family: 'monolisa';
font-weight: 100 900;
font-style: normal;
unicode-range: U+2300-23FF;
}
@font-face {
src: url(3-italic.woff2);
font-family: 'monolisa';
font-weight: 100 900;
font-style: italic;
unicode-range: U+2300-23FF;
}
@font-face {
src: url(4-normal.woff2);
font-family: 'monolisa';
font-weight: 100 900;
font-style: normal;
unicode-range: U+2190-21FF;
}
@font-face {
src: url(5-italic.woff2);
font-family: 'monolisa';
font-weight: 100 900;
font-style: italic;
unicode-range: U+2190-21FF;
}

View File

@ -88,6 +88,9 @@
<!-- input mono -->
<link href="//cloud.webtype.com/css/7e544c5e-55dc-4b41-a8d3-c13f7e0a13d3.css" rel="stylesheet" type="text/css">
<!-- monolisa -->
<link href="fonts/resources/monolisa/monolisa.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="fonts/stylesheets/stylesheet.css"><!-- Compiled (using less on node) with "lessc fonts.less > stylesheet.css" -->
<link rel="stylesheet" href="index.css">
</head>

View File

@ -37,7 +37,7 @@ function getFont () {
}
if (!font) {
font = 'source-code-pro'
font = 'monolisa'
}
return font