Package Details: fontconfig-ubuntu 2.11.94-2

Git Clone URL: https://aur.archlinux.org/fontconfig-ubuntu.git (read-only)
Package Base: fontconfig-ubuntu
Description: Library for configuring and customizing font access - with Ubuntu's patches
Upstream URL: https://launchpad.net/ubuntu/+source/fontconfig
Licenses: custom
Conflicts: fontconfig
Provides: fontconfig=2.11.94
Submitter: wonder
Maintainer: Det
Last Packager: Det
Votes: 357
Popularity: 0.994919
First Submitted: 2008-07-28 18:25
Last Updated: 2017-03-13 15:53

Required by (1000)

Sources (4)

Latest Comments

Det commented on 2017-03-13 16:01

Oh yeah. (∩ ͡° ͜ʖ ͡°)⊃━☆゚.* [̲̅S̲̅U̲̅C̲̅C̲̅E̲̅S̲̅S̲̅!̲̅]

seenxu commented on 2017-03-13 16:00

it works now.

Det commented on 2017-03-13 15:54

Maybe it even works?: https://aur.archlinux.org/cgit/aur.git/commit/?h=fontconfig-ubuntu&id=be4fa10a4381ede531199e513a720a524a4b6bac

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

All comments