commit | 34fb5521a5fbb6b95ceff4bbac42a62628bc9f31 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Fri May 06 00:04:28 2011 -0400 |
committer | Behdad Esfahbod <[email protected]> | Fri May 06 00:05:08 2011 -0400 |
tree | 3e27e0e4127e83e645f2b16c730eb5799051a54d | |
parent | c78f4485587cc1dee07e772c164a13fde9d2859f [diff] |
[API] Add hb_language_get_default() 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