1 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 // this needs to match the list of pref font.default.xx entries listed in
9 FONT_PREF_LANG(Western
, "x-western", x_western
),
10 FONT_PREF_LANG(Japanese
, "ja", Japanese
),
11 FONT_PREF_LANG(ChineseTW
, "zh-TW", Taiwanese
),
12 FONT_PREF_LANG(ChineseCN
, "zh-CN", Chinese
),
13 FONT_PREF_LANG(ChineseHK
, "zh-HK", HongKongChinese
),
14 FONT_PREF_LANG(Korean
, "ko", ko
),
15 FONT_PREF_LANG(Cyrillic
, "x-cyrillic", x_cyrillic
),
16 FONT_PREF_LANG(Greek
, "el", el
), FONT_PREF_LANG(Thai
, "th", th
),
17 FONT_PREF_LANG(Hebrew
, "he", he
), FONT_PREF_LANG(Arabic
, "ar", ar
),
18 FONT_PREF_LANG(Devanagari
, "x-devanagari", x_devanagari
),
19 FONT_PREF_LANG(Tamil
, "x-tamil", x_tamil
),
20 FONT_PREF_LANG(Armenian
, "x-armn", x_armn
),
21 FONT_PREF_LANG(Bengali
, "x-beng", x_beng
),
22 FONT_PREF_LANG(Canadian
, "x-cans", x_cans
),
23 FONT_PREF_LANG(Ethiopic
, "x-ethi", x_ethi
),
24 FONT_PREF_LANG(Georgian
, "x-geor", x_geor
),
25 FONT_PREF_LANG(Gujarati
, "x-gujr", x_gujr
),
26 FONT_PREF_LANG(Gurmukhi
, "x-guru", x_guru
),
27 FONT_PREF_LANG(Khmer
, "x-khmr", x_khmr
),
28 FONT_PREF_LANG(Malayalam
, "x-mlym", x_mlym
),
29 FONT_PREF_LANG(Mathematics
, "x-math", x_math
),
30 FONT_PREF_LANG(Oriya
, "x-orya", x_orya
),
31 FONT_PREF_LANG(Telugu
, "x-telu", x_telu
),
32 FONT_PREF_LANG(Kannada
, "x-knda", x_knda
),
33 FONT_PREF_LANG(Sinhala
, "x-sinh", x_sinh
),
34 FONT_PREF_LANG(Tibetan
, "x-tibt", x_tibt
),
35 FONT_PREF_LANG(Others
, "x-unicode", Unicode
)