servo / stylo

70 stars 15 forks source link

Remove Servo-specific font code and expose font-face properties #14

Closed mrobinson closed 6 months ago

mrobinson commented 7 months ago

Servo needs these properties in order to properly load the fonts on servo.org. In addition, remove some custom Servo code that is no longer necessary. Servo will handle filtering web font sources internally, which will allow it to be less dependent on Stylo for this.

This is the first step toward WOFF2 support in Servo.

mrobinson commented 6 months ago

The filtering code is part of the companion Servo PR at: https://github.com/servo/servo/pull/31601