]>
git.wh0rd.org Git - fontconfig.git/log
Behdad Esfahbod [Wed, 18 Mar 2009 22:50:14 +0000 (18:50 -0400)]
[fcstr] Remove unused variable
Behdad Esfahbod [Wed, 18 Mar 2009 22:43:09 +0000 (18:43 -0400)]
[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.
Behdad Esfahbod [Tue, 17 Mar 2009 16:52:48 +0000 (12:52 -0400)]
Revert "[conf] Disable hinting when emboldening (#19904)" (#20599)
This reverts commit
10609af4aa4030a15c19573198462fa002d2ef13 .
Apparently disabling hinting can cause worse rendering with certain
fonts. This is better handled on a per font basis.
Behdad Esfahbod [Mon, 16 Mar 2009 21:59:50 +0000 (17:59 -0400)]
[Makefile.am] Don't clean ChangeLog in distclean
Behdad Esfahbod [Fri, 13 Mar 2009 21:26:21 +0000 (17:26 -0400)]
Document FcPatternFormat() format
Behdad Esfahbod [Fri, 13 Mar 2009 16:11:13 +0000 (12:11 -0400)]
[fcformat] Fix default-value handling
Behdad Esfahbod [Thu, 12 Mar 2009 20:00:08 +0000 (16:00 -0400)]
Replace 'KEITH PACKARD' with 'THE AUTHOR(S)' in license text in all files
Behdad Esfahbod [Thu, 12 Mar 2009 17:48:07 +0000 (13:48 -0400)]
Call git tools using "git cmd" instead of "git-cmd" syntax
Recent git doesn't install the git-* commands in path.
Behdad Esfahbod [Thu, 12 Mar 2009 16:31:57 +0000 (12:31 -0400)]
[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.
Behdad Esfahbod [Thu, 12 Mar 2009 16:22:37 +0000 (12:22 -0400)]
[fcxml] Embed 64 static FcVStack objects in FcConfigParse
This reduces the number of mallocs called from FcVStackPush from
over 800 down to zero.
Behdad Esfahbod [Thu, 12 Mar 2009 15:58:04 +0000 (11:58 -0400)]
[fcxml] Embed 8 static FcPStack objects in FcConfigParse
This reduces the number of mallocs called from FcPStackPush from
over 900 down to zero.
Behdad Esfahbod [Thu, 12 Mar 2009 13:27:20 +0000 (09:27 -0400)]
[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.
Behdad Esfahbod [Wed, 11 Mar 2009 18:07:15 +0000 (14:07 -0400)]
[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.
Behdad Esfahbod [Wed, 11 Mar 2009 17:56:09 +0000 (13:56 -0400)]
[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.
Behdad Esfahbod [Tue, 10 Mar 2009 06:15:37 +0000 (02:15 -0400)]
Fix Makefile's to not create target file in case of failure
Behdad Esfahbod [Tue, 10 Mar 2009 06:14:15 +0000 (02:14 -0400)]
Fix Fanti (fat) orth file (#20390)
Roozbeh Pournader [Tue, 3 Mar 2009 06:48:37 +0000 (22:48 -0800)]
Add Sundanese (su) orthography (bug #20440)
Roozbeh Pournader [Tue, 3 Mar 2009 04:53:26 +0000 (20:53 -0800)]
Add Kanuri (kr) orthography (bug #20438)
Roozbeh Pournader [Mon, 2 Mar 2009 10:21:17 +0000 (02:21 -0800)]
Add Nauru (na) orthography (bug #20418)
Roozbeh Pournader [Sun, 1 Mar 2009 11:53:11 +0000 (03:53 -0800)]
Add Javanese (jv) orthography (bug #20403)
Roozbeh Pournader [Sun, 1 Mar 2009 11:50:46 +0000 (03:50 -0800)]
Add Sichuan Yi (ii) orthography (bug #20402)
Roozbeh Pournader [Sun, 1 Mar 2009 11:46:48 +0000 (03:46 -0800)]
Add Shona (sn) orthography (bug #20394)
Roozbeh Pournader [Sun, 1 Mar 2009 11:30:58 +0000 (03:30 -0800)]
Add orthographies for Oshiwambo languages (bug #20401)
The languages are Kuanyama/Kwanyama (kj), Ndonga (ng), and Kwambi (kwm).
Roozbeh Pournader [Sun, 1 Mar 2009 10:33:54 +0000 (02:33 -0800)]
Add Zhuang (za) orthography (bug #20399)
Roozbeh Pournader [Sun, 1 Mar 2009 10:12:38 +0000 (02:12 -0800)]
Add Rundi (rn) orthography (bug #20398)
Roozbeh Pournader [Sun, 1 Mar 2009 03:43:02 +0000 (19:43 -0800)]
Add Navajo (nv) orthography (bug #20395)
Roozbeh Pournader [Sun, 1 Mar 2009 02:25:20 +0000 (18:25 -0800)]
Add Tahitian (ty) orthography (bug #20391)
Roozbeh Pournader [Sun, 1 Mar 2009 02:01:11 +0000 (18:01 -0800)]
Add Sango (sg) orthography (bug #20393)
Roozbeh Pournader [Sun, 1 Mar 2009 01:38:21 +0000 (17:38 -0800)]
Added Quechua (qu) orthography (bug #20392)
Roozbeh Pournader [Sun, 1 Mar 2009 01:05:11 +0000 (17:05 -0800)]
Add Akan (ak) and Fanti (fat) orthographies (bug #20390)
Roozbeh Pournader [Sun, 1 Mar 2009 00:29:07 +0000 (16:29 -0800)]
Add Herero (hz) orthograhy (bug #20387)
Roozbeh Pournader [Sun, 1 Mar 2009 00:03:51 +0000 (16:03 -0800)]
Add Ewe (ee) orthography (bug #20386)
Roozbeh Pournader [Fri, 27 Feb 2009 22:41:07 +0000 (14:41 -0800)]
Update Serbo-Croatian (sh) orthography (bug #20368)
Roozbeh Pournader [Fri, 27 Feb 2009 07:27:20 +0000 (23:27 -0800)]
Extend Crimean Tatar (crh) orthography (bug #19891)
Roozbeh Pournader [Thu, 19 Feb 2009 05:21:01 +0000 (21:21 -0800)]
Add Divehi (dv) orthography (bug #20207)
Roozbeh Pournader [Thu, 19 Feb 2009 01:09:51 +0000 (17:09 -0800)]
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).
Roozbeh Pournader [Thu, 19 Feb 2009 00:44:10 +0000 (16:44 -0800)]
Tighten Central Khmer (km) orthography (bug #20202)
Roozbeh Pournader [Thu, 19 Feb 2009 00:03:30 +0000 (16:03 -0800)]
Change Kashmiri (ks) orthography to Arabic script (bug #20200)
Roozbeh Pournader [Wed, 18 Feb 2009 07:33:07 +0000 (23:33 -0800)]
Rename Fulah orthography from 'ful' to 'ff' (bug #20177)
Roozbeh Pournader [Wed, 18 Feb 2009 06:45:17 +0000 (22:45 -0800)]
Rename Bambara orthography from 'bam' to 'bm' (bug #20175)
Roozbeh Pournader [Wed, 18 Feb 2009 06:40:50 +0000 (22:40 -0800)]
Rename Avaric orthography from 'ava' to 'av' (bug #20174)
Roozbeh Pournader [Wed, 18 Feb 2009 06:09:53 +0000 (22:09 -0800)]
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.
Roozbeh Pournader [Wed, 18 Feb 2009 05:37:45 +0000 (21:37 -0800)]
Switch Uzbek (uz) orthography to Latin (bug #19851)
Roozbeh Pournader [Wed, 18 Feb 2009 04:02:39 +0000 (20:02 -0800)]
Add Crimean Tatar (crh) orthography (bug #19891)
Roozbeh Pournader [Wed, 18 Feb 2009 03:41:30 +0000 (19:41 -0800)]
Add Papiamento (pap_aw, pap_an) orthographies (bug #19891)
Roozbeh Pournader [Wed, 18 Feb 2009 01:30:15 +0000 (17:30 -0800)]
Add Blin (byn) orthography (bug #19891)
Roozbeh Pournader [Wed, 18 Feb 2009 01:03:54 +0000 (17:03 -0800)]
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.
Roozbeh Pournader [Sat, 14 Feb 2009 04:04:42 +0000 (20:04 -0800)]
Add Ottoman Turkish (ota) orthography (bug #20114)
Roozbeh Pournader [Sat, 14 Feb 2009 01:14:14 +0000 (17:14 -0800)]
Remove Euro Sign from all orthographies (bug #19865)
Behdad Esfahbod [Mon, 2 Mar 2009 09:55:37 +0000 (13:25 +0330)]
[fc-lang] Continue parsing after an "include" (#20179)
Roozbeh Pournader [Sat, 14 Feb 2009 00:47:11 +0000 (16:47 -0800)]
Fix Bengali (bn) and Assamese (as) orthographies (bug #22924)
Removing digits, symbols, and the letters not used in the languages.
Roozbeh Pournader [Sat, 14 Feb 2009 00:07:14 +0000 (16:07 -0800)]
Add Sidamo (sid) and Wolaitta (wal) orthographies (bug #19891)
Roozbeh Pournader [Fri, 13 Feb 2009 23:52:23 +0000 (15:52 -0800)]
Add Sardinian (sc) orthography (bug #19891)
Roozbeh Pournader [Fri, 13 Feb 2009 21:31:10 +0000 (13:31 -0800)]
Add Limburgan (li) orthography (bug #19891)
Roozbeh Pournader [Wed, 11 Feb 2009 09:59:56 +0000 (01:59 -0800)]
Ad Ganda (lg) orthography (bug #19891)
Roozbeh Pournader [Wed, 11 Feb 2009 09:44:45 +0000 (01:44 -0800)]
Add Haitian Creole (ht) orthography (bug #19891)
Roozbeh Pournader [Wed, 11 Feb 2009 09:11:30 +0000 (01:11 -0800)]
Add Aragonese (an) orthography (bug #19891)
Roozbeh Pournader [Wed, 11 Feb 2009 08:34:10 +0000 (00:34 -0800)]
Add Kurdish in Turkey (ku_tr) orthography (bug #19891)
Roozbeh Pournader [Wed, 11 Feb 2009 08:22:53 +0000 (00:22 -0800)]
Use newly added Cyrillic letters for Kurdish (bug #20049)
Roozbeh Pournader [Wed, 11 Feb 2009 08:05:16 +0000 (00:05 -0800)]
Add Chhattisgarhi (hne) orthography (bug #19891)
Behdad Esfahbod [Sat, 14 Feb 2009 01:18:11 +0000 (17:18 -0800)]
[fcformat] Add list of undocumented language features
Behdad Esfahbod [Sat, 14 Feb 2009 00:41:37 +0000 (16:41 -0800)]
[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)
Behdad Esfahbod [Sat, 14 Feb 2009 00:33:58 +0000 (16:33 -0800)]
[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.
Behdad Esfahbod [Sat, 14 Feb 2009 00:30:43 +0000 (16:30 -0800)]
[fclang] Implement FcLangSetGetLangs() (#18846)
Behdad Esfahbod [Fri, 13 Feb 2009 03:48:22 +0000 (21:48 -0600)]
[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.
Behdad Esfahbod [Thu, 12 Feb 2009 04:55:11 +0000 (23:55 -0500)]
[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}'.
Behdad Esfahbod [Thu, 12 Feb 2009 04:44:36 +0000 (23:44 -0500)]
[fcformat] Support indexing simple tags
The format '%{family[0]}' will only output the first value for element family.
Behdad Esfahbod [Wed, 11 Feb 2009 01:56:39 +0000 (20:56 -0500)]
[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.
Behdad Esfahbod [Tue, 10 Feb 2009 23:57:34 +0000 (18:57 -0500)]
[fcformat] Refactor code to avoid malloc
Behdad Esfahbod [Tue, 10 Feb 2009 11:22:55 +0000 (06:22 -0500)]
[fcformat] Start adding builtins
Behdad Esfahbod [Tue, 10 Feb 2009 10:57:10 +0000 (05:57 -0500)]
[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.
Behdad Esfahbod [Tue, 10 Feb 2009 10:05:53 +0000 (05:05 -0500)]
[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.
Behdad Esfahbod [Tue, 10 Feb 2009 09:47:24 +0000 (04:47 -0500)]
[FcStrBuf] better handle malloc failure
If buffer has failed allocation, return NULL when done.
Behdad Esfahbod [Tue, 10 Feb 2009 09:44:54 +0000 (04:44 -0500)]
[fcformat] Implement 'cescape', 'shescape', and 'xmlescape' converters
Behdad Esfahbod [Tue, 10 Feb 2009 08:38:22 +0000 (03:38 -0500)]
[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'.
Behdad Esfahbod [Tue, 10 Feb 2009 05:15:08 +0000 (00:15 -0500)]
[fcformat] Add conditionals
The conditional '%{?elt1,elt2,!elt3{expr1}{expr2}}' will evaluate
expr1 if elt1 and elt2 exist in pattern and elt3 doesn't exist, and
expr2 otherwise. The '{expr2}' part is optional.
Behdad Esfahbod [Tue, 10 Feb 2009 04:08:08 +0000 (23:08 -0500)]
[fcformat] Add element filtering and deletion
The filtering, '%{+elt1,elt2,elt3{subexpr}}' will evaluate subexpr
with a pattern only having the listed elements from the surrounding
pattern.
The deletion, '%{-elt1,elt2,elt3{subexpr}}' will evaluate subexpr
with a the surrounding pattern sans the listed elements.
Behdad Esfahbod [Tue, 10 Feb 2009 01:49:45 +0000 (20:49 -0500)]
[fcformat] Add support for subexpressions
The syntax is '{{expr}}'. Can be used for aligning/justifying an entire
subexpr for example.
Behdad Esfahbod [Tue, 10 Feb 2009 00:13:07 +0000 (19:13 -0500)]
[fcformat] Refactor and restructure code for upcoming changes
Also makes it thread-safe.
Behdad Esfahbod [Mon, 9 Feb 2009 23:18:59 +0000 (18:18 -0500)]
[fcformat] Add support for width modifiers
One can do '%30{family}' for example. Or '%-30{family}' for the
left-aligned version.
Behdad Esfahbod [Fri, 6 Feb 2009 04:37:16 +0000 (23:37 -0500)]
Further update Sinhala orthography (#19288)
Behdad Esfahbod [Thu, 5 Feb 2009 07:46:16 +0000 (02:46 -0500)]
[cache] After writing cache to file, update the internal copy to reflect this
Only do it for small caches though. For large cache we'd better off loading
the cache file again, mmap()ing it.
Based on patch from Diego Santa Cruz.
Behdad Esfahbod [Wed, 4 Feb 2009 20:58:36 +0000 (15:58 -0500)]
Update Sinhala orthography (#19288)
Patch from Harshula Jayasuriya.
Behdad Esfahbod [Wed, 4 Feb 2009 02:06:15 +0000 (21:06 -0500)]
[fccache] Make sure the cache is current when reusing from open caches
Reported by Diego Santa Cruz.
Behdad Esfahbod [Wed, 4 Feb 2009 01:50:29 +0000 (20:50 -0500)]
[win32] Do not remove leading '\\' such that network paths work
Raised by Diego Santa Cruz.
Behdad Esfahbod [Wed, 4 Feb 2009 01:35:10 +0000 (20:35 -0500)]
[win32] Expand "APPSHAREFONTDIR" to ../share/fonts relative to binary location
Proposed by Diego Santa Cruz.
Behdad Esfahbod [Wed, 4 Feb 2009 01:31:30 +0000 (20:31 -0500)]
[win32] Fix usage of GetFullPathName()
Diego Santa Cruz pointed out that we are using that API wrongly.
The forth argument is a pointer to a pointer. Turns out we don't
need that arugment and it accepts NULL, so just pass that.
Behdad Esfahbod [Tue, 3 Feb 2009 22:15:52 +0000 (17:15 -0500)]
Add ICONV_LIBS to fontconfig.pc.in (#19606)
Mike FABIAN [Tue, 3 Feb 2009 21:57:01 +0000 (16:57 -0500)]
[conf] Disable hinting when emboldening (#19904)
Hinting will be done before Embolden in freetype2,
but in such case, Embolden will get wrong result
on some glyph contours after applying hinting.
Actually, hinting should be done after embolden, but we can't
fix it in current freetype2. So as a workaround, just turn off
hinting if we want to do embolden.
Roozbeh Pournader [Mon, 2 Feb 2009 08:27:58 +0000 (00:27 -0800)]
Remove punctuation symbols from Asturian orthography (bug #19893)
Also fix the URL for orthography.
Roozbeh Pournader [Mon, 2 Feb 2009 07:52:10 +0000 (23:52 -0800)]
Rename Igbo from "ibo" to "ig" (bug #19892)
Roozbeh Pournader [Mon, 2 Feb 2009 06:14:53 +0000 (22:14 -0800)]
Renamed az to az_az (bug #19889)
Roozbeh Pournader [Mon, 2 Feb 2009 04:46:23 +0000 (20:46 -0800)]
Add Berber orthographies in Latin and Tifinagh scripts (bug #19881)
Roozbeh Pournader [Mon, 2 Feb 2009 04:42:54 +0000 (20:42 -0800)]
Add Upper Sorbian (hsb) orthography (bug #19870)
Roozbeh Pournader [Mon, 2 Feb 2009 04:41:14 +0000 (20:41 -0800)]
Add Kinyarwanda (rw) orthography (bug #19868)
Roozbeh Pournader [Mon, 2 Feb 2009 04:39:03 +0000 (20:39 -0800)]
Add Malay (ms) orthography (bug #19867)
Roozbeh Pournader [Mon, 2 Feb 2009 04:36:55 +0000 (20:36 -0800)]
Add Kashubian (csb) orth file (bug #19866)
Roozbeh Pournader [Mon, 2 Feb 2009 04:29:12 +0000 (20:29 -0800)]
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.
Roozbeh Pournader [Mon, 2 Feb 2009 04:21:45 +0000 (20:21 -0800)]
Rename Venda from "ven" to "ve" (bug #19852)
Since ISO 639-1 code exists, we should use it.
Roozbeh Pournader [Mon, 2 Feb 2009 04:00:15 +0000 (20:00 -0800)]
Change Turkmen orth from Cyrillic to Latin (bug #19849)