Re: Font Samples

From: Addison Phillips (addison@yahoo-inc.com)
Date: Tue May 08 2007 - 17:34:09 CDT

  • Next message: Arne Götje (高盛華): "How is the glottal stop used in some languages?"

    Hi Kim,

    Use the Font class's "canDisplay(#int)" method and scan for suitable
    code points? You could also use "canDisplayUpTo(#string)" with some
    pre-baked resource strings that are representative of various scripts.

    Addison

    -- 
    Addison Phillips
    Globalization Architect -- Yahoo! Inc.
    Internationalization is an architecture.
    It is not a feature.
    Peck, Jon wrote:
    > (A little off topic, but I hope you don’t mind.)
    > 
    >  
    > 
    > A surprising (to me, anyway) number of TT or OT non-symbol fonts do
    > 
    > not have glyphs for the ordinary roman characters. If you are
    > 
    > creating a font chooser dialog in Java and want to display a sample
    > 
    > string, how do you find a reasonable string of characters that do have 
    > glyphs?
    > 
    >  
    > 
    > Any suggestions appreciated.
    > 
    >  
    > 
    >  
    > 
    > Jon K. Peck
    > 
    > SPSS Inc.
    > 
    > peck@spss.com <mailto:peck@spss.com>
    > 
    > 312-651-3435
    > 
    >  
    > 
    


    This archive was generated by hypermail 2.1.5 : Tue May 08 2007 - 17:35:52 CDT