Comparison of layout engines (web typography)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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]

Explanation of the tables[edit]

Engine nomenclature[edit]

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.4.7[3] N/A No longer developed; Amaya
Blink 537.36 source code[note 1] Chromium/Chrome (28+), Opera (15+) and Yandex
Gecko

33.1.1 (November 14, 2014; 12 days ago (2014-11-14)[4]) [±]
ESR 31.2.0 (October 14, 2014; 43 days ago (2014-10-14)[5]) [±]

Beta

34.0 Beta 11 (November 21, 2014; 5 days ago (2014-11-21)[6][7]) [±]

Developer Edition

35.0a2 (November 10, 2014; 16 days ago (2014-11-10)[8]) [±] daily release

Nightly

36.0a1 (October 14, 2014; 43 days ago (2014-10-14)[9]) [±] daily release

All Mozilla software, including Firefox; SeaMonkey and Galeon; Camino; K-Meleon; Flock (up to 2.x); Debian IceWeasel; GNU IceCat (formerly GNU IceWeasel); Icedove, Iceape and Iceowl; Fennec. Also used by the Maple platform in 2010 and 2011 Samsung "SmartTV" devices which are based on the build used in Firefox 3.0.[citation needed] Nokia Asha platform is also using Gecko for web apps rendering.
KHTML 4.12.3[10] N/A Konqueror[note 2]
Presto 2.12.388 N/A No longer developed; Opera and Opera Mobile use Blink now; Nintendo DS & DSi Browser; Internet Channel
Tasman (IE 5.2.3 for Mac) N/A No longer developed (aborted in 2003); Internet Explorer 5+ for Mac OS X
Trident 7.0 (IE 11) N/A Internet Explorer and other Internet Explorer shells like Maxthon (Microsoft Windows operating systems only), Windows Phone 8
WebKit 534.20 nightly build[note 3] Tizen (both OS and browser), Safari (both desktop and mobile), Google Chrome (before 28), Maxthon 3, Shiira, iCab 4, OmniWeb 5.5+, Web, Adobe AIR, Midori, Adobe Dreamweaver CS4 and CS5, Android browser, Palm webOS browser, Symbian S60 browser, OWB, Steam, Rekonq, Arora, Flock (version 3+), RockMelt, Dolphin Browser, Sleipnir, Konqueror[note 2]. Used by the LG Smart TV platform to enable web content on TVs.
  1. ^ "chromium / chromium/blink". chromium.googlesource.com. Google. Retrieved 2014-05-27. 
  2. ^ a b In Konqueror, the user can switch the used layout engine.
  3. ^ "WebKit Nightly Builds". webkit.org. Retrieved 2014-05-27. 


Values[edit]

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[edit]

CSS3 specified a mechanism for downloading and displaying fonts within a web page.[spec 1] This table compare support for that mechanism. Note that Embedded OpenType (EOT)[spec 2] 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 before version 5.0 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] 9.0[g 2] No[w 6] No
unicode-range No[g 3] Partial[note 3]
font-variant No 24.0[g 4] No No
font-feature-settings 6.0[t 4] Experimental[g 5]

Support in HTML and XML documents[edit]

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 5] 1.9.2 533[w 9][w 10][w 11] 2.7

Support in SVG documents[edit]

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] 18.0 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[edit]

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[edit]

Notes[edit]

  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[edit]

Specifications
  1. ^ CSS Fonts Module Level 3 - Font resources, W3C 
  2. ^ a b c Nelson, Paul (2008-03-05), Embedded OpenType (EOT) File Format, Microsoft, Monotype Imaging 
  3. ^ a b TrueType Reference Manual, Apple 
  4. ^ a b OpenType specification, Microsoft 
  5. ^ a b Scalable Vector Graphics (SVG) 1.1 Specification - Fonts, W3C 
  6. ^ a b Kew, Jonathan; Leming, Tal; van Blokland, Erik (2010-04-08), WOFF File Format 1.0, W3C, Mozilla, Type Supply, LettError 
  7. ^ a b Kew, Jonathan; Leming, Tal; van Blokland, Erik (2009-10-23), WOFF File Format, Mozilla, Type Supply, LettError 
  8. ^ OpenType Layout tag registry, Tag: 'liga', Microsoft 
  9. ^ OpenType Layout tag registry, Tag: 'rlig', Microsoft 
Trident references
  1. ^ About Font Embedding, Microsoft 
  2. ^ @font-face support in Internet Explorer 
  3. ^ a b Internet Explorer Platform Preview Guide for Developers, Microsoft 
  4. ^ "font-feature-settings property". Microsoft. Retrieved 8 November 2013. 
  5. ^ Galineau, Sylvain (2010-04-23), Meet WOFF, The Standard Web Font Format, Microsoft 
Gecko references
WebKit references
  1. ^ Hyatt, Dave (2007-10-03), Downloadable Fonts, Apple 
  2. ^ Issue 9633: Disable web fonts by default, Google, 2009-04-01 
  3. ^ Full pass of acid3 - Chromium-dev, Google, 2009-07-03 
  4. ^ Issue 17818: Enabled dynamic / web font support in a secure manner, Google, 2009-07-27 
  5. ^ Irish, Paul (2010-01-25), Chrome and @font-face: It's here! 
  6. ^ Bug 12530 - CSS3: Support the font-stretch property, WebKit 
  7. ^ @font-face support in Safari 
  8. ^ a b Bug 20542 - Adding EOT Font Rendering capability, WebKit 
  9. ^ a b Bug 31302 - Add WOFF support for @font-face, WebKit 
  10. ^ Bug 38217 - [chromium] Add WOFF support, WebKit 
  11. ^ Irish, Paul (2010-08-02), Quick Guide to Implement Webfonts via @font-face, HTML5Rocks 
  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
  1. ^ Mills, Chris (2008-12-04), Opera Presto 2.2 and Opera 10 — a first look, Opera 
  2. ^ Seven Web Fonts showcases, Opera, 2009-09-01 
  3. ^ When letter-spacing is increased, these characters are spacing.
Other references
  1. ^ Kimler, Scott (2009-07-04), Cross Browser Font Embedding with the CSS3 @font-face selector, Randsco 
  2. ^ @font-face browser support 
  3. ^ Amaya Binary Releases, Most recent download link in stable
  4. ^ "Firefox — Notes (33.1.1) — Mozilla". mozilla.org. 2014-11-14. Retrieved 2014-11-14. 
  5. ^ "Firefox — Notes (31.2.0) — Mozilla". mozilla.org. 2014-10-14. Retrieved 2014-10-14. 
  6. ^ "Firefox — Beta Notes (34.0beta) — Mozilla". 2014-10-16. Retrieved 2014-10-21. 
  7. ^ "Mozilla Firefox Web Browser — Download Firefox Beta in your language — Mozilla". Retrieved 2014-11-22. 
  8. ^ "Firefox — Aurora Notes (35.0a2) — Mozilla". 2014-11-10. Retrieved 2014-11-12. 
  9. ^ "RapidRelease/Calendar - MozillaWiki". Retrieved 2014-10-15. 
  10. ^ Download for kdelibs, Most recent download link in stable