Skip to content

@capsizecss/[email protected]

Compare
Choose a tag to compare
@seek-oss-ci seek-oss-ci released this 29 Jul 23:44
· 5 commits to master since this release
e2bc86d

Minor Changes

  • #208 e3f73ea Thanks @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:

    import { fromFile } from '@capsizecss/unpack';
    
    const metrics = await fromFile('AvenirNext.ttc', {
      postscriptName: 'AvenirNext-Bold',
    });