Reviewed by Eric. Older parts reviewed by Dan.
authorzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Jan 2008 22:56:53 +0000 (22:56 +0000)
committerzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Jan 2008 22:56:53 +0000 (22:56 +0000)
commit2dfabcb08b87530ae05fea804b6a893bfcfed3f2
tree07867e5a447a341c66a1eaaef49a567a4308124d
parenta095ef3b5fd628ed4376a65d02a9764c096258ea
Reviewed by Eric. Older parts reviewed by Dan.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=16880 (SVGCSSFontFace should die, instead integrate within the FontCache.)
Fixes: http://bugs.webkit.org/show_bug.cgi?id=16784 (In-document fonts work only as the first child to font-face-src)

Proper integration of SVG Fonts within the existing custom font concept, removing the need for a custom SVGCSSFontFace.
Integrate within the CSSFontFaceSource logic for caching support, as well as the framework for external SVG Fonts.

Proper handling of missing glyphs, using <missing-glyph> element. If that is not specified in a font, fallback to non-SVG font rendering.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
94 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/mac/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.checksum
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.checksum
LayoutTests/platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png
LayoutTests/platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-text-04-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-text-05-t-expected.txt
LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-text-06-t-expected.checksum
LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-text-06-t-expected.png
LayoutTests/platform/mac/svg/W3C-SVG-1.1/text-text-06-t-expected.txt
LayoutTests/platform/mac/svg/batik/text/textEffect-expected.checksum
LayoutTests/platform/mac/svg/batik/text/textEffect-expected.png
LayoutTests/platform/mac/svg/batik/text/textEffect-expected.txt
LayoutTests/platform/mac/svg/batik/text/textEffect3-expected.checksum
LayoutTests/platform/mac/svg/batik/text/textEffect3-expected.png
LayoutTests/platform/mac/svg/batik/text/textEffect3-expected.txt
LayoutTests/platform/mac/svg/batik/text/textPosition2-expected.txt
LayoutTests/platform/mac/svg/custom/dominant-baseline-hanging-expected.checksum
LayoutTests/platform/mac/svg/custom/dominant-baseline-hanging-expected.png
LayoutTests/platform/mac/svg/custom/glyph-selection-lang-attribute-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/glyph-selection-lang-attribute-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/glyph-selection-lang-attribute-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt
LayoutTests/platform/mac/svg/custom/use-on-g-containing-foreignObject-and-image-expected.checksum
LayoutTests/platform/mac/svg/custom/use-on-g-containing-foreignObject-and-image-expected.png
LayoutTests/platform/mac/svg/hixie/mixed/008-expected.checksum
LayoutTests/platform/mac/svg/hixie/mixed/008-expected.png
LayoutTests/platform/mac/svg/hixie/mixed/009-expected.checksum
LayoutTests/platform/mac/svg/hixie/mixed/009-expected.png
LayoutTests/platform/mac/svg/hixie/viewbox/preserveAspectRatio/001-expected.checksum
LayoutTests/platform/mac/svg/hixie/viewbox/preserveAspectRatio/001-expected.png
LayoutTests/platform/mac/svg/text/text-altglyph-01-b-expected.checksum
LayoutTests/platform/mac/svg/text/text-altglyph-01-b-expected.png
LayoutTests/platform/mac/svg/text/text-altglyph-01-b-expected.txt
LayoutTests/platform/mac/svg/text/text-text-04-t-expected.checksum
LayoutTests/platform/mac/svg/text/text-text-04-t-expected.png
LayoutTests/platform/mac/svg/text/text-text-04-t-expected.txt
LayoutTests/platform/mac/svg/text/text-text-05-t-expected.checksum
LayoutTests/platform/mac/svg/text/text-text-05-t-expected.png
LayoutTests/platform/mac/svg/text/text-text-05-t-expected.txt
LayoutTests/platform/mac/svg/text/text-text-06-t-expected.checksum
LayoutTests/platform/mac/svg/text/text-text-06-t-expected.png
LayoutTests/platform/mac/svg/text/text-text-06-t-expected.txt
LayoutTests/svg/custom/glyph-selection-lang-attribute.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/GNUmakefile.am
WebCore/WebCore.pro
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/css/CSSFontFaceSource.cpp
WebCore/css/CSSFontFaceSource.h
WebCore/css/CSSFontFaceSrcValue.h
WebCore/css/CSSFontSelector.cpp
WebCore/css/SVGCSSFontFace.cpp [deleted file]
WebCore/css/SVGCSSFontFace.h [deleted file]
WebCore/platform/graphics/Font.cpp
WebCore/platform/graphics/Font.h
WebCore/platform/graphics/FontData.h
WebCore/platform/graphics/SegmentedFontData.cpp
WebCore/platform/graphics/SegmentedFontData.h
WebCore/platform/graphics/SimpleFontData.cpp
WebCore/platform/graphics/SimpleFontData.h
WebCore/platform/graphics/gtk/FontPlatformData.h
WebCore/platform/graphics/gtk/FontPlatformDataGtk.cpp
WebCore/platform/graphics/mac/FontPlatformData.h
WebCore/platform/graphics/win/FontPlatformData.h
WebCore/platform/graphics/win/FontPlatformDataWin.cpp
WebCore/rendering/RenderSVGText.cpp
WebCore/svg/SVGFont.cpp
WebCore/svg/SVGFontData.cpp [new file with mode: 0644]
WebCore/svg/SVGFontData.h [new file with mode: 0644]
WebCore/svg/SVGFontFaceElement.cpp
WebCore/svg/SVGFontFaceElement.h
WebCore/svg/SVGGlyphElement.cpp
WebCore/svg/SVGGlyphElement.h
WebCore/svg/SVGMissingGlyphElement.cpp
WebCore/svg/svgattrs.in