mirror of
https://github.com/servo/servo.git
synced 2025-09-20 03:40:09 +01:00
fonts: Use skrifa to get raw font table data on Linux (#38690)
Use skrifa instead of freetype for extracting raw table data. Allows us to replace unsafe Freetype code with safe Skrifa code. Also allows us to avoid copying the table data. Instead we return Arc'd data. --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
parent
a4fdbe8be3
commit
046dbd86a1
4 changed files with 27 additions and 35 deletions
|
@ -138,6 +138,7 @@ servo-media-dummy = { git = "https://github.com/servo/media" }
|
|||
servo-media-gstreamer = { git = "https://github.com/servo/media" }
|
||||
servo-tracing = { path = "components/servo_tracing" }
|
||||
servo_arc = { git = "https://github.com/servo/stylo", branch = "2025-08-01" }
|
||||
skrifa = "0.31.3"
|
||||
smallbitvec = "2.6.0"
|
||||
smallvec = { version = "1.15", features = ["serde", "union"] }
|
||||
string_cache = "0.8"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue