@types/pdfkit
Advanced tools
Comparing version 0.10.4 to 0.10.5
@@ -8,2 +8,3 @@ // Type definitions for Pdfkit v0.10.0 | ||
// Evgeny Baram <https://github.com/r4tz52/> | ||
// BamButz <https://github.com/BamButz/> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -73,2 +74,27 @@ | ||
// Text option opentype features as listed at https://docs.microsoft.com/en-us/typography/opentype/spec/featurelist | ||
type OpenTypeFeatures = | ||
| 'aalt' | 'abvf' | 'abvm' | 'abvs' | 'afrc' | 'akhn' | 'blwf' | 'blwm' | 'blws' | 'calt' | 'case' | ||
| 'cfar' | 'cjct' | 'clig' | 'cpct' | 'cpsp' | 'cswh' | 'curs' | 'cv01' | 'cv02' | 'cv03' | 'cv04' | ||
| 'cv05' | 'cv06' | 'cv07' | 'cv08' | 'cv09' | 'cv10' | 'cv11' | 'cv12' | 'cv13' | 'cv14' | 'cv15' | ||
| 'cv16' | 'cv17' | 'cv18' | 'cv19' | 'cv20' | 'cv21' | 'cv22' | 'cv23' | 'cv24' | 'cv25' | 'cv26' | ||
| 'cv27' | 'cv28' | 'cv29' | 'cv30' | 'cv31' | 'cv32' | 'cv33' | 'cv34' | 'cv35' | 'cv36' | 'cv37' | ||
| 'cv38' | 'cv39' | 'cv40' | 'cv41' | 'cv42' | 'cv43' | 'cv44' | 'cv45' | 'cv46' | 'cv47' | 'cv48' | ||
| 'cv49' | 'cv50' | 'cv51' | 'cv52' | 'cv53' | 'cv54' | 'cv55' | 'cv56' | 'cv57' | 'cv58' | 'cv59' | ||
| 'cv60' | 'cv61' | 'cv62' | 'cv63' | 'cv64' | 'cv65' | 'cv66' | 'cv67' | 'cv68' | 'cv69' | 'cv70' | ||
| 'cv71' | 'cv72' | 'cv73' | 'cv74' | 'cv75' | 'cv76' | 'cv77' | 'cv78' | 'cv79' | 'cv80' | 'cv81' | ||
| 'cv82' | 'cv83' | 'cv84' | 'cv85' | 'cv86' | 'cv87' | 'cv88' | 'cv89' | 'cv90' | 'cv91' | 'cv92' | ||
| 'cv93' | 'cv94' | 'cv95' | 'cv96' | 'cv97' | 'cv98' | 'cv99' | 'c2pc' | 'c2sc' | 'dist' | 'ccmp' | ||
| 'dlig' | 'dnom' | 'dtls' | 'expt' | 'falt' | 'fin2' | 'fin3' | 'fina' | 'flac' | 'frac' | 'fwid' | ||
| 'half' | 'haln' | 'halt' | 'hist' | 'hkna' | 'hlig' | 'hngl' | 'hojo' | 'hwid' | 'init' | 'isol' | ||
| 'ital' | 'jalt' | 'jp78' | 'jp83' | 'jp90' | 'jp04' | 'kern' | 'lfbd' | 'liga' | 'ljmo' | 'lnum' | ||
| 'locl' | 'ltra' | 'ltrm' | 'mark' | 'med2' | 'medi' | 'mgrk' | 'mkmk' | 'mset' | 'nalt' | 'nlck' | ||
| 'nukt' | 'numr' | 'onum' | 'opbd' | 'ordn' | 'ornm' | 'palt' | 'pcap' | 'pkna' | 'pnum' | 'pref' | ||
| 'pres' | 'pstf' | 'psts' | 'pwid' | 'qwid' | 'rand' | 'rclt' | 'rkrf' | 'rlig' | 'rphf' | 'rtbd' | ||
| 'rtla' | 'rtlm' | 'ruby' | 'rvrn' | 'salt' | 'sinf' | 'size' | 'smcp' | 'smpl' | 'ss01' | 'ss02' | ||
| 'ss03' | 'ss04' | 'ss05' | 'ss06' | 'ss07' | 'ss08' | 'ss09' | 'ss10' | 'ss11' | 'ss12' | 'ss13' | ||
| 'ss14' | 'ss15' | 'ss16' | 'ss17' | 'ss18' | 'ss19' | 'ss20' | 'ssty' | 'stch' | 'subs' | 'sups' | ||
| 'swsh' | 'titl' | 'tjmo' | 'tnam' | 'tnum' | 'trad' | 'twid' | 'unic' | 'valt' | 'vatu' | 'vert' | ||
| 'vhal' | 'vjmo' | 'vkna' | 'vkrn' | 'vpal' | 'vrt2' | 'vrtr' | 'zero'; | ||
interface PDFColor { | ||
@@ -157,2 +183,4 @@ fillColor(color: ColorValue, opacity?: number): this; | ||
baseline?: number | 'svg-middle' | 'middle' | 'svg-central' | 'bottom' | 'ideographic' | 'alphabetic' | 'mathematical' | 'hanging' | 'top'; | ||
/** an array of OpenType feature tags to apply. If not provided, a set of defaults is used. */ | ||
features?: OpenTypeFeatures[]; | ||
} | ||
@@ -159,0 +187,0 @@ |
{ | ||
"name": "@types/pdfkit", | ||
"version": "0.10.4", | ||
"version": "0.10.5", | ||
"description": "TypeScript definitions for Pdfkit", | ||
@@ -28,2 +28,6 @@ "license": "MIT", | ||
"url": "https://github.com/r4tz52/" | ||
}, | ||
{ | ||
"name": "BamButz", | ||
"url": "https://github.com/BamButz/" | ||
} | ||
@@ -42,4 +46,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "6ab904656582851f73d35c243a0dc323820d8b5cc6e72eee7923d0a78350efae", | ||
"typesPublisherContentHash": "a93cea429152c4d20229ed2342fa951c3489cd0c6e195d077c2075b89322028a", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 19 Nov 2019 23:55:46 GMT | ||
* Last updated: Thu, 26 Dec 2019 19:30:35 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -17,2 +17,2 @@ * Global values: `PDFKit` | ||
# Credits | ||
These definitions were written by Eric Hillah (https://github.com/erichillah), Erik Berreßem (https://github.com/she11sh0cked), Jeroen Vervaeke (https://github.com/jeroenvervaeke/), Thales Agapito (https://github.com/thalesagapito/), and Evgeny Baram (https://github.com/r4tz52/). | ||
These definitions were written by Eric Hillah (https://github.com/erichillah), Erik Berreßem (https://github.com/she11sh0cked), Jeroen Vervaeke (https://github.com/jeroenvervaeke/), Thales Agapito (https://github.com/thalesagapito/), Evgeny Baram (https://github.com/r4tz52/), and BamButz (https://github.com/BamButz/). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21106
420