1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00
pdf.js/src
Jonas Jenwald 6a0b047bfa Add upper-case I as a possible space replacement fallback in Font.spaceWidth to improve text-selection (issue 7180)
In fonts with only upper-case glyphs, that are also missing a space glyph, `get spaceWidth` won't be able to return anything useful.
By adding upper-case `I` as a fallback, we can thus improve text-selection in some PDF files.
Note that locally, the patch causes slight movement in a few existing `text` tests, but in my opinion this actually looks like slight improvements.

Fixes 7180.
2016-06-07 22:55:25 +02:00
..
core Add upper-case I as a possible space replacement fallback in Font.spaceWidth to improve text-selection (issue 7180) 2016-06-07 22:55:25 +02:00
display Remove unused variables 2016-05-11 16:11:13 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Fixes some static analysis warnings and recommendations 2016-05-02 17:34:58 -05:00
doc_helper.js Proxy global PDFJS.verbosity to properly configure shared/util. 2016-03-23 19:24:37 -05:00
frameworks.js Merge pull request #7189 from yurydelendik/webpack-browserify-love 2016-04-13 08:42:11 -05:00
main_loader.js Exposes all functional members via lib exports and use them in viewer. 2016-04-07 13:46:07 -05:00
pdf.js Exposes all functional members via lib exports and use them in viewer. 2016-04-07 13:46:07 -05:00
pdf.worker.entry.js Removing "entry-loader" dependency from webpack. 2016-04-13 08:24:25 -05:00
worker_loader.js Improve work-around for importScripts bug. 2016-02-03 23:30:27 +01:00