fontconfig/src
Tom Anderson d1f48f11d5 Return canonicalized paths from FcConfigRealFilename
FcConfigRealFilename() follows symlinks, but the link may be relative to the
directory containing the link.  For example, on my system, I have this file:

/etc/fonts/conf.d/99-language-selector-zh.conf ->
    ../conf.avail/99-language-selector-zh.conf

Since /etc/fonts/conf.d is probably not in PATH, open()ing the file would fail.
This change makes FcConfigRealFilename() return the canonicalized filename
instead.  So for the example above, it would return:

/etc/fonts/conf.avail/99-language-selector-zh.conf

This was causing bad font rendering in Chromium [1] after the regression I
introduced in 7ad010e80b.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=857511
2018-07-16 18:00:35 +02:00
..
Makefile.am Do not ship fcobjshash.h 2018-03-28 18:54:37 +09:00
fcarch.c Fix assertion on 32bit arch 2015-10-16 17:24:22 +09:00
fcarch.h Minor 2013-08-21 14:27:16 -04:00
fcatomic.c Bug 95477 - FcAtomicLock fails when SELinux denies link() syscall with EACCES 2016-05-19 11:11:46 +09:00
fcatomic.h Update mingw32 MemoryBarrier from HarfBuzz 2014-07-11 12:20:24 -04:00
fccache.c FcCacheFindByStat(): fix checking of nanoseconds field. 2018-07-10 12:27:16 +09:00
fccfg.c Return canonicalized paths from FcConfigRealFilename 2018-07-16 18:00:35 +02:00
fccharset.c Fix undefined-behavior signed shifts 2018-01-09 11:03:31 +01:00
fccompat.c Add FcReadLink to wrap up readlink impl. 2018-01-04 20:39:14 +09:00
fcdbg.c Bug 43367 - RFE: iterator to peek objects in FcPattern 2018-05-11 20:48:30 +09:00
fcdefault.c Bug 43367 - RFE: iterator to peek objects in FcPattern 2018-05-11 20:48:30 +09:00
fcdeprecate.h Export FcConfig{G,S}etRescanInverval from .so, mark as deprecated. 2007-11-04 12:20:45 -08:00
fcdir.c Remove .uuid when no font files exists on a directory 2018-06-11 17:03:46 +09:00
fcformat.c Bug 43367 - RFE: iterator to peek objects in FcPattern 2018-05-11 20:48:30 +09:00
fcfreetype.c Use FT_HAS_COLOR 2018-07-16 17:59:54 +02:00
fcfs.c Improve the performance issue on rescanning directories 2013-12-20 11:57:16 +09:00
fcftint.h Remove all training whitespaces 2010-04-12 12:19:05 -04:00
fchash.c Remove .uuid when no font files exists on a directory 2018-06-11 17:03:46 +09:00
fcinit.c Ensure the user config dir is available in the list of config dirs on the fallback config 2018-02-05 13:31:00 +09:00
fcint.h Return canonicalized paths from FcConfigRealFilename 2018-07-16 18:00:35 +02:00
fclang.c Fix undefined-shift UBSAN errors 2018-04-16 15:23:20 +02:00
fclist.c Cache: Rewrite relocated paths in earlier 2018-05-25 14:42:52 +09:00
fcmatch.c Cache: Rewrite relocated paths in earlier 2018-05-25 14:42:52 +09:00
fcmatrix.c Remove memory accounting and reporting 2012-12-29 23:12:07 -05:00
fcmutex.h Fix build and warnings on win32 2013-01-02 17:35:56 -06:00
fcname.c Add the value of the constant name to the implicit object in the pattern 2018-03-14 18:32:30 +09:00
fcobjs.c Fix the build issue with gperf 3.1 2017-02-23 21:39:10 +09:00
fcobjs.h Add separate match compare function for size 2017-09-20 13:13:35 -07:00
fcobjshash.gperf.h Add missing license headers 2014-01-17 13:05:25 +09:00
fcpat.c Cache: Rewrite relocated paths in earlier 2018-05-25 14:42:52 +09:00
fcptrlist.c Add the ruleset description support 2017-11-07 15:24:54 +09:00
fcrange.c Fix range comparision operators implementation 2017-09-20 13:13:35 -07:00
fcserialize.c Fix more warnings 2012-12-29 22:56:14 -05:00
fcstat.c Fix the build issue on GNU/Hurd 2017-03-01 19:48:38 +09:00
fcstr.c Return canonicalized paths from FcConfigRealFilename 2018-07-16 18:00:35 +02:00
fcweight.c Remove hack for OS/2 weights 1..9 2018-01-04 15:22:06 +00:00
fcwindows.h More mingw32 MemoryBarrier() fixup 2014-07-19 16:33:49 -04:00
fcxml.c Fix double-free 2018-05-25 15:20:10 +09:00
ftglue.c Fix more warnings 2012-12-29 22:56:14 -05:00
ftglue.h Fix undefined-behavior signed shifts 2018-01-09 11:03:31 +01:00
makealias Allow overriding symbol visibility. 2018-01-04 15:24:16 +00:00