mirror of
https://github.com/servo/servo.git
synced 2025-10-02 01:29:15 +01:00
fonts: Store web fonts in the per-Layout FontContext
(#32303)
This moves mangement of web fonts to the per-Layout `FontContext`, preventing web fonts from being available in different Documents. Fixes #12920. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
8d2d955bbb
commit
be5b527ea3
30 changed files with 1010 additions and 558 deletions
3
Cargo.lock
generated
3
Cargo.lock
generated
|
@ -639,6 +639,7 @@ dependencies = [
|
|||
"ipc-channel",
|
||||
"log",
|
||||
"lyon_geom",
|
||||
"net_traits",
|
||||
"num-traits",
|
||||
"pathfinder_geometry",
|
||||
"pixels",
|
||||
|
@ -2051,6 +2052,7 @@ dependencies = [
|
|||
"unicode-bidi",
|
||||
"unicode-properties",
|
||||
"unicode-script",
|
||||
"url",
|
||||
"webrender_api",
|
||||
"webrender_traits",
|
||||
"xi-unicode",
|
||||
|
@ -2062,6 +2064,7 @@ dependencies = [
|
|||
name = "gfx_traits"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"ipc-channel",
|
||||
"malloc_size_of",
|
||||
"malloc_size_of_derive",
|
||||
"range",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue