Teknik Informatika    
   
Daftar Isi
(Sebelumnya) Comparison of layout engines ( ...Comparison of layout engines ( ... (Berikutnya)

Perbandingan -- 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 engineRelease versionPreview versionUsed by
Amaya11.3.111.3-preAmaya
Gecko19.020.0All 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.
KHTML N/AKonqueror
Presto2.10.2292.10.238Opera; Opera Mobile, Nintendo DS & DSi Browser; Internet Channel
Tasman(IE 5.2.3 for Mac)none (aborted in 2003)Internet Explorer 5+ for Mac OS X
Trident6.0 (IE 10)6.0 (IE 10)Internet Explorer and other Internet Explorer shells like Maxthon (Microsoft Windows operating systems only), Windows Phone 8
WebKit534.20r146740Tizen (both OS and browser), Safari (both desktop and mobile), Google Chrome, 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, rekonq. Used by the LG Smart TV platform to enable web content on TVs.

In Konqueror, the user can switch layout engine.

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.

ValueMeaning
YesIndicates that the layout engine fully supports this property/element when valid values are used.
NoIndicates that the property/element is completely ignored.
PartialIndicates that the property/element is understood, but that not all values are supported. Supported values are implemented correctly.
IncorrectIndicates that the property/element is understood, but that it is not implemented correctly in all cases.
ExperimentalIndicates that the property/element is understood, but supported under an alternate name. May be incomplete or buggy.
DroppedIndicates that the property/element is no longer supported.
Nightly buildIndicates that the property/element is supported to some extent in an experimental/nightly build. Future support is expected.
DependsIndicates 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 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.1525[note 1]2.2
Descriptors
CSS3font-family<3.1[IE 4.0]1.9.15252.2
srcPartial[note 2]
font-style<3.1[IE 4.0]
font-weight
font-stretch5.0[t 3]9.0[g 2]No[w 6]No
unicode-rangeNo[g 3]Partial[note 3]
font-variantNoNo[g 4]NoNo
font-feature-settingsDeveloper preview[t 4]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.

FormatTridentGeckoWebKitPresto
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.15252.2
OpenType (OTF)[spec 4]
Scalable Vector Graphics (SVG)[spec 5]NoNo[g 7]
Web Open Font Format (WOFF)[spec 6][spec 7]5.0[t 5]1.9.2533[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.

FormatTridentGecko[g 8]WebKitPresto
Embedded OpenType (EOT)[spec 2]NoNo[g 6]No[w 8]No
TrueType (TTF)[spec 3]YesYes2.2
OpenType (OTF)[spec 4]18.0No
Scalable Vector Graphics (SVG)[spec 5]No[g 7]525
Web Open Font Format (WOFF)[spec 6][spec 7]NoNo[w 9]2.7.81

Smart font features support

FormatTridentGeckoWebKitPresto
OpenType liga ligatures[spec 8]No2.0Partial[w 12]No
OpenType rlig ligatures[spec 9]No
ZWNJ and ZWJ (Unicode characters used for ligature control)YesYesNo[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/downloadab le-fonts/
  2. ^ Issue 9633: Disable web fonts by default, Google, 2009-04-01, http://code.google.com/p/chromium/iss ues/detail?id=9633
  3. ^ Full pass of acid3 - Chromium-dev, Google, 2009-07-03, http://groups.google.com/group/chromi um-dev/browse_thread/thread/c3b3db433 9d3642c/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/iss ues/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?t itle=@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/w ebfonts/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
(Sebelumnya) Comparison of layout engines ( ...Comparison of layout engines ( ... (Berikutnya)