servo/components
Martin Robinson 094f7845b1
layout: Shape text only once (#31146)
Shape text during InlineFormattingContext construction rather than doing
it twice during fragment tree construction. This is a step on the way
toward proper font fallback.

This also moves all `TextRun` related code into `text_run.rs` to try to
trim down the size of `inline.rs`.
<!-- Please describe your changes on the following line: -->


---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by
`[X]` when the step is complete, and replace `___` with appropriate
data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because this should only have
performance impacts.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox
is checked, so that we can help you if you get stuck somewhere along the
way.-->

<!-- Pull requests that do not address these steps are welcome, but they
will require additional verification as part of the review process. -->
2024-01-25 14:33:47 +00:00
..
allocator Preliminary Android build support (#31086) 2024-01-22 13:00:15 +00:00
atoms Further changes required by Servo 2023-11-06 09:35:57 +01:00
background_hang_monitor Preliminary Android build support (#31086) 2024-01-22 13:00:15 +00:00
bluetooth Preliminary Android build support (#31086) 2024-01-22 13:00:15 +00:00
canvas rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
compositing constellation: focusing and closing webviews (#30842) 2024-01-24 11:45:54 +00:00
config rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
config_plugins Remove use of proc_macro_diagnostics feature (#30745) 2023-11-17 10:36:09 +00:00
constellation constellation: focusing and closing webviews (#30842) 2024-01-24 11:45:54 +00:00
deny_public_fields
derive_common Further changes required by Servo 2023-11-24 08:57:14 +01:00
devtools rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
dom_struct Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
domobject_derive
geometry
gfx Replace time with std::time in components/gfx (#31168) 2024-01-25 08:31:40 +00:00
hyper_serde Revert "Replace time with std::time in components/net (#31079)" (#31120) 2024-01-18 15:10:48 +00:00
jstraceable_derive
layout rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
layout_2020 layout: Shape text only once (#31146) 2024-01-25 14:33:47 +00:00
layout_thread Compile Servo with the latest version of rust stable (#30831) 2023-12-06 17:36:07 +00:00
layout_thread_2020 Compile Servo with the latest version of rust stable (#30831) 2023-12-06 17:36:07 +00:00
malloc_size_of script: Start replacing time with std::time and chrono (#30639) 2024-01-16 12:23:18 +00:00
media Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
metrics Replace time with std::time in components/metrics & components/shared (#31020) 2024-01-10 19:23:47 +00:00
net rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
pixels
profile Preliminary Android build support (#31086) 2024-01-22 13:00:15 +00:00
rand
range
remutex rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
script Use Int8array, int16array, uint16array, int32array & uint32array in WebIDL (#31164) 2024-01-25 14:28:43 +00:00
selectors Further changes required by Servo 2023-11-24 08:57:14 +01:00
servo constellation: focusing and closing webviews (#30842) 2024-01-24 11:45:54 +00:00
servo_arc style: Rustfmt servo/. r=zrhoffman 2023-11-24 08:57:14 +01:00
shared constellation: focusing and closing webviews (#30842) 2024-01-24 11:45:54 +00:00
size_of_test
style layout: Implement support for line-height and vertical-align (#30902) 2024-01-08 14:49:50 +00:00
style_derive Further changes required by Servo 2023-11-24 08:57:14 +01:00
style_traits style: Remove viewport rule code 2023-11-24 08:57:14 +01:00
to_shmem style: Rustfmt servo/. r=zrhoffman 2023-11-24 08:57:14 +01:00
to_shmem_derive Further changes required by Servo 2023-11-24 08:57:14 +01:00
url
webdriver_server Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
webgpu Fix failed request for adapter when not available (#31002) 2024-01-09 09:12:53 +00:00
webrender_surfman Preliminary Android build support (#31086) 2024-01-22 13:00:15 +00:00