Skip to content

Commit 10e01bb

Browse files
Version Packages
1 parent 7e62b2d commit 10e01bb

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

.changeset/eighty-pants-dress.md

-17
This file was deleted.

packages/unpack/CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @capsizecss/unpack
22

3+
## 2.3.0
4+
5+
### Minor Changes
6+
7+
- [#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
8+
9+
Enable the extraction of font metrics for a specific font from TrueType Collection (TTC) file by providing the `postscriptName` option.
10+
11+
For example:
12+
13+
```ts
14+
import { fromFile } from '@capsizecss/unpack';
15+
16+
const metrics = await fromFile('AvenirNext.ttc', {
17+
postscriptName: 'AvenirNext-Bold',
18+
});
19+
```
20+
321
## 2.2.0
422

523
### Minor Changes

packages/unpack/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@capsizecss/unpack",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "Unpack capsize font metrics from fonts",
55
"keywords": [
66
"capsize",

0 commit comments

Comments
 (0)