Behdad Esfahbod
5aaf466d38
Cleanup copyright notices to replace "Keith Packard" with "the author(s)"
2010-11-10 16:45:42 -05:00
Behdad Esfahbod
caa4bec945
Bug 24729 - [ne_NP] Fix ortho file
...
Exclude three characters (U+090C..090E) from Nepalese.
2010-09-21 13:18:05 -04:00
Behdad Esfahbod
0a023b24da
[fc-lang] Support excluding characters
...
By prefixing a line by a hyphen/minus sign. Useful when including
other orth files.
2010-09-21 13:14:55 -04:00
Alan Coopersmith
7836684446
Fix compiler warnings
2010-06-02 22:38:19 -04:00
Behdad Esfahbod
d2fb683796
Clean up Makefile's a bit
2009-11-18 09:35:40 -05:00
Roozbeh Pournader
25436fd08f
Updated Arabic, Persian, and Urdu orthographies
...
- Arabic (ar), Persian (fa), and Urdu (ur) now use generic forms (bug #23004 )
- Persian (fa) orthography updated to latest standards and orthographies
- Persian dialects Dari/Eastern Farsi (prs) and Western Farsi (pes) added
2009-09-02 20:03:42 -07:00
Roozbeh Pournader
d9d8b88264
Correct Ewe (ee) orthography to use U+025B (bug #20711 )
2009-09-02 18:54:24 -07:00
Behdad Esfahbod
d354a321ee
Bug 23419 - "contains" expression seems not working on the fontconfig rule
...
Fix bug in FcLangSetContains(), similar to
5c6d1ff23b
2009-08-25 20:39:20 -04:00
Behdad Esfahbod
161620108b
[ja.orth] Comment out FULLWIDTH YEN SIGN ( #22942 )
2009-07-28 14:24:21 -04:00
Roozbeh Pournader
aa82a4f81d
Reorganize Panjabi/Punjabi and Lahnda orthographies (bug #19890 )
...
The correct ISO 639 code for Pakistani/Western Panjabi seems to be 'lah',
not 'pa'. We are keeping 'pa_pk.orth' for compatiblity with glibc.
Signed-off-by: Behdad Esfahbod <behdad@behdad.org>
2009-06-24 13:52:11 -04:00
Behdad Esfahbod
ffd6668b46
[fc-lang] Make LangSet representation in the cache files stable
...
Fontconfig assigns an index number to each language it knows about.
The index is used to index a bit in FcLangSet language map. The bit
map is stored in the cache.
Previously fc-lang simply sorted the list of languages and assigned
them an index starting from zero. Net effect is that whenever new
orth files were added, all the FcLangSet info in the cache files would
become invalid. This was causing weird bugs like this one:
https://bugzilla.redhat.com/show_bug.cgi?id=490888
With this commit we fix the index assigned to each language. The index
will be based on the order the orth files are passed to fc-lang. As a
result all orth files are explicitly listed in Makefile.am now, and
new additions should be made to the end of the list. The list is made
to reflect the sorted list of orthographies from 2.6.0 released followed
by new additions since.
This fixes the stability problem. Needless to say, recreating caches
is necessary before any new orthography is recognized in existing fonts,
but at least the existing caches are still valid and don't cause bugs
like the above.
2009-06-24 13:52:10 -04:00
Behdad Esfahbod
bb36e67685
[fc-lang] Fix bug in country map generation
...
Previously the county map code was using an uninitialized variable and
hence was totally failing to populate same-lang-different-territory map.
2009-06-24 13:52:09 -04:00
Behdad Esfahbod
3074a73b41
Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in all files
2009-03-13 17:59:28 -04:00
Behdad Esfahbod
916640ce40
Fix Makefile's to not create target file in case of failure
2009-03-10 02:16:09 -04:00
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