pdf.js/src/shared
Jonas Jenwald 88f9e633dd Try to improve text-selection for Type3 fonts that utilize a non-default /FontMatrix (bug 1513120)
For Type3 fonts text-selection is often not that great, and there's a couple of heuristics used to try and improve things. This patch simple extends those heuristics a bit, and fixes a pre-existing "naive" array comparison, but this all feels a bit brittle to say the least.

The existing Type3 test-coverage isn't that great in general, and in particular Type3 `text` tests are few and far between, hence why this patch adds *two* different new `text` tests.
2019-03-12 10:32:08 +01:00
..
cffStandardStrings.js Fix errors reported by the comma-spacing ESLint rule 2016-12-12 20:35:53 +01:00
compatibility.js Fallback to the built-in font renderer when font loading fails 2019-02-11 10:27:08 +01:00
fonts_utils.js Convert some usage of indexOf to startsWith/includes where applicable 2019-01-18 17:57:41 +01:00
global_scope.js Moves global scope out of shared/util. 2017-08-22 18:20:52 -05:00
is_node.js Don't detect nw.js as node.js 2018-11-07 11:14:22 +01:00
message_handler.js Add support for async/await using Babel 2018-08-19 16:54:11 +02:00
streams_polyfill.js Stop bundling the ReadableStream polyfill in MOZCENTRAL builds (PR 10470 follow-up) 2019-01-23 20:33:20 +01:00
url_polyfill.js Try to, completely, avoid loading the ReadableStream polyfill in MOZCENTRAL builds 2019-01-19 09:05:01 +01:00
util.js Try to improve text-selection for Type3 fonts that utilize a non-default /FontMatrix (bug 1513120) 2019-03-12 10:32:08 +01:00