Commit Graph

205 Commits

Author SHA1 Message Date
Behdad Esfahbod 26ce979e82 Fix Fanti (fat) orth file (#20390) 2009-03-10 02:16:09 -04:00
Roozbeh Pournader 49111c11fb Add Sundanese (su) orthography (bug #20440) 2009-03-09 13:18:51 -04:00
Roozbeh Pournader 0eaed16d34 Add Kanuri (kr) orthography (bug #20438) 2009-03-09 13:18:51 -04:00
Roozbeh Pournader fe4838588b Add Nauru (na) orthography (bug #20418) 2009-03-09 13:18:51 -04:00
Roozbeh Pournader 9141b4bbe9 Add Javanese (jv) orthography (bug #20403) 2009-03-02 14:03:37 +03:30
Roozbeh Pournader dc6daae949 Add Sichuan Yi (ii) orthography (bug #20402) 2009-03-02 14:03:37 +03:30
Roozbeh Pournader 43517045f8 Add Shona (sn) orthography (bug #20394) 2009-03-02 14:03:37 +03:30
Roozbeh Pournader 42a8008df1 Add orthographies for Oshiwambo languages (bug #20401)
The languages are Kuanyama/Kwanyama (kj), Ndonga (ng), and Kwambi (kwm).
2009-03-02 14:03:36 +03:30
Roozbeh Pournader f0b5463729 Add Zhuang (za) orthography (bug #20399) 2009-03-02 14:03:36 +03:30
Roozbeh Pournader 7886b14783 Add Rundi (rn) orthography (bug #20398) 2009-03-02 14:03:35 +03:30
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 967267556c Further update Sinhala orthography (#19288) 2009-02-15 13:40:25 -08:00
Behdad Esfahbod ecce22d40c Update Sinhala orthography (#19288)
Patch from Harshula Jayasuriya.
2009-02-15 13:40:25 -08:00
Roozbeh Pournader fe00689cdd Remove punctuation symbols from Asturian orthography (bug #19893)
Also fix the URL for orthography.
2009-02-15 13:40:23 -08:00
Roozbeh Pournader a4f651241e Rename Igbo from "ibo" to "ig" (bug #19892) 2009-02-15 13:40:23 -08:00
Roozbeh Pournader ff71a83c20 Renamed az to az_az (bug #19889) 2009-02-15 13:40:22 -08:00
Roozbeh Pournader e53956ee5e Add Berber orthographies in Latin and Tifinagh scripts (bug #19881) 2009-02-15 13:40:22 -08:00
Roozbeh Pournader 3765a7483e Add Upper Sorbian (hsb) orthography (bug #19870) 2009-02-15 13:40:21 -08:00
Roozbeh Pournader 9f54d9db29 Add Kinyarwanda (rw) orthography (bug #19868) 2009-02-15 13:40:21 -08:00
Roozbeh Pournader 3889de9e3c Add Malay (ms) orthography (bug #19867) 2009-02-15 13:40:21 -08:00
Roozbeh Pournader 0896d14ab7 Add Kashubian (csb) orth file (bug #19866) 2009-02-15 13:40:21 -08:00
Roozbeh Pournader a32870457e Rename "ku" to "ku_am", add "ku_iq" (bug #19853).
For Iraq, we are assuming its the same Arabic orthography used in Iran.

According to Ethnologue, Kurdish is written in Cyrillic in Armenia:
http://www.ethnologue.com/show_language.asp?code=kmr

Turkey and Syria need more research.
2009-02-15 13:40:21 -08:00
Roozbeh Pournader 2199c6e321 Rename Venda from "ven" to "ve" (bug #19852)
Since ISO 639-1 code exists, we should use it.
2009-02-15 13:40:20 -08:00
Roozbeh Pournader d7dd87649c Change Turkmen orth from Cyrillic to Latin (bug #19849) 2009-02-15 13:40:19 -08:00
Roozbeh Pournader b25a42963d Fix doubly encoded UTF-8 in comments (bug #19848) 2009-02-15 13:40:19 -08:00
Roozbeh Pournader f3c214a1cd Split Mongolian orth to Mongolia and China (bug #19847)
The orth file for Mongolia uses Cyrillic, while that of
China uses the classical Mongolian script.
2009-02-15 13:40:19 -08:00
Roozbeh Pournader 0d5f9a2592 Add Filipino orth, alias Tagalog to Filipino (bug #19846)
The previous Tagalog orthography used the Tagalog script, which is not in
modern use.
2009-02-15 13:40:19 -08:00
Roozbeh Pournader 2bf7d799bf Remove Sinhala characters not in modern use (bug #19288) 2009-02-15 13:40:19 -08:00
Roozbeh Pournader 2f3b07fe80 Correct Sindhi orthography to use Arabic script (bug #17140)
The previous version used the Devanagari script. But in both Pakistan and
India, Sindhi is generally written in Arabic. The Devanagari data could
prove to be useful, if we decide on how we should name such files (see
bug #17208 and bug #19869).
2009-02-15 13:40:18 -08:00
Harshula Jayasuriya 030983185b Fix Sinhala coverage (bug #19288) 2009-02-13 16:54:02 -08:00
Behdad Esfahbod f31d8b1b1a Add Sindhi .orth file. (#17140) 2009-02-13 16:53:58 -08:00
Behdad Esfahbod b9f18922f1 Update sr.orth to actul subset of Cyrillic used by Serbian (#17208) 2009-02-13 16:53:57 -08:00
Behdad Esfahbod 317b849215 Replace RCS Id tags with the file name 2009-02-13 16:53:55 -08:00
Behdad Esfahbod aef608efed Add orth file for Maithili mai.orth (#15821) 2009-02-13 16:53:54 -08:00
Neskie Manuel 557f87f733 Add Secwepemctsin Orthography. Bug 15996. 2008-05-24 15:51:41 -07:00
Keith Packard dbd065ad31 Remove freetype requirement for build-time applications.
This avoids requiring the freetype development files when cross compiling
2008-01-02 08:47:14 -08:00
Dwayne Bailey cf3e888b71 Add/fix *.orth files for South African languages
This adds the missing orth files for Ndebele (South) (nr), Northern Sotho
(nso), Swati (ss) and Southern Sotho (st).  It also fixes the Tswana (tn)
orth file.
2007-10-25 01:16:06 -07:00
Keith Packard feecc86cea There is no U+1257 (bug 10899).
The Eritrean Tigrinya orthography mistakenly included this unicode value.
2007-10-25 00:46:41 -07:00
Keith Packard d50cfeb805 Leave generated headers out of distribution (bug 12734).
If the generated header files are included in the distribution, a build
outside of the source directory will use them. For machine-specific files,
this generates the wrong result (fcarch.h). Leaving them out of the
distribution forces them to be built.
2007-10-24 21:47:40 -07:00
Keith Packard e85789a997 Place language name in constant array instead of pointer.
Constant char array of 8 bytes is the same size as a pointer plus a short
string, so this actually saves memory and eliminates a pile of relocations.
2007-10-18 08:58:14 -07:00
Keith Packard 23816bf9ac Eliminate .so PLT entries for local symbols. (thanks to Arjan van de Ven)
Using a simple shell script that processes the public headers, two header
files are constructed that map public symbols to hidden internal aliases
avoiding the assocated PLT entry for referring to a public symbol.

A few mistakes in the FcPrivate/FcPublic annotations were also discovered
through this process
2006-09-05 02:24:01 -07:00
Keith Packard afe5a67160 Oops, fc-lang broke when I added cache referencing.
Add FcCacheObjectReference/FcCacheObjectDereference stubs to fc-cache.
2006-09-04 22:39:51 -07:00
Keith Packard 34227592c2 Remove all .cvsignore files 2006-09-03 16:27:09 -07:00
Keith Packard caf996342b Add Assamese orthography (as.orth). Bug #8050
Behdad Esfahbod says Assamese is the same as Bengali, so this just uses
bn.orth.
2006-09-01 12:59:09 -07:00
Keith Packard c9e6d2c8cc Chinese/Macau needs the Hong Kong orthography instead of Taiwan (bug 7884)
From Abel Cheung:
Currently zh_mo.orth includes zh_tw.orth, which means it is assumed Macau
only uses traditional Chinese characters used in Taiwan; however that is
wrong, as a majority of Macau people speaks Cantonese too, and also uses
additional traditional Chinese chars from Hong Kong (there are already some
place names that can't be represented in just chars used in Taiwan). So it
should include zh_hk.orth instead.
2006-09-01 12:45:43 -07:00
Keith Packard 18b6857c64 Fix fc-lang to use new charset freezer API.
Charset freezer api now uses allocated object. Also required minor fixes to
charset freezer code to remove assumption that all input charsets are
persistant.
2006-09-01 01:49:47 -07:00
Keith Packard e3096d90fd Fix build problems caused by cache rework.
Pagesize no longer matters in architecture decisions, the entire cache file
is mmaped into the library. However, lots of intptr_t values are in use now,
so that value is important.

fc-lang now requires fcserialize.c, which has been added to the repository.
2006-08-30 04:24:03 -07:00
Keith Packard 7ce1967331 Rework cache files to use offsets for all data structures.
Replace all of the bank/id pairs with simple offsets, recode several
data structures to always use offsets inside the library to avoid
conditional paths. Exposed data structures use pointers to hold offsets,
setting the low bit to distinguish between offset and pointer.

Use offset-based data structures for lang charset encodings; eliminates
separate data structure format for that file.

Much testing will be needed; offsets are likely not detected everywhere in
the library yet.
2006-08-30 04:16:22 -07:00
Patrick Lam 04f7d3e7fd Properly convert static charsets to dynamic charsets.
Fix memory leak in error case (Coverity defects #1820, #1821, #1822).
Fix memory leak (Coverity defect #1819).
prevent crash when invalid include line is parsed (Coverity defect #763).
Fix potential null pointer access (Coverity defect #1804).
Remove dead code (Coverity defect #1194).
Prevent potential null pointer access (Coverity defect #767), ensure error
    value is read (Coverity defect #1195).
reviewed by: plam
2006-04-11 14:20:59 +00:00
Patrick Lam 67ed0b7297 Include more stub definitions to make HP-UX's C compiler happy. 2006-04-10 22:08:35 +00:00
Patrick Lam f23f5f388d SGI compilation fixes (reported by Christoph Bauer):
1) reorder union definition of _FcChar;
2) omit .stats =.
2006-04-07 17:37:09 +00:00
Patrick Lam 0d745819a9 Fix intel compiler warnings: make many variables static, eliminate
duplicate names, reduce variable scopes, unsigned/signed printf
    formatting.
reviewed by: plam
2006-04-06 04:33:11 +00:00
Patrick Lam 04af4f56dc Fix typos in orth files. Reported by Denis Jacquerye. 2006-03-15 15:58:59 +00:00
Patrick Lam 2509fc7ac1 Add orthography for Lingala.
reviewed by: plam
2006-03-08 19:27:25 +00:00
Patrick Lam cf5cf4cadb Strip \r and whitespace from input; fixes bug 3454. 2006-02-22 04:50:16 +00:00
Patrick Lam 69a3fc78e2 Allocate large arrays statically in fc-lang to fix crashes under
MinGW/MSYS.
2006-02-22 04:09:39 +00:00
Patrick Lam 2b90aee363 Remove one more archaic character.
reviewed by: plam
2006-02-21 15:29:54 +00:00
Patrick Lam a81f23c0ce Fix hidden variable warning. 2006-02-07 03:53:32 +00:00
Patrick Lam 946478e1a7 Remove references to dead fontconfig(3) manpages in other fontconfig
manpages.
reviewed by: plam
2006-01-30 14:43:04 +00:00
Patrick Lam 16a71eff3e Treat zh-hk fonts differently from zh-tw fonts. This patch may cause
fontconfig to treat A-X fonts differently from A-Y fonts; please mail
    the fontconfig list if this causes any problems.
reviewed by: plam
2006-01-25 02:54:37 +00:00
Patrick Lam b8948e8542 Refactor FcCacheBankToIndex into an inlineable part (in fcint.h) which
checks the front of the list and a non-inlineable part which finds and
    moves the appropriate element to the front of the list.
reviewed by: plam
2005-11-29 14:57:10 +00:00
Patrick Lam a151acedc0 Further fix of patch from 2005-11-04: miscounted numbers count
(numbers_count); didn't strip duplicate numbers (langBankNumbers); and
    leafidx_offset and numbers_offset in fcLangCharSets are wrong.
Removed leafidx_count and numbers_count since they are the same and
    replaced them with offset_count.
reviewed by: plam
2005-11-19 16:24:53 +00:00
Patrick Lam 82f35f8bb4 Fix bug 2878 (excessive relocations at startup for charsets, reported by
Ross Burton): fc-lang/fc-lang now creates the static form of the
    langset, not the dynamic form, so that the charsets should now be in
    .rodata.
2005-11-04 19:31:26 +00:00
Patrick Lam c7beacf916 Small patch for output in case where lineno not defined. 2005-09-23 01:48:33 +00:00
Patrick Lam 67accef4d3 Fix more gcc4 warnings:
- Cast sizeof to int, to shut up signedness warnings in comparison.
- Add consts where appropriate.
reviewed by: Patrick Lam <plam@mit.edu>
2005-09-22 23:45:53 +00:00
Patrick Lam 8245771d5a Merge with HEAD and finish the GCC 4 cleanups (no more warnings!) 2005-09-11 02:16:09 +00:00