Socket
Socket
Sign inDemoInstall

fontkit

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fontkit - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

2

package.json
{
"name": "fontkit",
"version": "1.7.2",
"version": "1.7.3",
"description": "An advanced font engine for Node and the browser",

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

@@ -165,3 +165,3 @@ import OTProcessor from './OTProcessor';

let baseGlyphIndex = this.glyphIterator.index;
while (--baseGlyphIndex >= 0 && this.glyphs[baseGlyphIndex].isMark);
while (--baseGlyphIndex >= 0 && (this.glyphs[baseGlyphIndex].isMark || this.glyphs[baseGlyphIndex].ligatureComponent > 0));

@@ -205,3 +205,3 @@ if (baseGlyphIndex < 0) {

let ligGlyph = this.glyphs[baseGlyphIndex];
let compIndex = ligGlyph.ligatureID && ligGlyph.ligatureID === markGlyph.ligatureID && (markGlyph.ligatureComponent != null)
let compIndex = ligGlyph.ligatureID && ligGlyph.ligatureID === markGlyph.ligatureID && (markGlyph.ligatureComponent > 0)
? Math.min(markGlyph.ligatureComponent, ligGlyph.codePoints.length) - 1

@@ -208,0 +208,0 @@ : ligGlyph.codePoints.length - 1;

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

Sorry, the diff of this file is not supported yet

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