1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-23 08:38:06 +02:00

Merge pull request #19549 from Snuffleupagus/fewer-EXPORT_DATA_PROPERTIES-2

[api-minor] Stop exporting, by default, a few additional Font properties (PR 11777 follow-up)
This commit is contained in:
Jonas Jenwald 2025-02-27 11:15:27 +01:00 committed by GitHub
commit 4e76a78341
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,7 +82,6 @@ const EXPORT_DATA_PROPERTIES = [
"black",
"bold",
"charProcOperatorList",
"composite",
"cssFontInfo",
"data",
"defaultVMetrics",
@ -100,22 +99,23 @@ const EXPORT_DATA_PROPERTIES = [
"missingFile",
"name",
"remeasure",
"subtype",
"systemFontInfo",
"type",
"vertical",
];
const EXPORT_DATA_EXTRA_PROPERTIES = [
"cMap",
"composite",
"defaultEncoding",
"differences",
"isMonospace",
"isSerifFont",
"isSymbolicFont",
"seacMap",
"subtype",
"toFontChar",
"toUnicode",
"type",
"vmetrics",
"widths",
];