Closed Bug 1316216 Opened 3 years ago Closed 3 years ago

Remove freetype dependency in webrender on Linux


(Core :: Graphics: WebRender, defect)

Not set





(Reporter: mtseng, Assigned: kats)




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:
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 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.