The 2 lines in the testcase should be identical, and showing the string 'oy!'. However with div style="font-family: Webdings, sans-serif;", webkit renders the string as some pictorials: U+F06F, U+F078, U+F021. Expected: the characters with code points: U+006F, U+0079, U+0021, as set in the source code. (the fact that on a Mac keyboard the '!' (U+0021) can be used to input the spider pictorial (U+F021) is unrelated) wrong: WebKit and Safari, Opera 9.2, 9.5b, only on Mac correct: Gecko 1.9 (Firefox 3rc), Opera 9.x on Windows and Linux For reference: further discussion in the comments at http://meyerweb.com/eric/thoughts/2008/05/22/characteristic-confusion/
Created attachment 21326 [details] test case
The Macintosh/Roman and Unicode 'cmap' tables in Webdings (Version 5.00x from Mac OS X Leopard) contain these entries: <map charValue="0x006F" glyphRefID="82"/> <map charValue="0x0079" glyphRefID="92"/> <map charValue="0x0021" glyphRefID="4"/> and only the Microsoft/Symbol 'cmap' table has these mappings: <map charValue="0xF06F" glyphRefID="82"/> <map charValue="0xF079" glyphRefID="92"/> <map charValue="0xF021" glyphRefID="4"/>
If I understand the above data correctly, it means that Webdings font does have glyphs for these Roman characters, so WebKit is correct to display them - even though these glyphs do not look like Roman characters! Also, we are rendering this test the same way as Internet Explorer on Windows, which is good for compatibility. However, this only happens on Mac - on Windows, Safari draws "oy!". Regardless of which behavior we decide upon as correct, there is an issue to investigate, so I'm marking the bug as confirmed.