Comparing version 0.2.6 to 0.2.7
{ | ||
"name": "fontscan", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "Get font list in specified directory(default system fonts).", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -9,7 +9,10 @@ # fontscan | ||
||is native|accuracy|Custom directory| | ||
|---|---|---|---| | ||
|fontscan|No. Only node.js|Maybe not accurate|Yes. Not only installed font| | ||
|font-manager|Yes. Made with C language|Maybe accurate|No. Only installed font| | ||
||fontscan|font-manager| | ||
|---|---|---| | ||
|native|No, **only JS**|Yes, made with C| | ||
|**custom directories**|**Yes**, you can|No, only system fonts| | ||
|accuracy|Not good|**Good**| | ||
[more info...](https://github.com/ssssota/fontscan-vs-font-manager) | ||
## Usage | ||
@@ -69,4 +72,6 @@ | ||
- `string[]` | ||
- default: `[]` | ||
- `onlyCustomDirectories` | ||
- `boolean` | ||
- default: `false` | ||
@@ -73,0 +78,0 @@ ### `FontDescriptor` |
13595
89