Comparison of layout engines (Web Typography)

Comparison of layout engines (Web Typography)

The following tables compare support for different font formats and support for CSS3 font resources for a number of layout engines. Web fonts were initially defined (but later dropped) from CSS2, then added into CSS3. The specification is supported by an increasing number of web browsers.[1][2]

Contents

Explanation of the tables

Engine nomenclature

Rather than the names of web browsers, the names of the underlying engines are used. The browsers that use the various engines are listed below.

Layout engine Release version Preview version Used by
Amaya 11.3.1 11.3-pre Amaya
Gecko 6.0.2 8.0a2 All Mozilla software, including Firefox; SeaMonkey and Galeon; Camino; K-Meleon; Flock (up to 2.x); Epiphany-gecko; Debian IceWeasel; GNU IceCat (formerly GNU IceWeasel); Icedove, Iceape and Iceowl; Fennec
KHTML N/A Konqueror
Presto 2.9.168 2.9.168 Opera; Opera Mobile, Nintendo DS & DSi Browser‎; Internet Channel
Prince 7.1 N/A Prince XML
Tasman (IE 5.2.3 for Mac) none (aborted in 2003) Internet Explorer 5+ for Mac OS X
Trident 5.0 (IE 9) 6.0 (IE 10) Internet Explorer and other Internet Explorer shells like Maxthon (Microsoft Windows operating systems only), Windows Phone 7
WebKit 534.20 r83424 Safari (both desktop and mobile), Google Chrome, Maxthon 3, Shiira, iCab 4, OmniWeb 5.5+, Epiphany, Adobe AIR, Midori, Adobe Dreamweaver CS4 and CS5, Android browser, Palm webOS browser, Symbian S60 browser, OWB, Steam, Rekonq, Arora, Flock (version 3+), RockMelt

Values

Values indicate the level of support in the most recent version of the layout engine, or (if a version number is given) in the specified version. Version numbers without any other value indicate the version at which the layout engine first fully supported the feature.

Value Meaning
Yes Indicates that the layout engine fully supports this property/element when valid values are used.
No Indicates that the property/element is completely ignored.
Partial Indicates that the property/element is understood, but that not all values are supported. Supported values are implemented correctly.
Incorrect Indicates that the property/element is understood, but that it is not implemented correctly in all cases.
Experimental Indicates that the property/element is understood, but supported under an alternate name. May be incomplete or buggy.
Dropped Indicates that the property/element is no longer supported.
Nightly build Indicates that the property/element is supported to some extent in an experimental/nightly build. Future support is expected.
Depends Indicates that the property/element is supported only on certain platforms, or if certain settings are configured.

Support for CSS font resources

CSS3 specified a mechanism for downloading and displaying fonts within a web page.[spec 1] This table compare support for that mechanism. Note that EOT font download does not bring in the entire OpenType font and therefore, the most prominent feature of Open Type, ligature support, does not come with EOT. Trident supports only EOT. EOT is not sufficient for smartfonts that rely on ligatures.

Trident[t 1] Gecko[g 1] WebKit[w 1] Presto[p 1][p 2]
Grammar and rules
CSS3 @font-face <3.1[IE 4.0] 1.9.1 525[note 1] 2.2
Descriptors
CSS3 font-family <3.1[IE 4.0] 1.9.1 525 2.2
src Partial[note 2]
font-style <3.1[IE 4.0]
font-weight
font-stretch 5.0[t 3] Nightly build[g 2] No[w 6] No
unicode-range No[g 3] Partial[note 3]
font-variant No No[g 4] No No
font-feature-settings Experimental[g 5]

Support in HTML and XML documents

This table compares support for font formats applied with the @font-face rule in HTML and XML documents.

Format Trident Gecko WebKit Presto
Embedded OpenType (EOT)[spec 2] <3.1[IE 4.0] No[g 6] No[w 8] No
TrueType (TTF)[spec 3] 5.0[t 3] 1.9.1 525 2.2
OpenType (OTF)[spec 4]
Scalable Vector Graphics (SVG)[spec 5] No No[g 7]
Web Open Font Format (WOFF)[spec 6][spec 7] 5.0[t 4] 1.9.2 533[w 9][w 10][w 11] 2.7

Support in SVG documents

This table compares support for font formats applied with the @font-face rule in SVG documents.

Format Trident Gecko[g 8] WebKit Presto
Embedded OpenType (EOT)[spec 2] No No[g 6] No[w 8] No
TrueType (TTF)[spec 3] Yes Yes 2.2
OpenType (OTF)[spec 4] No No
Scalable Vector Graphics (SVG)[spec 5] No[g 7] 525
Web Open Font Format (WOFF)[spec 6][spec 7] No No[w 9] 2.7.81

Smart font features support

Format Trident Gecko WebKit Presto
OpenType liga ligatures[spec 8] No 2.0 Partial[w 12] No
OpenType rlig ligatures[spec 9] No
ZWNJ and ZWJ (Unicode characters used for ligature control) Yes Yes No[p 3]

See also

Notes

  1. ^ Prior to version 4.0, Google Chrome had font support disabled.[w 2][w 3][w 4][w 5]
  2. ^ Doesn't understand the format() or local() identifiers.[t 2]
  3. ^ Doesn't understand multiple, comma-separated ranges.[w 7]

References

Specifications
Trident references
Gecko references
WebKit references
  1. ^ Hyatt, Dave (2007-10-03), Downloadable Fonts, Apple, http://webkit.org/blog/124/downloadable-fonts/ 
  2. ^ Issue 9633: Disable web fonts by default, Google, 2009-04-01, http://code.google.com/p/chromium/issues/detail?id=9633 
  3. ^ Full pass of acid3 - Chromium-dev, Google, 2009-07-03, http://groups.google.com/group/chromium-dev/browse_thread/thread/c3b3db4339d3642c/c0040c5d39cfa1db?pli=1 
  4. ^ Issue 17818: Enabled dynamic / web font support in a secure manner, Google, 2009-07-27, http://code.google.com/p/chromium/issues/detail?id=17818 
  5. ^ Irish, Paul (2010-01-25), Chrome and @font-face: It's here!, http://paulirish.com/2009/chrome-and-font-face-a-summary/ 
  6. ^ Bug 12530 - CSS3: Support the font-stretch property, WebKit, https://bugs.webkit.org/show_bug.cgi?id=12530 
  7. ^ @font-face support in Safari, http://webfonts.info/wiki/index.php?title=@font-face_support_in_Safari 
  8. ^ a b Bug 20542 - Adding EOT Font Rendering capability, WebKit, https://bugs.webkit.org/show_bug.cgi?id=20542 
  9. ^ a b Bug 31302 - Add WOFF support for @font-face, WebKit, https://bugs.webkit.org/show_bug.cgi?id=31302 
  10. ^ Bug 38217 - [chromium] Add WOFF support, WebKit, https://bugs.webkit.org/show_bug.cgi?id=38217 
  11. ^ Irish, Paul (2010-08-02), Quick Guide to Implement Webfonts via @font-face, HTML5Rocks, http://www.html5rocks.com/tutorials/webfonts/quick/ 
  12. ^ On Safari, ligatures may be switched on with the CSS setting text-rendering, but then, they are used indiscriminately even when letter-spacing is increased (see Fraktur letterspacing); on Google Chrome, ligatures do not work.
Presto references
Other references

Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Comparison of layout engines (HTML) — HTML HTML and HTML5 Dynamic HTML XHTML XHTML Mobile Profile and C HTML Canvas element Character encodings Document Object Model Font family HTML editor HTML element HTML Frames HTML5 video HTML scrip …   Wikipedia

  • Comparison of layout engines (XHTML) — HTML HTML and HTML5 Dynamic HTML XHTML XHTML Mobile Profile and C HTML Canvas element Character encodings Document Object Model Font family HTML editor HTML element HTML Frames HTML5 video HTML scrip …   Wikipedia

  • Comparison of layout engines (HTML5) — HTML HTML and HTML5 Dynamic HTML XHTML XHTML Mobile Profile and C HTML Canvas element Character encodings Document Object Model Font family HTML editor HTML element HTML Frames HTML5 video HTML scrip …   Wikipedia

  • Comparison of layout engines (Cascading Style Sheets) — Cascading Style Sheets CSS Animations Dynamic CSS Comparison of layout engines Comparison of stylesheet languages Internet Explorer box model bug CSS Zen Garden The Zen of CSS Design CSSTidy Style sheet Tableless web design Holy Grail (web… …   Wikipedia

  • Comparison of layout engines (graphics) — The following tables compare graphics compatibility and support for a number of layout engines. Please see the individual products articles for further information. This article is not all inclusive or necessarily up to date. Unless otherwise… …   Wikipedia

  • Comparison of layout engines (Scalable Vector Graphics) — Scalable Vector Graphics SXBL SVG Working Group SVG filter effects Precision Graphics Markup Language Vector Markup Language XHTML+MathML+SVG SVG animation Comparison of layout engines (SVG) …   Wikipedia

  • Comparison of layout engines (Document Object Model) — The following tables compare DOM compatibility and support for a number of layout engines. Please see the individual products articles for further information. This article is not all inclusive or necessarily up to date. Unless otherwise… …   Wikipedia

  • Web typography — Web fonts allow Web designers to use fonts that are not installed on the viewer s computer. Web typography refers to the use of fonts on the World Wide Web. When HTML was first created, font faces and styles were controlled exclusively by the… …   Wikipedia

  • Comparison of layout engines (ECMAScript) — The following tables compare ECMAScript (particularly JavaScript) support for a number of layout engines. Please see the individual products articles for further information. This article is not all inclusive or necessarily up to date. Unless… …   Wikipedia

  • Comparison of layout engines (non-standard HTML) — HTML HTML and HTML5 Dynamic HTML XHTML XHTML Mobile Profile and C HTML Canvas element Character encodings Document Object Model Font family HTML editor HTML element HTML Frames HTML5 video HTML scri …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”