mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
Use xi-unicode for line breaking This uses the xi-unicode crate by @raphlinus to detect line-break opportunities, replacing Servo's custom code that only detects ASCII whitespace. xi-unicode is licensed under the Apache-2.0 license. See mbrubeck/servo#2 for some discussion on an earlier draft of this code. This PR implements the "search backward to find trailing whitespace" solution discussed there. r? @pcwalton <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10913) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
display_list | ||
platform | ||
text | ||
Cargo.toml | ||
filters.rs | ||
font.rs | ||
font_cache_thread.rs | ||
font_context.rs | ||
font_template.rs | ||
lib.rs | ||
paint_context.rs | ||
paint_thread.rs |