# imagemagick-macos-font-setup

> Sets up user fonts for imagemagick on macOS

Latest version **2.0.2** (published 2020-03-09) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install imagemagick-macos-font-setup
pnpm add imagemagick-macos-font-setup
yarn add imagemagick-macos-font-setup
bun add imagemagick-macos-font-setup
```

Provides the command `imagemagick-macos-font-setup`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2020-03-09 |
| First published | 2017-05-08 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Justin Searls |
| Maintainers | searls |

## Links

- npm: https://www.npmjs.com/package/imagemagick-macos-font-setup
- Repository: https://github.com/testdouble/imagemagick-macos-font-setup
- Homepage: https://github.com/testdouble/imagemagick-macos-font-setup#readme
- Issues: https://github.com/testdouble/imagemagick-macos-font-setup/issues
- npm.io page: https://npm.io/package/imagemagick-macos-font-setup

## Recent versions

- 2.0.2 (latest) — 2020-03-09
- 2.0.1 — 2017-05-08
- 2.0.0 — 2017-05-08
- 1.0.0 — 2017-05-08

## README

# imagemagick-macos-font-setup

This is a little utility for making ImageMagick aware of any user fonts you've installed in macOS.

## Prerequisites

This will explode if you haven't installed ImageMagick. First, do that with [Homebrew](https://brew.sh):

```
$ brew install imagemagick
```

## Installation

Just install it globally via npm to get the binary onto your path:

```
$ npm i -g imagemagick-macos-font-setup
```

## Usage

### CLI

From the command line, run:

```
$ imagemagick-macos-font-setup
```

Which will evaluate a tweaked fork of [this Perl script](http://www.imagemagick.org/Usage/scripts/imagick_type_gen) and overwrite your ImageMagick font definition in `~/.config/ImageMagick/type.xml`.

### API

You can also invoke this via JavaScript with a simple callback interface:

``` js
require('imagemagick-macos-font-setup')(function (er) {
  if (er) throw er
  console.log('Fonts configured!')
})
```

---
_Source: https://npm.io/package/imagemagick-macos-font-setup · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
