Bug 68179 - Remove SVG_FONTS define as it's enabled on all major ports
Summary: Remove SVG_FONTS define as it's enabled on all major ports
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Seidel (no email)
URL:
Keywords:
Depends on:
Blocks: 68012
  Show dependency treegraph
 
Reported: 2011-09-15 12:07 PDT by Eric Seidel (no email)
Modified: 2012-01-25 14:13 PST (History)
4 users (show)

See Also:


Attachments
Patch (94.50 KB, patch)
2011-09-15 12:08 PDT, Eric Seidel (no email)
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2011-09-15 12:07:39 PDT
Remove SVG_FONTS define as it's enabled on all major ports
Comment 1 Eric Seidel (no email) 2011-09-15 12:08:21 PDT
Created attachment 107525 [details]
Patch
Comment 2 Eric Seidel (no email) 2011-09-15 12:09:27 PDT
Unfortunately I don't think we can land this until Qt ships 4.8.  Their 4.7 version disables SVG_FONTS.

I'm told 4.8 was supposed to ship 2 weeks ago, but may be another 2 weeks yet.
Comment 3 Eric Seidel (no email) 2011-09-15 12:10:16 PDT
It's likely this patch will break in between now and when we can execute on this, but at least it's a starting-point/reference.
Comment 4 Alexis Menard (darktears) 2011-09-15 12:13:34 PDT
(In reply to comment #2)
> Unfortunately I don't think we can land this until Qt ships 4.8.  Their 4.7 version disables SVG_FONTS.
> 
> I'm told 4.8 was supposed to ship 2 weeks ago, but may be another 2 weeks yet.

The RC is soon to be released. I bring the discussion on how it is acceptable to remove the entire SVG module when building with Qt 4.7. Stay tuned!
Comment 5 Darin Adler 2011-09-16 10:44:50 PDT
Comment on attachment 107525 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=107525&action=review

> Source/WebCore/dom/DOMImplementation.cpp:75
> -#if ENABLE(FILTERS) && ENABLE(SVG_FONTS)
> +#if ENABLE(FILTERS)

Is FILTERS an SVG-only feature? If not, should this be ENABLE(FILTERS) && ENABLE(SVG)?
Comment 6 Eric Seidel (no email) 2011-09-16 10:56:37 PDT
Comment on attachment 107525 [details]
Patch

It's unclear if filters is SVG only or not.  If it's SVG-only, I'll remove the FIlTERS define next.
Comment 7 Eric Seidel (no email) 2011-09-16 10:56:57 PDT
I'll wait to land this until I hear back from the Qt guys.
Comment 8 Adam Barth 2011-10-16 22:07:53 PDT
Is it time to land this patch now?
Comment 9 Eric Seidel (no email) 2011-10-16 22:10:50 PDT
If Qt has transitioned to their next version, sure.  I don't know what their status is.
Comment 10 Alexis Menard (darktears) 2011-12-14 05:00:40 PST
Go ahead Eric as per :

http://trac.webkit.org/browser/trunk/Tools/qmake/mkspecs/features/default_pre.prf#L73

and http://trac.webkit.org/changeset/102766

we enforce Qt 4.8 in WebKit trunk.

Ping me on IRC (darktears) if any problem.
Comment 11 Ryosuke Niwa 2011-12-14 11:17:17 PST
Wait, don't we want to get rid of SVG fonts? I thought we are trying to push back on SVG fonts. e.g. acid3 no longer tests SVG fonts. Do we really want to enable this on all ports?
Comment 12 Eric Seidel (no email) 2011-12-14 12:23:55 PST
(In reply to comment #11)
> Wait, don't we want to get rid of SVG fonts? I thought we are trying to push back on SVG fonts. e.g. acid3 no longer tests SVG fonts. Do we really want to enable this on all ports?

I'm not familiar with the context of that discussion.  Do you have a mailing list thread link? (from webkit-dev, mozilla, standards, or whatever?)
Comment 13 Anne van Kesteren 2011-12-14 12:39:40 PST
See e.g. http://lists.w3.org/Archives/Public/www-svg/2011Nov/0036.html
Comment 14 Ryosuke Niwa 2011-12-14 12:40:52 PST
Acid3 has dropped tests for SVG fonts: https://plus.sandbox.google.com/107429617152575897589/posts/JdHnqpuUER4

I've asked around on #whatwg, and the general consensus appears to be that we need a better spec. And I believe some vendors such as Mozilla doesn't want to implement SVG fonts at all:
http://robert.ocallahan.org/2010/06/not-implementing-features-is-hard_03.html

(with sicking's help)
Comment 15 Ryosuke Niwa 2011-12-14 12:48:45 PST
Also see the thread on SVG WG:
http://lists.w3.org/Archives/Public/www-svg/2011Oct/0124.html
http://lists.w3.org/Archives/Public/www-svg/2011Nov/0000.html

I'm very skeptical that enabling SVG fonts on all ports is the right choice for the project given there have been significant push backs from Mozilla and Microsoft and the relevant WG is indecisive about whether they should include it in the future spec or not.