0
Files
src/pdf
Ramin Halavati a9d95bfc55 Add test for PDF Searchify spaces between words.
Additional changes:
1. If the bounding rectangles of two consecutive words collide, a
   space rect is not added between them.
2. Typo is fixed in reserved vector size for `words_and_spaces` to
   reserve "2 * word_count - 1" instead of "2 * word_count + 1" as the
   number of spaces is at most one less than words.

Bug: 360803943
Change-Id: I3e459f4320bc439d0d4532847ec24a44af9c5600
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5964956
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Chu-Hsuan Yang <chuhsuan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1375056}
2024-10-29 05:29:55 +00:00
..

//pdf contains the PDF plugin, its Blink-based replacement, as well as PDF utility functions that leverage PDFium. It can use low-level components that live below the content layer, as well as other foundational code like //printing. It should not use //content or anything in //components that lives above the content layer. Code that lives above the content layer should live in //components/pdf, or in the embedder. All the code here should run in sandboxed child processes.

TODO(crbug.com/40186598): Remove existing //content dependencies.