mirror of
https://github.com/servo/servo.git
synced 2025-07-30 02:30:21 +01:00
There is now platform-specific way to get metrics for `line-through` on MacOS and currently striking through simply does not work. The correct approach here is likely to first search for these metrics in font tables and then falling back to deriving them. Searching the font tables is a larger change, so this change adds the fallback mechanism first. This at least makes sure that strike through renders at all on Mac. In a followup change we can add support for getting metrics via HarfBuzz in a platform-independent way, which is what Gecko does. Fixes #942. |
||
---|---|---|
.. | ||
font.rs | ||
font_context.rs | ||
font_list.rs | ||
font_template.rs |