• B
    [API] Add hb_language_get_default() · 34fb5521
    Behdad Esfahbod 提交于
    It uses locale information to detect default language.  It's used by
    hb_shape() whenever language is not set on the buffer.
    
    Not sure how to properly test it in the test suite.  Tested by observing
    that with DejaVu Sans we select the proper local glyph version for U+431
    under Serbian locale.  See http://www.pango.org/ScriptGallery
    34fb5521
hb-shape.cc 2.7 KB