This PR serializes font data into an ArrayBuffer that is then transfered from the worker to the main thread. It's more efficient than the current solution which clones the "export data" object which includes the font data as a Uint8Array. It prepares us to switch to a SharedArrayBuffer in the future, which would allow us to share the font data with multiple agents, which would be crucial for the upcoming "renderer" worker.
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"spec_dir": "build/lib-legacy/test/unit",
|
|
|
|
"helpers": ["clitests_helper.js"],
|
|
|
|
"spec_files": [
|
|
"annotation_spec.js",
|
|
"annotation_storage_spec.js",
|
|
"api_spec.js",
|
|
"app_options_spec.js",
|
|
"autolinker_spec.js",
|
|
"bidi_spec.js",
|
|
"bin_font_info_spec.js",
|
|
"canvas_factory_spec.js",
|
|
"cff_parser_spec.js",
|
|
"cmap_spec.js",
|
|
"colorspace_spec.js",
|
|
"core_utils_spec.js",
|
|
"crypto_spec.js",
|
|
"custom_spec.js",
|
|
"default_appearance_spec.js",
|
|
"display_utils_spec.js",
|
|
"document_spec.js",
|
|
"editor_spec.js",
|
|
"encodings_spec.js",
|
|
"evaluator_spec.js",
|
|
"event_utils_spec.js",
|
|
"fetch_stream_spec.js",
|
|
"font_substitutions_spec.js",
|
|
"function_spec.js",
|
|
"message_handler_spec.js",
|
|
"metadata_spec.js",
|
|
"murmurhash3_spec.js",
|
|
"network_utils_spec.js",
|
|
"node_stream_spec.js",
|
|
"parser_spec.js",
|
|
"pdf.image_decoders_spec.js",
|
|
"pdf.worker_spec.js",
|
|
"pdf_find_controller_spec.js",
|
|
"pdf_find_utils_spec.js",
|
|
"pdf_history_spec.js",
|
|
"pdf_spec.js",
|
|
"pdf_viewer.component_spec.js",
|
|
"pdf_viewer_spec.js",
|
|
"primitives_spec.js",
|
|
"stream_spec.js",
|
|
"struct_tree_spec.js",
|
|
"svg_factory_spec.js",
|
|
"text_layer_spec.js",
|
|
"type1_parser_spec.js",
|
|
"ui_utils_spec.js",
|
|
"unicode_spec.js",
|
|
"util_spec.js",
|
|
"writer_spec.js",
|
|
"xfa_formcalc_spec.js",
|
|
"xfa_parser_spec.js",
|
|
"xfa_serialize_data_spec.js",
|
|
"xfa_tohtml_spec.js",
|
|
"xml_spec.js"
|
|
]
|
|
}
|