Comparing version 0.0.4 to 0.0.5
@@ -54,3 +54,3 @@ var fs = require('fs'); | ||
} | ||
console.log("Found", kernings.length, "kerning pairs"); | ||
// console.log("Found", kernings.length, "kerning pairs"); | ||
return kernings; | ||
@@ -68,4 +68,4 @@ } | ||
if ((face.face_flags & ft.FACE_FLAG_SCALABLE) !== ft.FACE_FLAG_SCALABLE) | ||
console.warn("Font is not scalable"); | ||
// if ((face.face_flags & ft.FACE_FLAG_SCALABLE) !== ft.FACE_FLAG_SCALABLE) | ||
// console.warn("Font is not scalable"); | ||
@@ -113,3 +113,3 @@ var codesToUse = options.charcodes; | ||
} else { | ||
console.warn("No kerning information in font file."); | ||
// console.warn("No kerning information in font file."); | ||
dataObj.kerning = []; | ||
@@ -116,0 +116,0 @@ } |
@@ -62,3 +62,3 @@ //Exports to a minimal JSON format that is useful for web purposes | ||
if (face.glyph.format !== ft.GLYPH_FORMAT_OUTLINE) { | ||
console.warn("Charcode", code, "("+String.fromCharCode(code)+") has no outline"); | ||
// console.warn("Charcode", code, "("+String.fromCharCode(code)+") has no outline"); | ||
return []; | ||
@@ -87,3 +87,3 @@ } | ||
if (face.glyph.format !== ft.GLYPH_FORMAT_OUTLINE) { | ||
console.warn("Charcode", code, "("+String.fromCharCode(code)+") has no outline"); | ||
// console.warn("Charcode", code, "("+String.fromCharCode(code)+") has no outline"); | ||
return []; | ||
@@ -90,0 +90,0 @@ } |
{ | ||
"name": "fontpath", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Generates path and kerning info from a font", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13260