platform/upstream/fontconfig.git
7 years agofix build break caused by changing upgrade script name accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170102.152327 accepted/tizen/ivi/20170103.051252 accepted/tizen/mobile/20170103.051008 accepted/tizen/tv/20170103.051126 accepted/tizen/unified/20170309.035549 accepted/tizen/wearable/20170103.051203 submit/tizen/20170102.091821 submit/tizen/20170103.012719 submit/tizen_unified/20170308.100412
Shinwoo Kim [Tue, 6 Dec 2016 05:52:26 +0000 (14:52 +0900)]
fix build break caused by changing upgrade script name

Change-Id: I782c70bf644772fa542a8585c3aa14e1baccb568

7 years agoChange script name following numbering policy
Shinwoo Kim [Mon, 5 Dec 2016 10:59:47 +0000 (19:59 +0900)]
Change script name following numbering policy

Change-Id: I2e9e3061adb55e6973859a62f3068c746a4931b7

7 years agofontconfig: skip creation cache files at the package installation
Youngbok Shin [Tue, 22 Nov 2016 05:17:31 +0000 (14:17 +0900)]
fontconfig: skip creation cache files at the package installation

This patch is made for fixing smack issues for fontconfig system cache.

Change-Id: Ia441d877270d29cbd67ad37e0afbc35af258b178

7 years agoMake system cache folder in the post field of installation
Youngbok Shin [Fri, 18 Nov 2016 08:58:20 +0000 (17:58 +0900)]
Make system cache folder in the post field of installation

Change-Id: I89c268c2f6822cd45d4a71d4ae91c9c541cfeb97

7 years agoApply smack label on system cache 74/98374/1
Youngbok Shin [Mon, 7 Nov 2016 03:51:45 +0000 (12:51 +0900)]
Apply smack label on system cache

Initial smack label of system fontconfig cache is "_".
It can cause smack deny error if there a request to rewrite the cache.

Change-Id: I35f178ac4e07bdbecffcf177441464fc0db3571c

7 years agoApply smack label for /opt/share/fonts path 70/98370/1
Youngbok Shin [Mon, 7 Nov 2016 02:34:47 +0000 (11:34 +0900)]
Apply smack label for /opt/share/fonts path

The path is for downloadable fonts.

Change-Id: If4153c7e37d22afb0992350179d2c1f44cbc571c

8 years agoAdd a font path for download fonts 74/91774/1 accepted/tizen/3.0/common/20161114.110542 accepted/tizen/3.0/ivi/20161028.151312 accepted/tizen/3.0/mobile/20161028.143125 accepted/tizen/3.0/tv/20161028.143509 accepted/tizen/3.0/wearable/20161028.150838 accepted/tizen/common/20161019.145813 accepted/tizen/ivi/20161019.141808 accepted/tizen/mobile/20161019.141607 accepted/tizen/tv/20161019.141646 accepted/tizen/wearable/20161019.141730 submit/tizen/20161019.092255 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
Youngbok Shin [Tue, 11 Oct 2016 09:01:03 +0000 (18:01 +0900)]
Add a font path for download fonts

It allows to access fonts from "/opt/share/fonts".

Change-Id: Ia8519a489f3495451939810b083d4f543db3bd43

8 years agoRemove chown, chmod for fontconfig cache path 83/89283/1 accepted/tizen/3.0/ivi/20161011.044152 accepted/tizen/3.0/mobile/20161015.033202 accepted/tizen/3.0/tv/20161016.004633 accepted/tizen/3.0/wearable/20161015.082806 accepted/tizen/common/20160927.152733 accepted/tizen/ivi/20160927.231040 accepted/tizen/mobile/20160927.230900 accepted/tizen/tv/20160927.230944 accepted/tizen/wearable/20160927.231016 submit/tizen/20160927.065504 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002
Youngbok Shin [Fri, 23 Sep 2016 04:08:54 +0000 (13:08 +0900)]
Remove chown, chmod for fontconfig cache path

It caused side effect on performance of all of applications.

Change-Id: I952ae0491544dda438ddb3e5566a7d01e37f6be6

8 years agoMerge "Revert smack label changes and change owner of fontconfig cache files" into... accepted/tizen/common/20160921.162913 accepted/tizen/ivi/20160922.042141 accepted/tizen/mobile/20160922.042230 accepted/tizen/tv/20160922.042033 accepted/tizen/wearable/20160922.042040 submit/tizen/20160921.091905
Youngbok Shin [Tue, 20 Sep 2016 07:49:12 +0000 (00:49 -0700)]
Merge "Revert smack label changes and change owner of fontconfig cache files" into tizen

8 years agoRevert smack label changes and change owner of fontconfig cache files 45/87745/2
Youngbok Shin [Fri, 9 Sep 2016 08:29:00 +0000 (17:29 +0900)]
Revert smack label changes and change owner of fontconfig cache files

Change-Id: I39d399c1955d465036c1c8bf381d14c06bf1610a

8 years agoAdd a script to upgrade from 2.4 to 3.0 51/87951/2 accepted/tizen/common/20160912.181716 accepted/tizen/ivi/20160920.052144 accepted/tizen/mobile/20160920.052055 accepted/tizen/tv/20160920.052108 accepted/tizen/wearable/20160920.052128 submit/tizen/20160912.091121 submit/tizen/20160920.023107
Shinwoo Kim [Mon, 12 Sep 2016 08:47:18 +0000 (17:47 +0900)]
Add a script to upgrade from 2.4 to 3.0

Change-Id: I62e943ff1d54336f3b249da97b7593889e7a78ed

8 years agoupdate to 2.12.1 accepted/tizen/common/20160825.152124 accepted/tizen/ivi/20160830.235628 accepted/tizen/mobile/20160830.235500 accepted/tizen/tv/20160830.235541 accepted/tizen/wearable/20160830.235551 submit/tizen/20160825.083555 submit/tizen/20160825.120929 submit/tizen/20160826.022749 submit/tizen/20160830.061831
Youngbok Shin [Mon, 22 Aug 2016 06:16:28 +0000 (15:16 +0900)]
update to 2.12.1

8 years agoMerge branch 'upstream' into tizen
Youngbok Shin [Mon, 22 Aug 2016 06:15:55 +0000 (15:15 +0900)]
Merge branch 'upstream' into tizen

8 years agoImported Upstream version 2.12.1 upstream/2.12.1
Youngbok Shin [Mon, 22 Aug 2016 06:14:42 +0000 (15:14 +0900)]
Imported Upstream version 2.12.1

8 years agosmack: Change smack label for cache 86/81086/1
Youngbok Shin [Fri, 22 Jul 2016 03:56:44 +0000 (12:56 +0900)]
smack: Change smack label for cache

It should be accessible for all of processes.

Change-Id: I6693a9a26df964326dd8c8f91a9c62de30f54f78

8 years agoApply "User::App::Shared" smack label to /opt/var/cache/fontconfig 37/70837/1 accepted/tizen/common/20160525.155347 accepted/tizen/ivi/20160524.004722 accepted/tizen/mobile/20160524.004621 accepted/tizen/tv/20160524.004656 accepted/tizen/wearable/20160524.004606 submit/tizen/20160523.040849 submit/tizen/20160523.100314
Youngbok Shin [Mon, 23 May 2016 03:11:02 +0000 (12:11 +0900)]
Apply "User::App::Shared" smack label to /opt/var/cache/fontconfig

The fontconfig cache should be accessible by application.
It fixes an issue from org.tizen.tv-viewer application.

Change-Id: I340e95d977fb5c9817a3c5af6ec20ca2ddd9ef97

8 years agoSkip making fontconfig cache folder for users 63/62063/1 accepted/tizen/common/20160316.155623 accepted/tizen/ivi/20160315.002741 accepted/tizen/mobile/20160315.002648 accepted/tizen/tv/20160315.002706 accepted/tizen/wearable/20160315.002725 submit/tizen/20160314.084709
Youngbok Shin [Mon, 14 Mar 2016 06:25:16 +0000 (15:25 +0900)]
Skip making fontconfig cache folder for users

It was a legacy code from Tizen 2.4

Change-Id: Ia9428025fc10ec147ecca41ffee500f6a381408e

8 years agoApply tizen-platform-config macros 85/61485/1
Youngbok Shin [Tue, 8 Mar 2016 07:57:08 +0000 (16:57 +0900)]
Apply tizen-platform-config macros

Change-Id: I77f4a1383fea4e692044afb3c678f4e2e5890bc7

9 years agoRemove unnecessary .gbs.conf file 90/50890/1 accepted/tizen/ivi/20160218.024747 submit/tizen/20151103.071309 submit/tizen/20151103.102451 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000005
Jaeun Choi [Tue, 3 Nov 2015 08:15:18 +0000 (17:15 +0900)]
Remove unnecessary .gbs.conf file

Change-Id: I0b67f459781dbf76762c9ca45dda9f1fa139d2ee

9 years agoUpdate spec file 79/50879/1
Jaeun Choi [Tue, 3 Nov 2015 07:20:13 +0000 (16:20 +0900)]
Update spec file

Change-Id: I99560bf9cd09aefab77173a0080271f528523bd5

9 years agoMerge branch 'upstream' into tizen 78/50878/1
Jaeun Choi [Wed, 28 Oct 2015 08:21:14 +0000 (17:21 +0900)]
Merge branch 'upstream' into tizen

Change-Id: Ia295154d2b5ff3ad93d213160f5f3f6e3dc7505a

9 years agoImported Upstream version 2.11.93 57/50357/1 upstream/2.11.93
Jaeun Choi [Wed, 28 Oct 2015 06:45:18 +0000 (15:45 +0900)]
Imported Upstream version 2.11.93

Change-Id: I0625d1bfdedbfcb7cbf279d779d33468e0a775b0

9 years agoLabel /var/cache/fontconfig with "System::Shared", transmutable 97/45797/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150813.012231 accepted/tizen/tv/20150813.012238 accepted/tizen/wearable/20150813.012249 submit/tizen/20150812.115136 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Rafal Krypa [Tue, 11 Aug 2015 10:08:09 +0000 (12:08 +0200)]
Label /var/cache/fontconfig with "System::Shared", transmutable

Make sure that all font caches are readable by User domain. Until now
the directory was labaled with "_" and the cache files with either
"_" or "System". Files with the latter label couldn't be accessed by User
domain.

Change-Id: I2c482622ba896cede9e049734d33ac92f03b30a3
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
9 years agopackaging: Bump to version 2.11.1 90/32090/2 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0_ivi accepted/tizen/common/20141223.083531 accepted/tizen/ivi/20141225.103512 accepted/tizen/mobile/20150304.131052 accepted/tizen/tv/20150324.014508 accepted/tizen/wearable/20150129.005759 submit/tizen_common/20141222.094800 submit/tizen_ivi/20141225.222222 submit/tizen_mobile/20150129.000000 submit/tizen_mobile/20150213.000000 submit/tizen_mobile/20150223.000000 submit/tizen_mobile/20150302.000000 submit/tizen_tv/20150320.000001 submit/tizen_wearable/20150127.000001 submit/tizen_wearable/20150128.000000 tizen_3.0_ivi_release
Kévin THIERRY [Fri, 7 Nov 2014 13:22:50 +0000 (14:22 +0100)]
packaging: Bump to version 2.11.1

Use upstream git repo instead of pristine-tar.

Change-Id: I777ede3a2d2527dbc478a54a0813806abd1cbdae
Bug-Tizen: TC-1818
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Fri, 28 Jun 2013 22:03:14 +0000 (01:03 +0300)]
resetting manifest requested domain to floor

9 years agoFixed package groups
Anas Nashif [Tue, 19 Mar 2013 12:22:02 +0000 (05:22 -0700)]
Fixed package groups

9 years agoUpdate to 2.10.91
Anas Nashif [Tue, 29 Jan 2013 15:19:04 +0000 (07:19 -0800)]
Update to 2.10.91

9 years agoUpdate to 2.10.91
Anas Nashif [Tue, 29 Jan 2013 15:14:11 +0000 (07:14 -0800)]
Update to 2.10.91

9 years agoUpdate to 2.10.2
Anas Nashif [Tue, 29 Jan 2013 15:10:29 +0000 (07:10 -0800)]
Update to 2.10.2

9 years agofixed files
Anas Nashif [Sat, 10 Nov 2012 06:13:25 +0000 (22:13 -0800)]
fixed files

9 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 03:00:25 +0000 (19:00 -0800)]
add packaging

9 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 02:58:51 +0000 (18:58 -0800)]
add packaging

10 years agoBump version to 2.11.1 2.11.1
Akira TAGOH [Mon, 24 Mar 2014 06:03:12 +0000 (15:03 +0900)]
Bump version to 2.11.1

10 years agoFix autoconf warning, warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTE...
Akira TAGOH [Mon, 24 Mar 2014 06:02:26 +0000 (15:02 +0900)]
Fix autoconf warning, warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS

Call AC_USE_SYSTEM_EXTENSIONS before LT_INIT

10 years agoAdd README describes the criteria to add/modify the orthography files
Akira TAGOH [Tue, 18 Mar 2014 03:14:03 +0000 (12:14 +0900)]
Add README describes the criteria to add/modify the orthography files

https://bugs.freedesktop.org/show_bug.cgi?id=73461

10 years agoBug 73291 - poppler does not show fl ligature
Akira TAGOH [Tue, 18 Mar 2014 02:51:37 +0000 (11:51 +0900)]
Bug 73291 - poppler does not show fl ligature

commented out substitutions for TeX Gyre Termes font
until the broken font are fixed.

https://bugs.freedesktop.org/show_bug.cgi?id=73291

10 years agoUpdate doc to include the version info of `since when'
Akira TAGOH [Fri, 7 Mar 2014 10:42:21 +0000 (19:42 +0900)]
Update doc to include the version info of `since when'

Version section was getting confused to the API's availability,
 even though it was the version the doc was genereated.
So moving it into the footer and added @SINCE@ field in the data.

10 years agoFallback to lstat() in case the filesystem doesn't support d_type in struct dirent
Akira TAGOH [Wed, 5 Mar 2014 09:29:29 +0000 (18:29 +0900)]
Fallback to lstat() in case the filesystem doesn't support d_type in struct dirent

10 years agoFix incompatible API on AIX with random_r and initstate_r
Akira TAGOH [Thu, 6 Feb 2014 10:40:01 +0000 (19:40 +0900)]
Fix incompatible API on AIX with random_r and initstate_r

https://bugs.freedesktop.org/show_bug.cgi?id=74603

10 years agoAdd missing #include <sys/statvfs.h> in fcstat.c
Akira TAGOH [Thu, 6 Feb 2014 08:29:19 +0000 (17:29 +0900)]
Add missing #include <sys/statvfs.h> in fcstat.c

https://bugs.freedesktop.org/show_bug.cgi?id=74602

10 years agoAdd a doc for FcDirCacheRescan
Akira TAGOH [Thu, 6 Feb 2014 08:15:26 +0000 (17:15 +0900)]
Add a doc for FcDirCacheRescan

10 years agoFix a crash issue when empty strings are set to the BDF properties
Akira TAGOH [Fri, 31 Jan 2014 02:10:02 +0000 (11:10 +0900)]
Fix a crash issue when empty strings are set to the BDF properties

10 years agoUpdate the use of autotools' macro
Akira TAGOH [Wed, 22 Jan 2014 10:35:07 +0000 (19:35 +0900)]
Update the use of autotools' macro

10 years agoAdd missing license headers
Akira TAGOH [Fri, 17 Jan 2014 04:05:25 +0000 (13:05 +0900)]
Add missing license headers

https://bugs.freedesktop.org/show_bug.cgi?id=73401

10 years agoclean up the unused files
Akira TAGOH [Fri, 17 Jan 2014 03:57:56 +0000 (12:57 +0900)]
clean up the unused files

10 years agoUpdate zh_hk.orth
Akira TAGOH [Fri, 17 Jan 2014 03:24:02 +0000 (12:24 +0900)]
Update zh_hk.orth

Patch from Abel Cheung

https://bugs.freedesktop.org/show_bug.cgi?id=73461

10 years agoBug 73686 - confdir is not set correctly in fontconfig.pc
Akira TAGOH [Thu, 16 Jan 2014 10:30:35 +0000 (19:30 +0900)]
Bug 73686 - confdir is not set correctly in fontconfig.pc

10 years agoImprove the performance issue on rescanning directories
Akira TAGOH [Thu, 5 Dec 2013 10:15:47 +0000 (19:15 +0900)]
Improve the performance issue on rescanning directories

10 years agoFix a build issue on platforms where doesn't support readlink()
Akira TAGOH [Mon, 16 Dec 2013 08:44:37 +0000 (17:44 +0900)]
Fix a build issue on platforms where doesn't support readlink()

10 years agoFix a typo
Akira TAGOH [Mon, 16 Dec 2013 07:00:12 +0000 (16:00 +0900)]
Fix a typo

10 years agoBug 72380 - Never drop first font when trimming
Behdad Esfahbod [Tue, 10 Dec 2013 02:21:57 +0000 (21:21 -0500)]
Bug 72380 - Never drop first font when trimming

Let me show it with an example.

Currently:

$ fc-match symbol
symbol.ttf: "Symbol" "Regular"

$ fc-match symbol --sort | head -n 1
Symbol.pfb: "Symbol" "Regular"

$ fc-match symbol --sort --all | head -n 1
symbol.ttf: "Symbol" "Regular"

I want to make sure the above three commands all return the same font.
Ie.  I want to make sure FcFontMatch() always returns the first font
from FcFontSort().  As such, never trim first font.

10 years agoDefaulting <cachedir> to LOCAL_APPDATA_FONTCONFIG_CACHE for Win32 build
Jehan [Sun, 17 Nov 2013 09:38:28 +0000 (22:38 +1300)]
Defaulting <cachedir> to LOCAL_APPDATA_FONTCONFIG_CACHE for Win32 build

https://bugs.freedesktop.org/show_bug.cgi?id=71691

10 years agoAdd metric aliases for additional Google ChromeOS fonts
Frederic Crozat [Fri, 6 Dec 2013 13:23:52 +0000 (14:23 +0100)]
Add metric aliases for additional Google ChromeOS fonts

MS fonts Cambria, Symbol and Calibri have compat metrics fonts
from ChromeOS.

https://bugs.freedesktop.org/show_bug.cgi?id=72395

10 years agoFix inversion between Tinos and Cousine in the comment
Frederic Crozat [Fri, 6 Dec 2013 13:08:08 +0000 (14:08 +0100)]
Fix inversion between Tinos and Cousine in the comment

10 years agoSimplify to validate the availability of scandir
Akira TAGOH [Mon, 2 Dec 2013 10:18:25 +0000 (19:18 +0900)]
Simplify to validate the availability of scandir

10 years agoSimplify to validate the availability of posix_fadvise
Akira TAGOH [Mon, 2 Dec 2013 09:43:10 +0000 (18:43 +0900)]
Simplify to validate the availability of posix_fadvise

10 years agoBug 72086 - Check for gperf in autogen.sh
Akira TAGOH [Mon, 2 Dec 2013 06:53:57 +0000 (15:53 +0900)]
Bug 72086 - Check for gperf in autogen.sh

10 years agofc-cache: --sysroot option takes an argument
Ross Burton [Tue, 26 Nov 2013 17:18:25 +0000 (17:18 +0000)]
fc-cache: --sysroot option takes an argument

The getopt_long option definitions say that sysroot doesn't take an argument,
when it in fact does.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoFix typo
Akira TAGOH [Mon, 11 Nov 2013 02:53:09 +0000 (11:53 +0900)]
Fix typo

Use FcTypeUnknown instead of -1 with type casting.
This seems missed when it was changed.

Patch from brian porter

11 years agoRe-scan font directories only when it contains subdirs
Akira TAGOH [Tue, 5 Nov 2013 11:30:35 +0000 (20:30 +0900)]
Re-scan font directories only when it contains subdirs

Somewhat improves the performance but still need to think about for the situation
where both directories and fonts are in.

11 years agoAvoid null pointer dereference in FcNameParse if malloc fails
Alan Coopersmith [Sat, 2 Nov 2013 17:23:57 +0000 (10:23 -0700)]
Avoid null pointer dereference in FcNameParse if malloc fails

Reported by parfait 1.3:
Error: Null pointer dereference (CWE 476)
   Read from null pointer t
        at line 423 of src/fcname.c in function 'FcNameParse'.
          Function _FcObjectLookupOtherTypeByName may return constant 'NULL'
           at line 63, called at line 122 of src/fcobjs.c in function
           'FcObjectLookupOtherTypeByName'.
          Function FcObjectLookupOtherTypeByName may return constant 'NULL'
           at line 122, called at line 67 of src/fcname.c in function
           'FcNameGetObjectType'.
          Function FcNameGetObjectType may return constant 'NULL' at line 67,
           called at line 422 in function 'FcNameParse'.
          Null pointer introduced at line 63 of src/fcobjs.c in function
           '_FcObjectLookupOtherTypeByName'.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11 years agoAvoid memory leak when NULL path passed to FcStrBuildFilename
Alan Coopersmith [Sat, 2 Nov 2013 17:23:56 +0000 (10:23 -0700)]
Avoid memory leak when NULL path passed to FcStrBuildFilename

Reported by parfait 1.3:
   Memory leak of pointer sset allocated with FcStrSetCreate()
        at line 933 of src/fcstr.c in function 'FcStrBuildFilename'.
          sset allocated at line 927 with FcStrSetCreate().
          sset leaks when sset != NULL at line 932.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11 years agoLeave room for null terminators in arrays
Alan Coopersmith [Sat, 2 Nov 2013 17:23:55 +0000 (10:23 -0700)]
Leave room for null terminators in arrays

Code currently returns a fatal error if it tries to add more entries
than the array has room for, but it wasn't checking to make sure
the final null terminator entry would fit.

Reported by parfait 1.3:
Error: Buffer overrun
   Buffer overflow (CWE 120): In array dereference of files[i] with index i
      Array size is 256 elements (of 4 bytes each), index >= 0 and index <= 256
        at line 250 of fc-glyphname/fc-glyphname.c in function 'main'.
Error: Buffer overrun
   Buffer overflow (CWE 120): In array dereference of entries[i] with index i
      Array size is 1024 elements (of 8 bytes each), index >= 0 and index <= 1024
        at line 298 of fc-lang/fc-lang.c in function 'main'.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11 years agoCorrect DTD
Akira TAGOH [Thu, 31 Oct 2013 13:12:26 +0000 (22:12 +0900)]
Correct DTD

11 years agoWarn if no <test> nor <edit> elements in <match>
Akira TAGOH [Thu, 24 Jan 2013 10:48:48 +0000 (19:48 +0900)]
Warn if no <test> nor <edit> elements in <match>

This corrects an error message being reported at
  https://bugs.freedesktop.org/show_bug.cgi?id=71085
  Bug 71085 - "out of memory" errors on empty match element in fonts.conf

and somewhat works as a workaround for
  https://bugs.freedesktop.org/show_bug.cgi?id=59438
  Bug 59438 - Fix <alias> inside <match>

11 years agoChange the default weight on match to FC_WEIGHT_NORMAL
Akira TAGOH [Mon, 28 Oct 2013 02:54:04 +0000 (11:54 +0900)]
Change the default weight on match to FC_WEIGHT_NORMAL

11 years agoFix a build issue on Solaris 10
Akira TAGOH [Thu, 24 Oct 2013 10:35:26 +0000 (19:35 +0900)]
Fix a build issue on Solaris 10

Use own mkdtemp implementation if not available.

Reported by Thomas Klausner and Jörn Clausen

11 years agoUse stat() if there are no d_type in struct dirent
Akira TAGOH [Tue, 22 Oct 2013 06:00:29 +0000 (15:00 +0900)]
Use stat() if there are no d_type in struct dirent

Reported by Thomas Klausner

11 years agoFix the dynamic loading issue on NetBSD
Akira TAGOH [Mon, 21 Oct 2013 03:16:46 +0000 (12:16 +0900)]
Fix the dynamic loading issue on NetBSD

On NetBSD, it is not supported to load a library linked against
libpthread into a program that wasn't (since the C library provides
stubs for some pthread-functions, which might have already been called
before libpthread is loaded, leading to problems).

Patch from Matthias Drochner

11 years agoUpdate ax_pthread.m4 to the latest version
Akira TAGOH [Mon, 21 Oct 2013 03:13:31 +0000 (12:13 +0900)]
Update ax_pthread.m4 to the latest version

11 years agoFix build issue on Debian/kFreeBSD 7.0
Akira TAGOH [Mon, 21 Oct 2013 02:50:55 +0000 (11:50 +0900)]
Fix build issue on Debian/kFreeBSD 7.0

There are posix_fadvise(2) but not POSIX_FADV_WILLNEED.
Patch from Ryo ONODERA.

11 years agodo not build test-migration for Win32
Akira TAGOH [Fri, 11 Oct 2013 10:31:22 +0000 (19:31 +0900)]
do not build test-migration for Win32

This testing code is for XDG base directory spec which may be not interesting for them

11 years agoBump version to 2.11.0 2.11.0
Akira TAGOH [Fri, 11 Oct 2013 04:27:33 +0000 (13:27 +0900)]
Bump version to 2.11.0

11 years agoUpdate CaseFolding.txt to Unicode 6.3
Akira TAGOH [Fri, 11 Oct 2013 04:27:24 +0000 (13:27 +0900)]
Update CaseFolding.txt to Unicode 6.3

No real updates between 6.2 and 6.3.

11 years agoBump libtool revision
Akira TAGOH [Fri, 11 Oct 2013 03:40:23 +0000 (12:40 +0900)]
Bump libtool revision

11 years agoAdd missing doc for FcStrListFirst and fix a typo
Akira TAGOH [Wed, 9 Oct 2013 03:19:35 +0000 (12:19 +0900)]
Add missing doc for FcStrListFirst and fix a typo

11 years agoexit with the error code when FcNameParse() failed
Akira TAGOH [Thu, 3 Oct 2013 10:59:30 +0000 (19:59 +0900)]
exit with the error code when FcNameParse() failed

11 years agoWorkaround the race condition issue on updating cache
Akira TAGOH [Wed, 2 Oct 2013 07:34:34 +0000 (16:34 +0900)]
Workaround the race condition issue on updating cache

11 years agoAdd the relative path for <include> to fonts.conf if the parent path is same to fonts...
Akira TAGOH [Mon, 30 Sep 2013 02:30:00 +0000 (11:30 +0900)]
Add the relative path for <include> to fonts.conf if the parent path is same to fonts.conf

Bug 69836 - fonts.conf.in update for Windows cross-compiling

11 years agoclean up
Akira TAGOH [Thu, 26 Sep 2013 09:44:10 +0000 (18:44 +0900)]
clean up

11 years agoavoid reading config.h twice
Akira TAGOH [Thu, 26 Sep 2013 08:46:26 +0000 (17:46 +0900)]
avoid reading config.h twice

config.h is read from fcint.h now so having a line of the sort of #include "config.h"
is duplicate.

Bug 69833 - Incorrect SIZEOF_VOID_P and ALIGNOF_DOUBLE definitions causes nasty warnings on MacOSX when building fat libraries

11 years agoAdd the description of -q option to the man page
Akira TAGOH [Wed, 25 Sep 2013 02:41:23 +0000 (11:41 +0900)]
Add the description of -q option to the man page

11 years agodoc/fccharset.fncs: Describe the map format in more detail
W. Trevor King [Sun, 22 Sep 2013 00:06:50 +0000 (17:06 -0700)]
doc/fccharset.fncs: Describe the map format in more detail

The previous documentation for FcCharSetFirstPage and
FcCharSetNextPage was technically accurate, but a bit terse.  I've
added an example using the returned page (root code point) and map to
give folks something concrete to work with.  I've also documented
FC_CHARSET_DONE, which wasn't mentioned at all before.

11 years agoFix a crash when FcPattern is set to null on FcFontSetList() and FcFontList()
Akira TAGOH [Tue, 24 Sep 2013 02:14:57 +0000 (11:14 +0900)]
Fix a crash when FcPattern is set to null on FcFontSetList() and FcFontList()

11 years agoFurther changes to 30-metric-aliases.conf
Jan Alexander Steffens (heftig) [Sat, 14 Sep 2013 00:25:26 +0000 (02:25 +0200)]
Further changes to 30-metric-aliases.conf

Big changes:
* Handle more PostScript fonts (further reduce 30-urw-aliases.conf)
* Update the big comment

Specific->Generic:
* Add missing maps, for symmetry

Generic<->Generic:
* Add "Helvetica Condensed" <-> "Arial Narrow" map

Generic->Specific:
* Add missing Courier -> Cursor alias
* Add "Helvetica Condensed" -> "Heros Cn" alias
* Remove Arial -> Heros and "Times New Roman" -> Termes maps

11 years agoCopy all values from the font to the pattern if the pattern doesn't have the element
Akira TAGOH [Wed, 18 Sep 2013 08:31:10 +0000 (17:31 +0900)]
Copy all values from the font to the pattern if the pattern doesn't have the element

11 years agoBug 68955 - Deprecate / remove FC_RASTERIZER
Akira TAGOH [Tue, 10 Sep 2013 08:45:11 +0000 (17:45 +0900)]
Bug 68955 - Deprecate / remove FC_RASTERIZER

11 years agoFix memory leaks in FcFreeTypeQueryFace
Akira TAGOH [Mon, 9 Sep 2013 10:59:31 +0000 (19:59 +0900)]
Fix memory leaks in FcFreeTypeQueryFace

11 years agoAdd a test case of the migration for config place
Akira TAGOH [Mon, 2 Sep 2013 11:52:20 +0000 (20:52 +0900)]
Add a test case of the migration for config place

11 years agoDo not create a config dir for migration when no config files nor dirs
Akira TAGOH [Mon, 2 Sep 2013 11:51:46 +0000 (20:51 +0900)]
Do not create a config dir for migration when no config files nor dirs

11 years agoBump version to 2.10.95 2.10.95
Akira TAGOH [Sat, 31 Aug 2013 01:50:07 +0000 (10:50 +0900)]
Bump version to 2.10.95

11 years agoFix a crash
Akira TAGOH [Sat, 31 Aug 2013 01:43:13 +0000 (10:43 +0900)]
Fix a crash

11 years agoFix a typo
Akira TAGOH [Thu, 29 Aug 2013 11:53:58 +0000 (20:53 +0900)]
Fix a typo

11 years agoBump version to 2.10.94 2.10.94
Akira TAGOH [Thu, 29 Aug 2013 08:38:29 +0000 (17:38 +0900)]
Bump version to 2.10.94

11 years agoAdd quz.orth to Makefile.am
Akira TAGOH [Thu, 29 Aug 2013 08:12:45 +0000 (17:12 +0900)]
Add quz.orth to Makefile.am

11 years agoBug 68587 - copy qu.orth to quz.orth
Akira TAGOH [Tue, 27 Aug 2013 03:28:52 +0000 (12:28 +0900)]
Bug 68587 - copy qu.orth to quz.orth

11 years agoFix a wrong edit position when 'kind' is different
Akira TAGOH [Mon, 26 Aug 2013 03:47:07 +0000 (12:47 +0900)]
Fix a wrong edit position when 'kind' is different

11 years agoFix a crash when non-builtin objects are edited
Akira TAGOH [Fri, 23 Aug 2013 11:42:37 +0000 (20:42 +0900)]
Fix a crash when non-builtin objects are edited

11 years agoFix a typo
Akira TAGOH [Fri, 23 Aug 2013 10:58:43 +0000 (19:58 +0900)]
Fix a typo

11 years agoFix assertion
Behdad Esfahbod [Wed, 21 Aug 2013 18:31:55 +0000 (14:31 -0400)]
Fix assertion

Apparently some AIX versions have 64bit pointers yet 32bit double
alignment.  Fix assertion.