Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
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.
|
|
Disable iconv support by default, which provide a feature to convert
non-Unicode SFNT names to UTF-8.
|
|
created at the runtime.
Also add FcCacheCreateTagFile() API to do create CACHEDIR.TAG on the cache
directory.
|
|
|
|
Reported by Buganini
|
|
Reported by Jon TURNEY
|
|
|
|
the library
Add FcDirCacheScan() API to clean up the cache files in the directory.
|
|
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>
|
|
|
|
|
|
Patch from Gianluigi Tiesi
|
|
Fix a build issue on the platforms where regex isn't available
|
|
Allow :file=/path/to/font/file on matching
|
|
Add --with-libiconv, --with-libiconv-includes and --with-libiconv-lib
to specify the directory where libiconv might be installed.
|
|
Allow to use the test elements in the alias element.
|
|
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
|
|
|
|
|
|
|
|
further update for ne.orth
Patch from Pravin Satpute.
|
|
Use the command substitution `command` instead of $(command) for
Solaris 10.
|
|
|
|
|
|
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
|
|
Use the reference-counted strings instead of the static strings
Patch from Karl Tomlinson
|
|
|
|
Use "append" to avoid overwriting the user configuration.
This presumes most clients may takes care of the first value only.
|
|
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
|
|
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.
|
|
Use sizeof() instead of strlen() and use stdio.
|
|
fc-cache: Create CACHEDIR.TAG at the top of the cache directory.
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
|
|
configure time
https://bugs.freedesktop.org/show_bug.cgi?id=20208
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
Thanks to Adam Sampson for pointing this out.
|
|
$< 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.
|
|
This reverts commit b75eb63982a54c0fb4576d8a655ef734908d3604.
|
|
This reverts commit 0fdfddf2ac93c1c0238b70a265998fd6b5ffe7af.
Conflicts:
doc/Makefile.am
|
|
<cache> element is now obsoletes and no longer used. get rid of it
from the doc and add <cachedir> instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add a workaround alias for Dingbats.
|