Package Details: fontconfig-ubuntu 2.13.0-2

Git Clone URL: https://aur.archlinux.org/fontconfig-ubuntu.git (read-only)
Package Base: fontconfig-ubuntu
Description: A library for configuring and customizing font access (with Ubuntu patches)
Upstream URL: https://launchpad.net/ubuntu/+source/fontconfig
Licenses: custom
Conflicts: fontconfig
Provides: fontconfig=2.13.0
Submitter: wonder
Maintainer: dbermond
Last Packager: dbermond
Votes: 359
Popularity: 0.209102
First Submitted: 2008-07-28 18:25
Last Updated: 2018-11-19 16:42

Required by (1000)

Sources (4)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

seenxu commented on 2017-03-13 14:34

found solution, this is due to glibc-2.25 update
https://github.com/voidlinux/void-packages/issues/5693

patch file:
Index: fontconfig-2.11.94/fontconfig/fontconfig.h
===================================================================
--- fontconfig-2.11.94/fontconfig/fontconfig.h
+++ fontconfig-2.11.94/fontconfig/fontconfig.h
@@ -128,7 +128,8 @@ typedef int FcBool;
#define FC_USER_CACHE_FILE ".fonts.cache-" FC_CACHE_VERSION

/* Adjust outline rasterizer */
-#define FC_CHAR_WIDTH "charwidth" /* Int */
+#define FC_CHARWIDTH "charwidth" /* Int */
+#define FC_CHAR_WIDTH FC_CHARWIDTH
#define FC_CHAR_HEIGHT "charheight"/* Int */
#define FC_MATRIX "matrix" /* FcMatrix */

Index: fontconfig-2.11.94/src/fcobjs.h
===================================================================
--- fontconfig-2.11.94/src/fcobjs.h
+++ fontconfig-2.11.94/src/fcobjs.h
@@ -51,7 +51,7 @@ FC_OBJECT (DPI, FcTypeDouble, NULL)
FC_OBJECT (RGBA, FcTypeInteger, NULL)
FC_OBJECT (SCALE, FcTypeDouble, NULL)
FC_OBJECT (MINSPACE, FcTypeBool, NULL)
-FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL)
+FC_OBJECT (CHARWIDTH, FcTypeInteger, NULL)
FC_OBJECT (CHAR_HEIGHT, FcTypeInteger, NULL)
FC_OBJECT (MATRIX, FcTypeMatrix, NULL)
FC_OBJECT (CHARSET, FcTypeCharSet, FcCompareCharSet)
Index: fontconfig-2.11.94/src/fcobjshash.gperf
===================================================================
--- fontconfig-2.11.94/src/fcobjshash.gperf
+++ fontconfig-2.11.94/src/fcobjshash.gperf
@@ -44,7 +44,7 @@ int id;
"rgba",FC_RGBA_OBJECT
"scale",FC_SCALE_OBJECT
"minspace",FC_MINSPACE_OBJECT
-"charwidth",FC_CHAR_WIDTH_OBJECT
+"charwidth",FC_CHARWIDTH_OBJECT
"charheight",FC_CHAR_HEIGHT_OBJECT
"matrix",FC_MATRIX_OBJECT
"charset",FC_CHARSET_OBJECT
Index: fontconfig-2.11.94/src/fcobjshash.h
===================================================================
--- fontconfig-2.11.94/src/fcobjshash.h
+++ fontconfig-2.11.94/src/fcobjshash.h
@@ -284,7 +284,7 @@ FcObjectTypeLookup (register const char
{(int)(long)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str43,FC_CHARSET_OBJECT},
{-1},
#line 47 "fcobjshash.gperf"
- {(int)(long)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str45,FC_CHAR_WIDTH_OBJECT},
+ {(int)(long)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str45,FC_CHARWIDTH_OBJECT},
#line 48 "fcobjshash.gperf"
{(int)(long)&((struct FcObjectTypeNamePool_t *)0)->FcObjectTypeNamePool_str46,FC_CHAR_HEIGHT_OBJECT},
#line 55 "fcobjshash.gperf"

seenxu commented on 2017-03-13 14:12

compilation failed

> CC fcmatch.lo
> fcmatch.c:324:63: error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function)
> #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
> ^
> fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
> FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL)
> ^~~~~~~~~
> fcmatch.c:324:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a function)
> #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
> ^
> fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
> FC_OBJECT (CHAR_WIDTH, FcTypeInteger, NULL)
> ^~~~~~~~~
> make[3]: *** [Makefile:631: fcmatch.lo] Error 1

Det commented on 2017-03-09 21:59

Forget it.

guiodic commented on 2017-03-09 21:38

@det: I'm comparing the rendering with fontconfig-ubuntu + freetype2-ubuntu and with plain freetype2

Det commented on 2017-02-01 07:43

Well. The package was removed, so which versions are you comparing?

guiodic commented on 2017-01-31 23:31

@det: it shouldn't but it does. Maybe they are different patches.

Det commented on 2017-01-14 08:36

Actually that shouldn't be. See here: https://lists.archlinux.org/pipermail/aur-requests/2017-January/015188.html

Det commented on 2017-01-14 08:32

I would figure.

guiodic commented on 2017-01-13 21:19

@Det: when you use fontconfig-ubuntu + freetype2 the font rendering is very different form the standard ubuntu font rendering.

Det commented on 2017-01-08 22:07

okay