Skip to content

Commit d9378df

Browse files
d-desiatkind00919174
authored andcommitted
[documentation](inline-layout&contributing):
Expand documentation in several points of inline layout. Add contributing to the servo-book section Signed-off-by: Desiatkin Dmitrii <d.desyatkin@innopolis.university>
1 parent 366b4e1 commit d9378df

File tree

4 files changed

+248
-17
lines changed

4 files changed

+248
-17
lines changed

src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- [Running servoshell](running-servoshell.md)
77
- [Contributing to Servo\*](contributing.md)
88
- [Requesting crate releases](hacking/requesting-crate-releases.md)
9+
- [Contributing to this book](hacking/contributing-to-servo-book.md)
910

1011
# Hacking on Servo
1112

src/architecture/fonts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ As a result of this algorthm we must get the `FontFace` of particular font file
193193
Most important places in code for us, is a piece of code text-segmentation algorithm that choses font, that could be found at:
194194
`components\layout_2020\flow\inline\text_run.rs` `TextRun::segment_and_shape` `TextRun::segment_text_by_font`
195195

196-
The following function setup important concept of FontGroup. Each Font-group is associated with particular style of parent element, this is the optimization that allow to reuse determined fonts within the group to the elements with the same style that we can meet further down the processing of web-page. This allows to traverse less fonts per call of `find_by_codepoint` function that contains steps 1, 2, 3, 5, 6, 7, 8 of CSS Font Style Matching.
196+
The following function setup important concept of FontGroup. Each Font-group is associated with particular style of parent element, this is the optimization that allows servo to reuse determined fonts within the group to the elements with the same style that we can meet further down the processing of web-page. This allows to traverse less fonts per call of `find_by_codepoint` function that contains steps 1, 2, 3, 5, 6, 7, 8 of CSS Font Style Matching.
197197

198198
```rust
199199
fn segment_text_by_font(

0 commit comments

Comments
 (0)