Commit Graph

2061 Commits

Author SHA1 Message Date
Behdad Esfahbod 35c5181151 [fc-cache] Remove obsolete sentence from man page 2009-06-24 13:52:10 -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 4d13536db4 [fcstr] Remove unused variable 2009-06-24 13:52:09 -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 0f11354877 Revert "[conf] Disable hinting when emboldening (#19904)" (#20599)
This reverts commit 10609af4aa.
Apparently disabling hinting can cause worse rendering with certain
fonts.  This is better handled on a per font basis.
2009-06-24 13:52:09 -04:00
Behdad Esfahbod 7042e23649 [Makefile.am] Don't clean ChangeLog in distclean 2009-06-24 13:52:09 -04:00
Behdad Esfahbod caeea376da Document FcPatternFormat() format 2009-03-13 19:06:43 -04:00
Behdad Esfahbod f6d8343989 [fcformat] Fix default-value handling 2009-03-13 17:59:29 -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 b9b01b6ed0 Call git tools using "git cmd" instead of "git-cmd" syntax
Recent git doesn't install the git-* commands in path.
2009-03-12 13:48:54 -04:00
Behdad Esfahbod de69ee14d3 [fcxml.c] Embed a static 64-byte attr buffer in FcPStack
Reduces number of mallocs called from FcConfigSaveAttr in my small test
from 160 down to 6.
2009-03-12 13:14:38 -04:00
Behdad Esfahbod 39861b7d9c [fcxml] Embed 64 static FcVStack objects in FcConfigParse
This reduces the number of mallocs called from FcVStackPush from
over 800 down to zero.
2009-03-12 13:14:38 -04:00
Behdad Esfahbod 1d7b47da9d [fcxml] Embed 8 static FcPStack objects in FcConfigParse
This reduces the number of mallocs called from FcPStackPush from
over 900 down to zero.
2009-03-12 13:14:38 -04:00
Behdad Esfahbod 532d8a1dbc [fcxml] Don't allocate attr array if there are no attributes
Reduces number of mallocs from FcConfigSaveAttr() in my small test
from over 900 down to 157.
2009-03-12 13:14:37 -04:00
Behdad Esfahbod 3ed70071cd [fcstr,fcxml] Don't copy FcStrBuf contents when we would free it soon
We can simply NUL-terminate the buffer and use it.  Reduces number of
mallocs called from FcStrBufDone in my small test from 631 down to 66.
2009-03-12 13:14:37 -04:00
Behdad Esfahbod 7d35c11b33 [fcstr.c] Embed a static 64-byte buffer in FcStrBuf
Reduces number of mallocs called from FcStrBufChar in my small test
from 900 down to 6.
2009-03-12 13:14:37 -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