Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-11-02 Thread Myles C. Maxfield
I’d like to clarify my previous email. Everyone wants to see high quality math rendering on the Web. MathML is a web standard, has two implementations (WebKit and Gecko), and is one of the most requested features in Chromium

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-27 Thread Myles C. Maxfield
Is there any development being done on MathML? There are quite a few places where our implementation is fairly broken. This, coupled with the fact that most places which use MathML on the Web fallback to MathJax (which doesn’t need MathML) makes me question whether we want to continue supporting

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-25 Thread Michael Catanzaro
On Wed, Oct 25, 2017 at 12:05 PM, Maciej Stachowiak wrote: Why don't we wait to hear from port owners whether they would actually want to disable MathML for reason of compatibiltiy. Knowing answers to the above questions would help. For GTK and WPE, I think it's fine to have MathML enabled u

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-25 Thread Frédéric WANG
On 25/10/2017 19:05, Maciej Stachowiak wrote: > > (1) Is it at all common to use MathML with a math font specified as a web > font? Can you give an example? I can't say whether it is "common" but I guess the trick is well known by MathML users, since unfortunately many systems do not provide math

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-25 Thread Maciej Stachowiak
> On Oct 25, 2017, at 1:44 AM, Frédéric WANG wrote: > > On 24/10/2017 18:50, Maciej Stachowiak wrote: >> I don't have a strong opinion on whether we should support disabling >> MathML. My point is just that if we support disabling it, it should be >> a runtime switch, not compile-time. >> Good

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-25 Thread Frédéric WANG
On 24/10/2017 18:50, Maciej Stachowiak wrote: > I don't have a strong opinion on whether we should support disabling > MathML. My point is just that if we support disabling it, it should be > a runtime switch, not compile-time. > Good reasons to have a compile-time switch would be: > - Some ports w

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-24 Thread Ryosuke Niwa
On Tue, Oct 24, 2017 at 2:35 AM, Olivier Blin wrote: > Le 24/10/2017 à 09:19, Frédéric WANG a écrit : > >> On 23/10/2017 18:25, Adrian Perez de Castro wrote: >> > From your description it sounds that what takes more disk space in >> MathML are >> > the needed math fonts, and that the amount of co

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-24 Thread Maciej Stachowiak
> On Oct 24, 2017, at 12:14 AM, Frédéric WANG wrote: > > On 23/10/2017 18:11, Maciej Stachowiak wrote: >> >> Is there any way we can convert MathML to a runtime switch? It seems >> like the main consideration is rendering quality given available >> fonts, rather than code size. >> >> Regards,

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-24 Thread Frédéric WANG
On 24/10/2017 11:35, Olivier Blin wrote: > Hi, > > The difference is about 250 kB on libWPEWebKit.so.0 for a WPE build on > my ARMv7 target: > > - without MathML : 37474160 > - with MathML: 37726056 > > This can still be significant on low-end devices, with 128 MB of flash > storage. > Thank you Ol

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-24 Thread Olivier Blin
Le 24/10/2017 à 09:19, Frédéric WANG a écrit : On 23/10/2017 18:25, Adrian Perez de Castro wrote: > From your description it sounds that what takes more disk space in MathML are > the needed math fonts, and that the amount of code added to WebKit when built > is in the order of hundreds of kiloby

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-24 Thread Frédéric WANG
On 24/10/2017 09:14, Frédéric WANG wrote: > so it's a different use case and that one does not make sense to me. *does make sense* -- Frédéric Wang - frederic-wang.fr signature.asc Description: OpenPGP digital signature ___ webkit-dev mailing list w

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-24 Thread Frédéric WANG
On 23/10/2017 18:25, Adrian Perez de Castro wrote: > From your description it sounds that what takes more disk space in MathML are > the needed math fonts, and that the amount of code added to WebKit when built > is in the order of hundreds of kilobytes, at most (BTW, do you have figures of > MathM

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-24 Thread Frédéric WANG
On 23/10/2017 18:11, Maciej Stachowiak wrote: > > Is there any way we can convert MathML to a runtime switch? It seems > like the main consideration is rendering quality given available > fonts, rather than code size. > > Regards, > Maciej > @Maciej: As I explained, I don't think disabling a HTML5

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-24 Thread Frédéric WANG
@Konstantin I think you are a bit deviating from the main question but FWIW: a) MathML also remains readable without math fonts as long as you don't use complex content (same is true for normal text as long as you do not use the rarest unicode characters) b) None of the feature detection technique

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-23 Thread Konstantin Tokarev
23.10.2017, 19:11, "Frédéric WANG" : > On 23/10/2017 18:04, Konstantin Tokarev wrote: >>  There is a big difference between SVG and MathML: the first one is entirely >> self- >>  contained, while (AFAIU) MathML requires presence of math fonts on the >> target >>  system for correct rendering (i

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-23 Thread Adrian Perez de Castro
Hi Fred, On Mon, 23 Oct 2017 17:42:29 +0200, Frédéric WANG wrote: > There have been some discussions recently on > https://bugs.webkit.org/show_bug.cgi?id=177744 regarding the relevance > of the compile-time flag for MathML. Discussing with Olivier during the > Web Engines Hackfest, it seems he

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-23 Thread Maciej Stachowiak
> On Oct 23, 2017, at 9:04 AM, Konstantin Tokarev wrote: > > > > 23.10.2017, 18:43, "Frédéric WANG" >: >> Hi, >> >> There have been some discussions recently on >> https://bugs.webkit.org/show_bug.cgi?id=177744 regarding the relevance >> of the compile-time flag fo

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-23 Thread Frédéric WANG
On 23/10/2017 18:04, Konstantin Tokarev wrote: > There is a big difference between SVG and MathML: the first one is entirely > self- > contained, while (AFAIU) MathML requires presence of math fonts on the target > system for correct rendering (i.e. native MathML will look much worse than > image

Re: [webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-23 Thread Konstantin Tokarev
23.10.2017, 18:43, "Frédéric WANG" : > Hi, > > There have been some discussions recently on > https://bugs.webkit.org/show_bug.cgi?id=177744 regarding the relevance > of the compile-time flag for MathML. Discussing with Olivier during the > Web Engines Hackfest, it seems he only had disabled Math

[webkit-dev] Proposal: Remove ENABLE(MATHML)

2017-10-23 Thread Frédéric WANG
Hi, There have been some discussions recently on https://bugs.webkit.org/show_bug.cgi?id=177744 regarding the relevance of the compile-time flag for MathML. Discussing with Olivier during the Web Engines Hackfest, it seems he only had disabled MathML in his project because he thought it would redu