@@ -245,7 +245,7 @@ export interface Subset {
245245}
246246
247247/**
248- * A map of OpenType features as described in OpenType's spec:
248+ * A map of OpenType features as described in OpenType's spec:
249249 * https://docs.microsoft.com/en-gb/typography/opentype/spec/featurelist.
250250 */
251251export interface OpenTypeFeatures {
@@ -480,8 +480,8 @@ export interface OpenTypeFeatures {
480480 zero ?: boolean ;
481481}
482482/**
483- * A map of Apple Advanced Typography (AAT) as decribed by Apple’s TrueType
484- * Reference manual:
483+ * A map of Apple Advanced Typography (AAT) as decribed by Apple’s TrueType
484+ * Reference manual:
485485 * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6AATIntro.html
486486 */
487487export interface AATFeatures {
@@ -494,7 +494,7 @@ export interface AATFeatures {
494494 bsln ?: boolean ;
495495 cmap ?: boolean ;
496496 cvar ?: boolean ;
497- cvt ?: boolean ;
497+ cvt ?: boolean ;
498498 EBSC ?: boolean ;
499499 fdsc ?: boolean ;
500500 feat ?: boolean ;
@@ -522,7 +522,7 @@ export interface AATFeatures {
522522 morx ?: boolean ;
523523 name ?: boolean ;
524524 opbd ?: boolean ;
525- 'OS/2' ?: boolean ;
525+ 'OS/2' ?: boolean ;
526526 post ?: boolean ;
527527 prep ?: boolean ;
528528 prop ?: boolean ;
@@ -536,7 +536,7 @@ export interface AATFeatures {
536536
537537/**
538538 * The features is an object mapping OpenType features to a boolean
539- * enabling or disabling each. If this is an AAT font,
539+ * enabling or disabling each. If this is an AAT font,
540540 * the OpenType feature tags are mapped to AAT features.
541541 */
542542export interface TypeFeatures extends OpenTypeFeatures , AATFeatures {
@@ -572,7 +572,7 @@ export interface Font {
572572 // Other properties
573573 numGlyphs : number /** Number of glyphs in the font */ ;
574574 characterSet : number [ ] /** Array of all of the unicode code points supported by the font */ ;
575- availableFeatures : TypeFeatures | ( keyof TypeFeatures ) [ ] /** OpenType feature tags (or mapped AAT tags) supported by the font */ ;
575+ availableFeatures : ( keyof TypeFeatures ) [ ] /** OpenType feature tags (or mapped AAT tags) supported by the font */ ;
576576 cff : any ;
577577 'OS/2' : { sFamilyClass : number } ;
578578 head : { macStyle : { italic : boolean } } ;
@@ -617,7 +617,10 @@ export interface Font {
617617 * in addition to the default set. If this is an AAT font, the OpenType
618618 * feature tags are mapped to AAT features.
619619 */
620- layout ( string : string , features ?: TypeFeatures | ( keyof TypeFeatures ) [ ] ) : GlyphRun ;
620+ layout (
621+ string : string ,
622+ features ?: TypeFeatures | ( keyof TypeFeatures ) [ ] ,
623+ ) : GlyphRun ;
621624
622625 // Other Methods
623626
0 commit comments