Comparing version 2.1.0 to 2.1.1
@@ -7,3 +7,3 @@ const widthsVerdana11 = require('./widths-verdana-11.json') | ||
const widthTable = charWidthTable.map(w => Math.round(w * SCALE)) | ||
widthTable[64] = widthTable[64] + 2 // Slightly increase width of "@" by 0.2px | ||
widthTable[64] = widthTable[64] + 4 // Slightly increase width of "@" by 0.4px | ||
@@ -10,0 +10,0 @@ return function (text, astral) { |
{ | ||
"name": "badgen", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Fast svg badge generator.", | ||
@@ -5,0 +5,0 @@ "repository": "amio/badgen", |
@@ -25,4 +25,6 @@ # badgen | ||
status: 'v1.2.3', // <Text> | ||
color: 'blue' // <Color RGB> or <Color Name>, optional | ||
style: 'flat' // 'flat' or undefined, optional | ||
color: 'blue', // <Color RGB> or <Color Name>, optional | ||
style: 'flat', // 'flat' or undefined, optional | ||
emoji: true, // Support emoji in text, optional | ||
icon: 'data:image/svg+xml;base64,PHN2Zy...' // Use icon, optional | ||
}) | ||
@@ -29,0 +31,0 @@ ``` |
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
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
6879
70