If I have a page such as the following :

        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd";>
        <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Armenian test</title>
        <style type="text/css">
                BODY {font-family : "Arial Unicode MS", sans-serif}
        </style>
        </head>
        
        <body>
        <h1>Եւ երկիր էր աներևոյթ և անպատրաստ. և խաւար ի վերայ անդնդոց. և
        Հոգի Աստուծոյ շրջէր ի վերայ ջուրց</h1>
        </body>
        </html>

I have presumably chosen my primary font not only because I feel its
aesthetics are appropriate but also because it supports the necessary
subset of Unicode to correctly display the characters that make up
the page.  But if for some reason the visitor's browser does not have
access to (in this case) Arial Unicode MS, and falls back to the
generic "sans-serif", there is (as far as I can see) no way of
guaranteeing that the page will still display correctly.

Is there, therefore, in CSS, some way of specifying as a part of the
font fallback sequence that any font selected as a result of fallback
must support a specific subset of Unicode such that the page can be
guaranteed to display correctly provided that such a font does in
fact exist on the visitor's machine ?  And is there any way, presumably
using a combination of HTML and CSS, to display a suitable error message
using solely ASCII characters if such a font cannot be found ?

Philip Taylor
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to