af4dc55019
- Improve chunking in order to fix some bugs where the spaces aren't here: * track the last position where a glyph has been drawn; * when a new glyph (first glyph in a chunk) is added then compare its position with the last saved one and add a space or break: - there are multiple ways to move the glyphs and to avoid to have to deal with all the different possibilities it's a way easier to just compare positions; - and so there is now one function (i.e. "compareWithLastPosition") where all the job is done. - Add some breaks in order to get lines; - Remove the multiple whites spaces: * some spaces were filled with several whites spaces and so it makes harder to find some sequences of words using the search tool; * other pdf readers replace spaces by one white space. Update src/core/evaluator.js Co-authored-by: Jonas Jenwald <jonas.jenwald@gmail.com> Co-authored-by: Jonas Jenwald <jonas.jenwald@gmail.com> |
||
---|---|---|
.. | ||
annotation_layer.js | ||
annotation_storage.js | ||
api_compatibility.js | ||
api.js | ||
canvas.js | ||
content_disposition.js | ||
display_utils.js | ||
fetch_stream.js | ||
font_loader.js | ||
metadata.js | ||
network_utils.js | ||
network.js | ||
node_stream.js | ||
node_utils.js | ||
optional_content_config.js | ||
pattern_helper.js | ||
svg.js | ||
text_layer.js | ||
transport_stream.js | ||
webgl.js | ||
worker_options.js | ||
xfa_layer.js |