devtools-protocol 0.0.1224742 → 0.0.1226504
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3866,6 +3866,11 @@
|
|
3866
3866
|
"description": "Font's family name reported by platform.",
|
3867
3867
|
"type": "string"
|
3868
3868
|
},
|
3869
|
+
{
|
3870
|
+
"name": "postScriptName",
|
3871
|
+
"description": "Font's PostScript name reported by platform.",
|
3872
|
+
"type": "string"
|
3873
|
+
},
|
3869
3874
|
{
|
3870
3875
|
"name": "isCustomFont",
|
3871
3876
|
"description": "Indicates if the font was downloaded or resolved locally.",
|
@@ -17993,6 +17998,13 @@
|
|
17993
17998
|
"experimental": true,
|
17994
17999
|
"optional": true,
|
17995
18000
|
"type": "boolean"
|
18001
|
+
},
|
18002
|
+
{
|
18003
|
+
"name": "generateDocumentOutline",
|
18004
|
+
"description": "Whether or not to embed the document outline into the PDF.",
|
18005
|
+
"experimental": true,
|
18006
|
+
"optional": true,
|
18007
|
+
"type": "boolean"
|
17996
18008
|
}
|
17997
18009
|
],
|
17998
18010
|
"returns": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1847,6 +1847,8 @@ experimental domain CSS
|
|
1847
1847
|
properties
|
1848
1848
|
# Font's family name reported by platform.
|
1849
1849
|
string familyName
|
1850
|
+
# Font's PostScript name reported by platform.
|
1851
|
+
string postScriptName
|
1850
1852
|
# Indicates if the font was downloaded or resolved locally.
|
1851
1853
|
boolean isCustomFont
|
1852
1854
|
# Amount of glyphs that were rendered with this font.
|
@@ -8305,6 +8307,8 @@ domain Page
|
|
8305
8307
|
ReturnAsStream
|
8306
8308
|
# Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
|
8307
8309
|
experimental optional boolean generateTaggedPDF
|
8310
|
+
# Whether or not to embed the document outline into the PDF.
|
8311
|
+
experimental optional boolean generateDocumentOutline
|
8308
8312
|
returns
|
8309
8313
|
# Base64-encoded pdf data. Empty if |returnAsStream| is specified.
|
8310
8314
|
binary data
|
package/types/protocol.d.ts
CHANGED
@@ -4921,6 +4921,10 @@ export namespace Protocol {
|
|
4921
4921
|
* Font's family name reported by platform.
|
4922
4922
|
*/
|
4923
4923
|
familyName: string;
|
4924
|
+
/**
|
4925
|
+
* Font's PostScript name reported by platform.
|
4926
|
+
*/
|
4927
|
+
postScriptName: string;
|
4924
4928
|
/**
|
4925
4929
|
* Indicates if the font was downloaded or resolved locally.
|
4926
4930
|
*/
|
@@ -13852,6 +13856,10 @@ export namespace Protocol {
|
|
13852
13856
|
* Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
|
13853
13857
|
*/
|
13854
13858
|
generateTaggedPDF?: boolean;
|
13859
|
+
/**
|
13860
|
+
* Whether or not to embed the document outline into the PDF.
|
13861
|
+
*/
|
13862
|
+
generateDocumentOutline?: boolean;
|
13855
13863
|
}
|
13856
13864
|
|
13857
13865
|
export interface PrintToPDFResponse {
|