[api-minor] Stop exporting, by default, a few additional Font properties (PR 11777 follow-up)
*This is similar to the "isSymbolicFont"-property, which is no longer exported by default after PR 11777.* Both "isMonospace" and "isSerifFont" are internal properties, used during font parsing and building of the glyph mapping on the worker-thread. However both of these properties are completely unused on the main-thread and/or in the API, and accessing them they will now require setting the `fontExtraProperties`-option when calling `getDocument`.
This commit is contained in:
parent
8dc22f40c7
commit
e027748627
@ -89,8 +89,6 @@ const EXPORT_DATA_PROPERTIES = [
|
||||
"fallbackName",
|
||||
"fontMatrix",
|
||||
"fontType",
|
||||
"isMonospace",
|
||||
"isSerifFont",
|
||||
"isType3Font",
|
||||
"italic",
|
||||
"loadedName",
|
||||
@ -107,6 +105,8 @@ const EXPORT_DATA_EXTRA_PROPERTIES = [
|
||||
"cMap",
|
||||
"defaultEncoding",
|
||||
"differences",
|
||||
"isMonospace",
|
||||
"isSerifFont",
|
||||
"isSymbolicFont",
|
||||
"seacMap",
|
||||
"toFontChar",
|
||||
|
Loading…
x
Reference in New Issue
Block a user