Function

HarfBuzz-0.0HarfBuzzlanguage_get_defaultSince 0.9.2

  • Fetch the default language from current locale.

    Note that the first time this function is called, it calls "setlocale (LC_CTYPE, nullptr)" to fetch current locale. The underlying setlocale function is, in many implementations, NOT threadsafe. To avoid problems, call this function once before multiple threads can call it. This function is only used from hb_buffer_guess_segment_properties() by HarfBuzz itself.

    Returns language_t

    The default language of the locale as an HarfBuzz.language_t

    0.9.2