New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

computer-modern

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

computer-modern - npm Package Compare versions

Comparing version

to
0.1.2-subsetting

fonts/cmu-bright-500-italic-subset.ttf

2

package.json
{
"name": "computer-modern",
"version": "0.1.1",
"version": "0.1.2-subsetting",
"author": "Steven Petryk (Computer Modern fonts by Donald Knuth)",

@@ -5,0 +5,0 @@ "description": "An NPM package containing the OFL-licensed Computer Modern fonts, and CSS @font-face declarations for them.",

@@ -14,6 +14,6 @@ # Computer Modern Webfonts

```css
// Import all Computer Modern fonts
/* Import all Computer Modern fonts */
@import "computer-modern/index.css";
// Import individual families
/* Import individual families */
@import "computer-modern/cmu-bright.css";

@@ -26,5 +26,22 @@ @import "computer-modern/cmu-classical-serif.css";

@import "computer-modern/cmu-serif-upright-italic.css";
@import "computer-modern/cmu-serif.css"; // ← most common!
@import "computer-modern/cmu-serif.css"; /* ← most common! */
@import "computer-modern/cmu-typewriter-text-variable-width.css";
@import "computer-modern/cmu-typewriter-text.css";
```
Depending on what fonts you import, you can use them like this:
```css
.example-selector {
font-family: "CMU Bright";
font-family: "CMU Classical Serif";
font-family: "CMU Concrete";
font-family: "CMU Sans Serif";
font-family: "CMU Sans Serif Demi Condensed";
font-family: "CMU Serif";
font-family: "CMU Serif Extra";
font-family: "CMU Serif Upright Italic";
font-family: "CMU Typewriter Text";
font-family: "CMU Typewriter Text Variable Width";
}
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet