Closed Bug 1316216 Opened 3 years ago Closed 3 years ago

Remove freetype dependency in webrender on Linux

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla54

People

(Reporter: mtseng, Assigned: kats)

References

Details

see https://github.com/jrmuizel/gecko-dev/pull/31

There is some issue in windows. I'll try to fix it.
AIUI if we switch to dwrite (I believe vlad has this almost working) then we shouldn't need freetype on windows at all.
I'm going to focus this bug on Linux for now, will deal with Windows later. On Linux we don't actually need servo-freetype-sys in firefox since we already have a freetype library available. On Windows we need to hook up dwrite properly first (I'm not sure what the status of that is).

I submitted a PR against rust-freetype to make the dependency optional so that we can stop pulling in servo-freetype-sys on Linux:

https://github.com/servo/rust-freetype/pull/43
Summary: Remove freetype dependency in webrender. → Remove freetype dependency in webrender on Linux
^ PR merged. We'll need to wait for the crate update on crates.io and also land a change in the WebRender Cargo.toml file to opt out of the servo-freetype-sys feature on Linux.
Assignee: nobody → bugmail
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.