| Summary: | Webkit renders math formula in SVG format improperly | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | hzcheng15 | ||||||
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | NEW --- | ||||||||
| Severity: | Normal | CC: | mmaxfield, sabouhallawa, webkit-bug-importer, zalan, zimmermann | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 16 | ||||||||
| Hardware: | Mac (Apple Silicon) | ||||||||
| OS: | macOS 13 | ||||||||
| Attachments: |
|
||||||||
|
Description
hzcheng15
2023-01-30 09:18:57 PST
It sounds like this may be a change from macOS Monterey to Ventura; do you happen to have a way to positively confirm that this is a regression? (In reply to Alexey Proskuryakov from comment #1) > It sounds like this may be a change from macOS Monterey to Ventura; do you > happen to have a way to positively confirm that this is a regression? I just tried with another 2020 intel MBP and it works fine. Also, I noticed that when connecting to an external monitor and selecting no-retina option in easyRes(http://easyresapp.com) the render result is the worst. The intel MBP is using Monterey 12.6.2 I am having difficulty reproducing this bug when visiting the links up on macOS Ventura and ToT WebKit. It may happen only when upgrading from Monterey to Ventura. My Ventura was a clean install. I have macOS Ventura 13.2 on M1. The webpage looks good, but the direct SVG URL shows jagged text. (In reply to Said Abou-Hallawa from comment #5) > I am having difficulty reproducing this bug when visiting the links up on > macOS Ventura and ToT WebKit. It may happen only when upgrading from > Monterey to Ventura. My Ventura was a clean install. I'm using a machine with factory default Ventura (In reply to hzcheng15 from comment #7) > (In reply to Said Abou-Hallawa from comment #5) > > I am having difficulty reproducing this bug when visiting the links up on > > macOS Ventura and ToT WebKit. It may happen only when upgrading from > > Monterey to Ventura. My Ventura was a clean install. > > I'm using a machine with factory default Ventura It's indeed a SVG issue, because I also tried mathajx and katex with options that turn the outputs to <span> and other elements, and they're all ok. The only problematic configuration with mathjax is <script type="text/x-mathjax-config"> MathJax.Hub.Config({ extensions: ["tex2jax.js", "TeX/AMSmath.js"], jax: ["input/TeX", "output/SVG"], }) </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=default"></script> Created attachment 464827 [details]
screenshot
It seems if we turn off the box alignment everything will be fine, which explains why some formulas look good while others do not even on the same page. (In reply to Alexey Proskuryakov from comment #1) > It sounds like this may be a change from macOS Monterey to Ventura; do you > happen to have a way to positively confirm that this is a regression? Update: if I disable "Full Page Accelerated Drawing" from the debug menu this bug will disappear, while the MotionMark1.2 score will drop significantly then. I'm pretty sure there're other people suffering from the same bug: https://www.reddit.com/r/MacOS/comments/zz9yjh/is_there_a_way_i_can_fix_mathjax_font_on_safari/ |