Commit Graph

1634 Commits

Author SHA1 Message Date
Roozbeh Pournader 10a85249d9 Add Navajo (nv) orthography (bug #20395) 2009-03-02 14:03:35 +03:30
Roozbeh Pournader bf20886085 Add Tahitian (ty) orthography (bug #20391) 2009-03-02 14:03:35 +03:30
Roozbeh Pournader 0e05d7e5c7 Add Sango (sg) orthography (bug #20393) 2009-03-02 14:03:35 +03:30
Roozbeh Pournader bdbdc64dd1 Added Quechua (qu) orthography (bug #20392) 2009-03-02 14:03:34 +03:30
Roozbeh Pournader 16159d0fae Add Akan (ak) and Fanti (fat) orthographies (bug #20390) 2009-03-02 14:03:34 +03:30
Roozbeh Pournader 881a7cd93b Add Herero (hz) orthograhy (bug #20387) 2009-03-02 14:03:34 +03:30
Roozbeh Pournader bc701d2a5b Add Ewe (ee) orthography (bug #20386) 2009-03-02 14:03:34 +03:30
Roozbeh Pournader 5a83914b73 Update Serbo-Croatian (sh) orthography (bug #20368) 2009-03-02 14:03:33 +03:30
Roozbeh Pournader 505ea8ce37 Extend Crimean Tatar (crh) orthography (bug #19891) 2009-03-02 14:03:33 +03:30
Roozbeh Pournader 4c7da799f3 Add Divehi (dv) orthography (bug #20207) 2009-03-02 14:03:33 +03:30
Roozbeh Pournader 5cac0a4fd6 Remove digits and symbols from some Indic orthographies (bug #20204)
These orthographies were changed: Gujarati (gu), Kannada (kn), Lao (lo),
Malayalam (ml), Oriya (or), Telugu (te), and Thai (th).
2009-03-02 14:03:33 +03:30
Roozbeh Pournader ea628d9770 Tighten Central Khmer (km) orthography (bug #20202) 2009-03-02 14:03:32 +03:30
Roozbeh Pournader 4a5805d9c6 Change Kashmiri (ks) orthography to Arabic script (bug #20200) 2009-03-02 14:03:32 +03:30
Roozbeh Pournader cda5721922 Rename Fulah orthography from 'ful' to 'ff' (bug #20177) 2009-03-02 14:03:32 +03:30
Roozbeh Pournader a32b79c3a5 Rename Bambara orthography from 'bam' to 'bm' (bug #20175) 2009-03-02 14:03:32 +03:30
Roozbeh Pournader 74a0a28695 Rename Avaric orthography from 'ava' to 'av' (bug #20174) 2009-03-02 14:03:31 +03:30
Roozbeh Pournader eba32fa3f3 Update Azerbaijani in Latin (az_az) to present usage (bug #20173)
Removed Cyrillic that is no longer in use. Removed "A WITH DIAERESIS"
too, since it was only temporarily used in 1991-1992.
2009-03-02 14:03:31 +03:30
Roozbeh Pournader 1c7bacc214 Switch Uzbek (uz) orthography to Latin (bug #19851) 2009-03-02 14:03:31 +03:30
Roozbeh Pournader dfd5d0937c Add Crimean Tatar (crh) orthography (bug #19891) 2009-03-02 14:03:31 +03:30
Roozbeh Pournader 502c46c23d Add Papiamento (pap_aw, pap_an) orthographies (bug #19891) 2009-03-02 14:03:30 +03:30
Roozbeh Pournader b4cd4cb6cc Add Blin (byn) orthography (bug #19891) 2009-03-02 14:03:30 +03:30
Roozbeh Pournader 4d7412a28b Divide Panjabi (pa) to that of Pakistan and India (bug #19890)
Previous Panjabi orthography was in the Gurmukhi script only, while in
Pakistan, the Arabic script (called Shahmukhi) is used for Panjani.
2009-03-02 14:03:30 +03:30
Roozbeh Pournader 7a22c9d347 Add Ottoman Turkish (ota) orthography (bug #20114) 2009-03-02 14:03:30 +03:30
Roozbeh Pournader b5675e4c92 Remove Euro Sign from all orthographies (bug #19865) 2009-03-02 14:03:29 +03:30
Behdad Esfahbod f6993c8803 [fc-lang] Continue parsing after an "include" (#20179) 2009-03-02 14:03:29 +03:30
Roozbeh Pournader abe0e056d5 Fix Bengali (bn) and Assamese (as) orthographies (bug #22924)
Removing digits, symbols, and the letters not used in the languages.
2009-02-16 02:14:43 -08:00
Roozbeh Pournader 40b2904c89 Add Sidamo (sid) and Wolaitta (wal) orthographies (bug #19891) 2009-02-16 02:14:43 -08:00
Roozbeh Pournader d333969e0c Add Sardinian (sc) orthography (bug #19891) 2009-02-16 02:14:43 -08:00
Roozbeh Pournader 1ae2e9b479 Add Limburgan (li) orthography (bug #19891) 2009-02-16 02:14:43 -08:00
Roozbeh Pournader d8a4ee921a Ad Ganda (lg) orthography (bug #19891) 2009-02-16 02:14:42 -08:00
Roozbeh Pournader f4159adaa8 Add Haitian Creole (ht) orthography (bug #19891) 2009-02-16 02:14:42 -08:00
Roozbeh Pournader 190b4b5b2b Add Aragonese (an) orthography (bug #19891) 2009-02-16 02:14:42 -08:00
Roozbeh Pournader 3541f01828 Add Kurdish in Turkey (ku_tr) orthography (bug #19891) 2009-02-16 02:14:42 -08:00
Roozbeh Pournader 3792f01990 Use newly added Cyrillic letters for Kurdish (bug #20049) 2009-02-16 02:14:42 -08:00
Roozbeh Pournader 0d8b15f00f Add Chhattisgarhi (hne) orthography (bug #19891) 2009-02-16 02:14:41 -08:00
Behdad Esfahbod 04ac14fc14 [fcformat] Add list of undocumented language features 2009-02-16 02:14:41 -08:00
Behdad Esfahbod 384542fa91 [fcformat] Add a 'pkgkit' builtin that prints tags for font packages
For DejaVu Sans Condensed it generates:

font(dejavusans)
font(dejavusanscondensed)
font(:lang=aa)
font(:lang=ab)
...
font(:lang=yo)
font(:lang=zu)
2009-02-16 02:14:30 -08:00
Behdad Esfahbod 9d58d01c5c [fcformat] Enumerate langsets like we do arrays of values
If one asks for a format like '%{[]elt{expr}}' and the first value
for elt is a langset, we enumerate the langset languages in expr.
2009-02-15 14:13:38 -08:00
Behdad Esfahbod d62b85af21 [fclang] Implement FcLangSetGetLangs() (#18846) 2009-02-15 14:13:34 -08:00
Behdad Esfahbod cdfb76585e [fcformat] Implement array enumeration
The format '%{[]family,familylang{expr}}' expands expr once for the first
value of family and familylang, then for the second, etc, until both lists
are exhausted.
2009-02-15 13:40:31 -08:00
Behdad Esfahbod 0673ef3881 [fcformat] Support 'default value' for simple tags
The format '%{family:-XXX} prints XٓٓٓٓXX if the element family is not defined.
Also works for things like '%{family[1]:-XXX}'.
2009-02-15 13:40:30 -08:00
Behdad Esfahbod 9c83a8376f [fcformat] Support indexing simple tags
The format '%{family[0]}' will only output the first value for element family.
2009-02-15 13:40:30 -08:00
Behdad Esfahbod d04a750764 [fcformat] Add support for builtin formats
The '%{=unparse}' format expands to the FcNameUnparse() result on the
pattern.  Need to add '%{=verbose}' for FcPatternPrint() output but
need to change that function to output to a string first.

Also added the '%{=fclist}' and '%{=fcmatch}' which format like the
default format of fc-list and fc-match respectively.
2009-02-15 13:40:30 -08:00
Behdad Esfahbod 85c7fb67ce [fcformat] Refactor code to avoid malloc 2009-02-15 13:40:30 -08:00
Behdad Esfahbod d4f7a4c6af [fcformat] Start adding builtins 2009-02-15 13:40:29 -08:00
Behdad Esfahbod c8f5933d13 [fcformat] Implement 'delete', 'escape', and 'translate' filter functions
The format '%{family|delete( )}' expands to family values with space removed.
The format '%{family|translate( ,-)}' expands to family values with space
replaced by dash.  Multiple chars are supported, like tr(1).
The format '%{family|escape(\\ )}' expands to family values with space
escaped using backslash.
2009-02-15 13:40:29 -08:00
Behdad Esfahbod b6a23028be [fcformat] Add value-count syntax
The format '%{#family}' expands to the number of values for the element
'family', or '0' if no such element exists in the pattern.
2009-02-15 13:40:29 -08:00
Behdad Esfahbod dccbbe83ef [FcStrBuf] better handle malloc failure
If buffer has failed allocation, return NULL when done.
2009-02-15 13:40:28 -08:00
Behdad Esfahbod ced38254b4 [fcformat] Implement 'cescape', 'shescape', and 'xmlescape' converters 2009-02-15 13:40:28 -08:00
Behdad Esfahbod 2017a5eb79 [fcformat] Add simple converters
The format '%{family|downcase}' for example prints the lowercase of
the family element.  Three converters are defined right now:
'downcase', 'basename', and 'dirname'.
2009-02-15 13:40:27 -08:00