Bug 52

Summary: configure script find wrong FONTPATH
Product: fontconfig Reporter: Choe Hwanjin <hjchoe>
Component: libraryAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: 2.1   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Choe Hwanjin 2003-03-23 20:31:09 UTC
I'm using fontconfig-2.1.92. 
Configure script find wrong FONTPATH. It adds font dir which has font file named gothic.pcf.gz. 
I think it need a patch below: 
 
--- fontconfig-2.1.92/configure.in.orig 2003-03-24 12:07:18.000000000 +0900 
+++ fontconfig-2.1.92/configure.in      2003-03-24 12:07:39.000000000 +0900 
@@ -229,7 +229,7 @@ 
                x) 
                        if test -d "$dir/fonts"; then 
                                for sub in "$dir"/fonts/*; do 
-                                       if ls "$sub" | grep -q -i '\.pf\|\.tt\|.ot'; then 
+                                       if ls "$sub" | grep -q -i '\.pf\|\.tt\|\.ot'; then 
                                                case x$FC_ADD_FONTS in 
                                                x) 
                                                        FC_ADD_FONTS="$sub"
Comment 1 Keith Packard 2003-03-31 08:58:16 UTC
This patch is in CVS.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.