diff --git a/.changeset/eighty-pants-dress.md b/.changeset/eighty-pants-dress.md deleted file mode 100644 index c06c67a7..00000000 --- a/.changeset/eighty-pants-dress.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'@capsizecss/unpack': minor ---- - -Add support for extracting from TrueType Collection by PostScript name - -Enable the extraction of font metrics for a specific font from TrueType Collection (TTC) file by providing the `postscriptName` option. - -For example: - -```ts -import { fromFile } from '@capsizecss/unpack'; - -const metrics = await fromFile('AvenirNext.ttc', { - postscriptName: 'AvenirNext-Bold', -}); -``` \ No newline at end of file diff --git a/packages/unpack/CHANGELOG.md b/packages/unpack/CHANGELOG.md index 871661ee..fb48e68d 100644 --- a/packages/unpack/CHANGELOG.md +++ b/packages/unpack/CHANGELOG.md @@ -1,5 +1,23 @@ # @capsizecss/unpack +## 2.3.0 + +### Minor Changes + +- [#208](https://github.com/seek-oss/capsize/pull/208) [`e3f73ea`](https://github.com/seek-oss/capsize/commit/e3f73eac30f36b4482a361bf860c1eb3c597cedd) Thanks [@michaeltaranto](https://github.com/michaeltaranto)! - Add support for extracting from TrueType Collection by PostScript name + + Enable the extraction of font metrics for a specific font from TrueType Collection (TTC) file by providing the `postscriptName` option. + + For example: + + ```ts + import { fromFile } from '@capsizecss/unpack'; + + const metrics = await fromFile('AvenirNext.ttc', { + postscriptName: 'AvenirNext-Bold', + }); + ``` + ## 2.2.0 ### Minor Changes diff --git a/packages/unpack/package.json b/packages/unpack/package.json index c990f9f3..841227f1 100644 --- a/packages/unpack/package.json +++ b/packages/unpack/package.json @@ -1,6 +1,6 @@ { "name": "@capsizecss/unpack", - "version": "2.2.0", + "version": "2.3.0", "description": "Unpack capsize font metrics from fonts", "keywords": [ "capsize",