- 11 Jun, 2012 5 commits
-
-
Akira TAGOH authored
-
8c255fb1 moved some code out of switch but did not declare 'buffer'. Also, replacing the "break" with "goto bail" neglected the WIN32 specific code.
-
Akira TAGOH authored
-
Akira TAGOH authored
-
Akira TAGOH authored
-
- 08 Jun, 2012 6 commits
-
-
Akira TAGOH authored
-
Akira TAGOH authored
-
Akira TAGOH authored
-
Akira TAGOH authored
the default language is referred from the FC_LANG environment variable or the current locale
-
Akira TAGOH authored
try to fallback if FC_LANG, LC_ALL, LC_CTYPE and LANG is empty
-
Akira TAGOH authored
Add a new API FcGetDefaultLangs() to export the string sets of the default languages.
-
- 01 Jun, 2012 1 commit
-
-
Akira TAGOH authored
-
- 31 May, 2012 1 commit
-
-
Akira TAGOH authored
-
- 30 May, 2012 1 commit
-
-
Akira TAGOH authored
It's introduced by 0ac6c982. Use lstat() and S_ISDIR() to check if it's the directory or not if there are no d_type in struct dirent.
-
- 28 May, 2012 4 commits
-
-
Windows does not update mtime of directory on FAT filesystem when file is added to it or removed from it. Fontconfig uses mtime of directory to check cache file aging and hence fails to detect newly added or recently removed files. This changeset detects FAT filesystem (currently implemented for Linux) and adds generating checksum of directory entries instead of using mtime which guarantees proper cache rebuild. For non-FAT filesystems this patch adds single syscall per directory which is negligeable overhead. This fixes bug https://bugs.freedesktop.org/show_bug.cgi?id=25535 Signed-off-by:
Mikhail Gusarov <dottedmag@dottedmag.net>
-
Akira TAGOH authored
just rework to share the efforts between FcIsFsMmapSafe() and FcIsFsMtimeBroken().
-
FcStat() logic is quite complicated in presence of various semi-broken operating systems and filesystems, split it out in order to make it a bit easier. Signed-off-by:
Mikhail Gusarov <dottedmag@dottedmag.net>
-
Akira TAGOH authored
link(2) might be failed on the filesystem that doesn't support the hard link. e.g. FcAtomicLock() always fails on FAT filesystem when link(2) is available. So that may be a good idea to fallback if link(2) is failed.
-
- 25 May, 2012 1 commit
-
-
Akira TAGOH authored
Warn if the multiple values is set to <test>, including the case of in <alias> because the behavior isn't intuitive since so many users is asking for a help to get things working for their expectation. Use multiple <match>s or <alias>es for OR operator and multiple <test>s for AND operator.
-
- 21 May, 2012 1 commit
-
-
Akira TAGOH authored
Enclose the string with <string> in <test>
-
- 18 May, 2012 1 commit
-
-
Akira TAGOH authored
Allows reading configuration files, fonts and cache files from the directories where the XDG Base Directory Specification defines. the old directories are still in the configuration files for the backward compatibility.
-
- 14 May, 2012 1 commit
-
-
Akira TAGOH authored
Add a new attribute `ignore-blanks' to <test>. When this is set to "true", any blanks in the string will be ignored on comparison. This takes effects for compare="eq" or "not_eq" only. Also changed the behavior of the comparison on <alias> too.
-
- 10 May, 2012 2 commits
-
-
Akira TAGOH authored
FC_MAX is also available in src/fcint.h
-
Akira TAGOH authored
Since the binding is affected to the score, the replacement should have same binding to avoid the unexpected estimation.
-
- 02 May, 2012 2 commits
-
-
This patch isn't really tested as I don't have such a machine, but I have a bug report that on m68k machines, double values are aligned on smaller than 4 byte boundaries. If ALIGNOF_DOUBLE < sizeof(int), the "expected" sizeof of FcValue is miscomputed. Use the maximum of 4 (sizeof (int)) and ALIGNOF_DOUBLE when computing the expected size of FcValue. Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Commit 87d7b82a reformatted this part of the configure script, accidentally introducing a spurious comma. Signed-off-by:
Keith Packard <keithp@keithp.com>
-
- 01 May, 2012 1 commit
-
-
Akira TAGOH authored
-
- 25 Apr, 2012 2 commits
-
-
Akira TAGOH authored
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.
-
Akira TAGOH authored
-
- 24 Apr, 2012 2 commits
-
-
Akira TAGOH authored
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.
-
Akira TAGOH authored
Disable iconv support by default, which provide a feature to convert non-Unicode SFNT names to UTF-8.
-
- 23 Apr, 2012 2 commits
-
-
Akira TAGOH authored
Create CACHEDIR.TAG when fc-cache is run or only when the cache directory is created at the runtime. Also add FcCacheCreateTagFile() API to do create CACHEDIR.TAG on the cache directory.
-
Akira TAGOH authored
-
- 22 Apr, 2012 1 commit
-
-
Akira TAGOH authored
Reported by Buganini
-
- 20 Apr, 2012 2 commits
-
-
Akira TAGOH authored
Reported by Jon TURNEY
-
Akira TAGOH authored
-
- 18 Apr, 2012 1 commit
-
-
Akira TAGOH authored
the library Add FcDirCacheScan() API to clean up the cache files in the directory.
-
- 17 Apr, 2012 1 commit
-
-
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>
-
- 16 Apr, 2012 1 commit
-
-
Akira TAGOH authored
-
- 13 Apr, 2012 1 commit
-
-
Akira TAGOH authored
-