241
edits
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
=== Experimental Implementation === | === Experimental Implementation === | ||
As part of this effort, Jonathan Kew has been working on porting a portion of the Pango library for use with handling complex scripts and to enable the use of font features on all supported platforms. He currently has an experimental build that uses a special CSS property to associate a list of OpenType features with specific elements in a page. This is <strong>not</strong> the [http://lists.w3.org/Archives/Public/www-style/2009Jun/0506.html proposed format], it simply provides a better way of discussing possible sets of font-variant properties and the OpenType feature settings to which they should map. | As part of this effort, Jonathan Kew has been working on porting a portion of the Pango library for use with handling complex scripts and to enable the use of font features on all supported platforms. He currently has an [http://people.mozilla.org/~jkew/ot-feature-build experimental build] that uses a special CSS property to associate a list of OpenType features with specific elements in a page. This is <strong>not</strong> the [http://lists.w3.org/Archives/Public/www-style/2009Jun/0506.html proposed format], it simply provides a better way of discussing possible sets of font-variant properties and the OpenType feature settings to which they should map. | ||
<pre> | <pre> | ||
| Line 51: | Line 51: | ||
[[File:Bookexcerpt.png|center|link=http://www.bc.edu/schools/law/library/about/rarebook/exhibitions/newacq08.html|Original Scan]] | [[File:Bookexcerpt.png|center|link=http://www.bc.edu/schools/law/library/about/rarebook/exhibitions/newacq08.html|Original Scan]] | ||
Below is the same text rendered in HTML using the [http://www.iginomarini.com Fell Types revival fonts by Igino Marini] with OpenType features enabled. Note the ‘ct’ ligature and the contextual form of the ‘s’: | |||
[[File:Historicaltext.png|center|link=http://people.mozilla.org/~jdaggett/webfonts/historicaltext.html|HTML Rendering using OpenType features]] | [[File:Historicaltext.png|center|link=http://people.mozilla.org/~jdaggett/webfonts/historicaltext.html|HTML Rendering using OpenType features]] | ||
edits