Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

urbit-paper-renderer

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

urbit-paper-renderer - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

fonts/base64/Inter-Medium.css

4

package.json
{
"name": "urbit-paper-renderer",
"version": "2.0.8",
"version": "2.0.9",
"private": false,

@@ -36,2 +36,3 @@ "repository": {

"gulp-header": "^2.0.7",
"gulp-inline-fonts": "github:urbit/gulp-inline-fonts",
"gulp-minify": "^3.1.0",

@@ -43,2 +44,3 @@ "gulp-rename": "^1.4.0",

"gulp-shell": "^0.6.5",
"gulp-simplefont64": "github:urbit/gulp-simplefont64",
"husky": "^3.0.3",

@@ -45,0 +47,0 @@ "jest": "^24.9.0",

@@ -257,2 +257,17 @@ # PaperRenderer

In the past, we've used [font squirrel](https://www.fontsquirrel.com/tools/webfont-generator) to generate base64 encoded fonts embedded in a CSS file for inclusion in an application.
You can also use the `gulp fonts` command. You'll have to manually change the output to follow this format:
```css
@font-face {
font-family: 'myfont';
src: url(data:font/truetype;charset=utf-8;base64,<<base64 string>>) format('truetype');
font-weight: normal;
font-style: normal;
}
```
Font names are critical. `Inter UI` is not the same as `Inter`. Any discrepancy will cause fonts to not render. You may have to add the font-weight param manually on some fonts, or correct the font-family name.
### Miscellaneous

@@ -259,0 +274,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc