dnm-font-manager
Advanced tools
Comparing version 0.5.11 to 0.5.12
@@ -524,7 +524,7 @@ 'use strict'; | ||
if (style) { | ||
style.forEach(function (new_style, index) { | ||
style.forEach(function (new_style) { | ||
var return_font = { | ||
family: family, | ||
style: new_style, | ||
postscriptName: postscriptName ? postscriptName[index] : null | ||
postscriptName: postscriptNames[new_style] | ||
}; | ||
@@ -531,0 +531,0 @@ if (files[new_style]) { |
{ | ||
"name": "dnm-font-manager", | ||
"version": "0.5.11", | ||
"version": "0.5.12", | ||
"description": "Search system fonts with family and style using pure JavaScript, forked from rBurgett/system-font-families", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
48941
4
689