summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-04-25Bug 39278 - make usage of mmap optionalHEADmasterAkira TAGOH3-5/+116
Stop using mmap() if the cache file is stored on NFS. also added FONTCONFIG_USE_MMAP environment variable to enforce the use of or not the use of mmap(2) regardless of what the filesystem the cache files are stored on.
2012-04-25Disable iconv support anyway...Akira TAGOH1-1/+2
2012-04-24Bug 27765 - FcMatch() returns style in wrong languageAkira TAGOH7-27/+178
Add "namelang" object to obtain the localized name in the font regardless of the lang object. it's applied to "familylang", "stylelang" and "fullnamelang" alltogether. this would helps if one wants to enforce selecting them in the specific language if any. the default value for the namelang object is determined from current locale.
2012-04-24Add --enable-iconv option to configureAkira TAGOH1-30/+34
Disable iconv support by default, which provide a feature to convert non-Unicode SFNT names to UTF-8.
2012-04-23Create CACHEDIR.TAG when fc-cache is run or only when the cache directory is ↵Akira TAGOH7-75/+104
created at the runtime. Also add FcCacheCreateTagFile() API to do create CACHEDIR.TAG on the cache directory.
2012-04-23Bug 47721 - Add ChromeOS fonts to 30-metric-aliases.confAkira TAGOH1-11/+39
2012-04-22C++11 requires a space between literal and identifierAkira TAGOH1-3/+3
Reported by Buganini
2012-04-20Fix a build issue again when no regex functions availableAkira TAGOH2-4/+2
Reported by Jon TURNEY
2012-04-20Rework to avoid adding the unexpected value to ICONV_CFLAGS and ICONV_LIBSAkira TAGOH1-20/+24
2012-04-18Bug 25151 - Move cleanCacheDirectory() from fc-cache.c intoAkira TAGOH5-92/+106
the library Add FcDirCacheScan() API to clean up the cache files in the directory.
2012-04-17Use posix_fadvise to speed startupKeith Packard2-1/+4
Given that fontconfig will scan all of the cache file data during the first font search, ask the kernel to start reading the pages right away. Signed-off-by: Keith Packard <keithp@keithp.com>
2012-04-16doc: Fix a typo of the environment variable name.Akira TAGOH1-2/+2
2012-04-13Add --with-expat, --with-expat-includes and --with-expat-lib back.Akira TAGOH1-3/+38
2012-04-12Bug 27526 - Compatibility fix for old windows sytemsAkira TAGOH3-14/+53
Patch from Gianluigi Tiesi
2012-04-12Bug 48573 - platform without regex do not have also REG_XXX definesAkira TAGOH2-2/+13
Fix a build issue on the platforms where regex isn't available
2012-04-11Bug 28491 - Allow matching on FC_FILEAkira TAGOH4-34/+110
Allow :file=/path/to/font/file on matching
2012-04-10Bug 26830 - Add search for libiconv non-default directoryAkira TAGOH2-23/+63
Add --with-libiconv, --with-libiconv-includes and --with-libiconv-lib to specify the directory where libiconv might be installed.
2012-04-06Bug 22862 - <alias> ignores <match> <test>sAkira TAGOH2-7/+22
Allow to use the test elements in the alias element.
2012-04-05Bug 29341 - Make some fontconfig paths configurableAkira TAGOH5-82/+129
Add configure options to set the directory to be installed: --with-templatedir for the configuration files a.k.a. /etc/fonts/conf.avail --with-baseconfigdir for fonts.conf etc a.k.a. /etc/fonts --with-configdir for the active configuration files a.k.a. /etc/fonts/conf.d --with-xmldir for fonts.dtd etc and the default path for templatedir is changed to ${datadir}/fontconfig/conf.avail
2012-04-02Use pkgconfig to check builddepsAkira TAGOH1-133/+31
2012-04-02Use AC_HELP_STRING instead of formatting manuallyAkira TAGOH1-11/+46
2012-03-30doc: Add contains and not_contains operators and elementsAkira TAGOH1-3/+3
2012-03-30Bug 24729 - [ne_NP] Fix ortho fileAkira TAGOH1-3/+20
further update for ne.orth Patch from Pravin Satpute.
2012-03-29Bug 48020 - Fix for src/makealias on Solaris 10Akira TAGOH1-1/+1
Use the command substitution `command` instead of $(command) for Solaris 10.
2012-03-29Move workaround macros for fat binaries into the separate header fileAkira TAGOH4-16/+50
2012-03-28Fix the hardcoded cache file suffixAkira TAGOH1-2/+2
2012-03-28fcpat: Increase the number of buckets in the shared string hash tableAkira TAGOH1-1/+1
This is a reasonably conservative increase in the number of buckets in the hash table to 251. After FcInit(), there are 240 shared strings in use on my system (from configuration files I assume). The hash value is stored in each link in the chains so comparison are actually not very expensive. This change should reduce the average length of chains by a factor of 8. With the reference counted strings, it should keep the average length of chains to about 2. The number of buckets is prime so as not to rely too much on the quality of the hash function. https://bugs.freedesktop.org/show_bug.cgi?id=17832#c5 Patch from Karl Tomlinson
2012-03-28Bug 17832 - Memory leaks due to FcStrStaticName use for external patternsAkira TAGOH7-77/+54
Use the reference-counted strings instead of the static strings Patch from Karl Tomlinson
2012-03-27Fix a memory leak in FcDirScanConfig()Akira TAGOH1-0/+3
2012-03-26Bug 17722 - Don't overwrite user's configurations in default configAkira TAGOH10-10/+70
Use "append" to avoid overwriting the user configuration. This presumes most clients may takes care of the first value only.
2012-03-22Bug 47703 - SimSun default familyAkira TAGOH1-4/+4
40-nonlatin.conf: SimSun should be serif but not sans-serif. http://www.microsoft.com/typography/fonts/family.aspx?FID=37 Patch from Petr Gajdos
2012-03-22fcmatch: Set FcResultMatch at the end if the return value is valid.Akira TAGOH1-5/+14
In the previous code, the result of 'result' in the argument for FcFontSetSort() and FcFontSetMatch() wasn't predictable and not reliable to check if the return value is valid or not. this change is to ensure if it's performed successfully.
2012-03-22fc-cache: improvement of the fix for Bug#39914.Akira TAGOH1-6/+7
Use sizeof() instead of strlen() and use stdio.
2012-03-21Bug 39914 - Please tag the cache directory with CACHEDIR.TAGAkira TAGOH1-0/+77
fc-cache: Create CACHEDIR.TAG at the top of the cache directory. Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2012-03-21fcarch: Check for architecture signature at compile time rather than ↵Jeremy Huddleston3-6/+24
configure time https://bugs.freedesktop.org/show_bug.cgi?id=20208 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2012-03-16Get rid of the prerequisites from the sufix rulesAkira TAGOH1-4/+8
Thanks to Adam Sampson for pointing this out.
2012-03-16Fix a build issue due to the use of non-portable variablesAkira TAGOH13-47/+54
$< isn't supported in BSD make say. $(RM) is pre-defined in GNU make though, not in BSD make say. so changed to check on configure if it's pre-defined by make, otherwise set the appropriate command to $(RM). This would be a workaround until it has the certain pre-defined value.
2012-03-16Revert "Fix a build fail on some environment"Akira TAGOH3-8/+10
This reverts commit b75eb63982a54c0fb4576d8a655ef734908d3604.
2012-03-16Revert "Fix a build fail on some environment."Akira TAGOH13-47/+47
This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af. Conflicts: doc/Makefile.am
2012-03-12[doc] Update for cachedir.Akira TAGOH1-9/+10
<cache> element is now obsoletes and no longer used. get rid of it from the doc and add <cachedir> instead.
2012-03-12[doc] Update the path for cache files and the version.Akira TAGOH1-3/+3
2012-03-11Bump version to 2.9.02.9.0Akira TAGOH3-4/+129
2012-03-11Get rid of $< from Makefile.amAkira TAGOH2-9/+9
2012-03-10Fix a build fail on some environment.Akira TAGOH13-42/+42
2012-03-10Fix a build fail on some environmentAkira TAGOH3-10/+8
2012-03-10Fix a build issueAkira TAGOH1-1/+0
2012-03-09Update to detect the uncommited changes properlyAkira TAGOH1-1/+1
2012-03-09Update the version infoAkira TAGOH1-3/+3
2012-03-09Fix distcheck errorAkira TAGOH4-164/+179
2012-03-07Bug 19128 - Handling whitespace in aliasesAkira TAGOH1-0/+5
Add a workaround alias for Dingbats.