Socket
Socket
Sign inDemoInstall

opentype.js

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opentype.js - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

bower.json
{
"name": "opentype.js",
"version": "0.6.0",
"version": "0.6.1",
"main": "dist/opentype.js",

@@ -5,0 +5,0 @@ "keywords": [

{
"name": "opentype.js",
"description": "OpenType font parser",
"version": "0.6.0",
"version": "0.6.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Frederik De Bleser",

@@ -0,1 +1,6 @@

0.6.1 (February 20, 2015)
=========================
* Left side bearing is now correctly reported.
* Simplified code for including ascender / descender values.
0.6.0 (December 1, 2015)

@@ -2,0 +7,0 @@ ========================

@@ -167,3 +167,3 @@ // The Glyph object

yMax: Math.max.apply(null, yCoords),
leftSideBearing: 0
leftSideBearing: this.leftSideBearing
};

@@ -170,0 +170,0 @@

@@ -193,4 +193,4 @@ // The `sfnt` wrapper provides organization for the tables in the font.

};
globals.ascender = font.ascender !== undefined ? font.ascender : globals.yMax;
globals.descender = font.descender !== undefined ? font.descender : globals.yMin;
globals.ascender = font.ascender;
globals.descender = font.descender;

@@ -197,0 +197,0 @@ var headTable = head.make({

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

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