From 9104f3bbc9e243ad04f492166821a3f1ed271675 Mon Sep 17 00:00:00 2001 From: Karl Bowden Date: Mon, 20 Jun 2016 18:47:29 +1000 Subject: [PATCH] Prepare release 0.2.0 --- CHANGELOG.md | 17 +++++++++++++++++ README.md | 18 +++++++++--------- package.json | 2 +- 3 files changed, 27 insertions(+), 10 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..aa9306b --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +> Breaking / Enhancements / Bug Fixes + +## 0.2.0 + +##### Enhancements + +* Add font subset support + [Julian Grinblat](https://github.com/perrin4869) + [#26](https://github.com/agentk/fontfacegen/pull/26) + +##### Bug Fixes + +* Suggest batik-ttf2svg instead of ttf2svg on Mac + [Daniele De Nobili](https://github.com/omoikane) + [#24](https://github.com/agentk/fontfacegen/issues/24) diff --git a/README.md b/README.md index 42b0978..5f10cdd 100644 --- a/README.md +++ b/README.md @@ -46,27 +46,27 @@ Path to the destination folder for the converted fonts to be placed in. Path to the destination file to write the generated stylesheet to. -Default = `null` (Guess the css filename from the font filename) +**Default**: `null` (Guess the css filename from the font filename) ### css_fontpath: Path to the font files relative to the css generated. -Default = '' +**Default**: `''` -### subset +### subset: A string or array with the characters desired to be included inside the generated fonts -Default = null +**Default**: `null` ### collate: Append the source filename to the destination directory in order to collate generated fonts into separate directories. -Default = `false` +**Default**: `false` -IE: +**IE**: options = { source: 'src/fonts/ariel.ttf', @@ -78,9 +78,9 @@ Will create fonts into `'dist/fonts/ariel/'`. ### embed: -Type: `array` -Default: `[]` -Valid values: `['woff', 'ttf']` +**Type**: `array` +**Default**: `[]` +**Valid values**: `['woff', 'ttf']` Type of fonts to embed directly into the generated css file as a data-uri instead of creating files for them. diff --git a/package.json b/package.json index ab24ade..a87d508 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fontfacegen", "description": "Browser font-face generator for creating browser usable fonts from ttf's or otf's", - "version": "0.1.12", + "version": "0.2.0", "homepage": "https://github.com/agentk/fontfacegen", "author": { "name": "Karl Bowden",