FcGetDefaultLangs(3)

FcGetDefaultLangs3

Get the default languages list

Usage

#include <fontconfig/fontconfig.h>

FcStrSet * FcGetDefaultLangs (void);

Overview

Returns a string set of the default languages according to the environment variables on the system. This function looks for them in order of FC_LANG, LC_ALL, LC_CTYPE and LANG then. If there are no valid values in those environment variables, "en" will be set as fallback.

This function has been replaced by FcConfigGetDefaultLangs and will be deprecated.

Since

version 2.9.91

Releases

7 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8–9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

From fontconfig 2:2.18.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.