From fontconfig@fontconfig.org  Sun Feb  2 20:12:24 2003
From: fontconfig@fontconfig.org (Alan Chandler)
Date: Sun, 2 Feb 2003 20:12:24 +0000
Subject: [Fontconfig] Strange behaviour with fixed pitch
In-Reply-To: <200301261652.00798.alan@chandlerfamily.org.uk>
References: <200301261652.00798.alan@chandlerfamily.org.uk>
Message-ID: <200302022012.28159.alan@chandlerfamily.org.uk>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 26 Jan 2003 4:51 pm, Alan Chandler wrote:
> I am not sure that I have found the right place to ask this question.
>
> A few weeks ago, I installed fontconfig (Debian Unstable), with (I assume=
 -
> and thats why I am not sure I am at the right place) libxft2.
>
> Since then, I have had a strange problem in kde (konsole) with the console
> font that it provides (see http://bugs.kde.org/show_bug.cgi?id=3D52538 )

Nobody replied to this posting so I STILL don't know if I am at the right=20
place.


>
> I have been trying to debug the problem over the last couple of weeks and
> have narrowed it down to the fact that using QT - if I toggle the
> FixedPitch property of the font that a piece of text is displayed in the
> text display displays normally when the Fixed Pitch attribute is off and
> seems to have a double width spacing when the Fixed Pitch attribute is on.
>
> With a small application doing just that - I have been running a debugger
> into the qt code to find why it changes the character spacing. =20

The font family is Helvetica

OK - I now can see exactly what is happening.  QT looks for a font that=20
matches the characteristics - it is finding a match from Xft both for non=20
=46ixed Pitch (XFT_PROPORTIONAL) and Fixed Pitch (XFT_MONO or XFT_CHARCELL)=
=20
dependent of whether its own fixedPitch flag has been set by the applicatio=
n.



> Its
> difficult to be sure but I am almost convinced that when it calls the xft
> library to render the text it does not know that it will be rendered at
> this double width.

I am wrong here - and this is the crux of the problem.  Individual characte=
r=20
widths are found by calling XftTextExtent16.  When Helvetica font (default)=
=20
is found which is XFT_PROPORTIONAL - the individual character widths vary=20
from 4 pixels wide for a space to 9 pixels wide for a 'm'.  When the same=20
font is found which has a type of XFT_MONO or XFT_CHARCELL then every=20
character has a width of 12 pixels.  This distorts the font and makes it lo=
ok=20
stretched out, with a large gap between each character.

I repeated the test with the "Console" font - which was the subject of my=20
original bug report and is supposidely a fixed pitch font naturally, at it =
is=20
returning (for point size 12) character widths of 26 pixels.

I don't know if this is considered a bug, or where to report it to.


=2D --=20
Alan Chandler
alan@chandlerfamily.org.uk
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+PXusuFHxcV2FFoIRAnBAAJ9GAYdeNOswudBFh0ki2KMjng7UvwCfWe3N
EBayNLqDZPHhbEXuG3tsgPk=3D
=3Dne+u
=2D----END PGP SIGNATURE-----



From fontconfig@fontconfig.org  Sun Feb  2 17:48:10 2003
From: fontconfig@fontconfig.org (Dan Egnor)
Date: Sun, 2 Feb 2003 12:48:10 -0500
Subject: [Fontconfig] Re: How Do I anti-alias text only larger than a certain pixel?
Message-ID: <20030202174810.GT24445@ofb.net>

Put the following in ~/.fonts.conf (for yourself) or /etc/fonts/local.conf
(for the whole system):

--- cut here ---
<fontconfig>
    <match target="pattern">
        <test qual="any" name="size" compare="less_eq"><int>12</int></test>
        <edit name="antialias" mode="assign"><bool>false</bool></edit>
    </match>
</fontconfig>
--- cut here ---

If you already have such a file, cut out just the <match>...</match>
part and put it between the existing <fontconfig> tags (obviously).

Change the number 12 to suit your taste.  In general fontconfig has 
a (perhaps too) sophisticated system for tweaking the fonts applications
use based on all sorts of rules and calculations.  See "man fontconfig" 
for the full guts; search for the "CONFIGURATION FILE FORMAT" section.

Note there isn't a lot of "user level" documentation; it's all pretty
developer oriented at the moment.  I tried to add this answer to the FAQ 
on the Wiki but I can't get it to accept my login.  

Maybe something like this should be the default, since freetype's 
antialiased rendering really sucks at small pixel sizes?

Dan


From fontconfig@fontconfig.org  Mon Feb  3 06:16:00 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Mon, 03 Feb 2003 01:16:00 -0500
Subject: [Fontconfig] fontconfig, gnome, expat, libxml2
In-Reply-To: Your message of "Fri, 31 Jan 2003 15:52:17 +0100."
 <3E3A8DA1.6050802@imn.htwk-leipzig.de>
Message-ID: <E18fZtg-0000Ii-00@localhost>

Around 15 o'clock on Jan 31, Stefan Kost wrote:

> I don't know how much work it would be using libxml2 instead of expat.

Daniel said it would be easy, but I tried for a couple of hours and 
finally gave up.  Patches that permitted fontconfig to build against 
either XML library would be most welcome.  One hard thing is to make sure 
the overall parsing code wasn't duplicated so that future changes in the 
config file semantics or syntax wouldn't have to be replicated in two 
copies of the code.

Keith Packard        Cambridge Research Lab	Hewlett Packard




From fontconfig@fontconfig.org  Mon Feb  3 06:44:07 2003
From: fontconfig@fontconfig.org (Stefan Baums)
Date: Sun, 2 Feb 2003 22:44:07 -0800
Subject: [Fontconfig] Font priorities
Message-ID: <20030203064407.GB4850@deepthought>

Dear list,

I am using fontconfig 2.1 with pango 1.2.0 and GTK+ 2.2.0.  In my
~/.fonts directory, I installed the Devanagari OpenType font
"Raghindi" (raghu.ttf), and it is duly found by fontconfig, as
evidenced by its appearance in the font selection dialogues of GTK+ 2
applications.

However, when rendering text with the GTK+ default fontset ("Sans"),
such as in file selection dialogues, fontconfig/pango/GTK+ insist on
using the ClearlyU bitmap font for Devanagari instead of Raghindi.
ClearlyU contains some Devanagari glyphs, but obviously lacks all
GSUB/GPOS information, and is consequently completely unsuitable for
the rendering of Devanagari text: all consonant conjuncts and
consonant vowel combinations fail to be properly combined.

How can fontconfig be configured to return a Devanagari font that is
of actual use to the font renderer (Pango)?

In general, would it not make sense to teach fontconfig not to return
fonts in formats that are unsuitable for the script to be rendered
(i.e., return if available only OpenType fonts for Indian scripts,
etc.)?

Best regards,
Stefan

-- 
Stefan Baums
Asian Languages and Literature
University of Washington


From fontconfig@fontconfig.org  Wed Feb  5 20:25:10 2003
From: fontconfig@fontconfig.org (Tor Lillqvist)
Date: 05 Feb 2003 20:25:10 +0000
Subject: [Fontconfig] Win32 port of fontconfig?
In-Reply-To: <3E2570B5.4020502@apocalypse.org>
Message-ID: <uisvyo4pl.fsf@iki.fi>

Antony Courtney wrote some time ago:
> Has anyone ported Fontconfig to Win32?  Are there any plans or projects 
> looking into this?

I am working on it right now. You can expect a suggested patch in some
hours.

--tml




From fontconfig@fontconfig.org  Wed Feb  5 22:16:57 2003
From: fontconfig@fontconfig.org (Tor Lillqvist)
Date: Wed, 5 Feb 2003 22:16:57 +0000
Subject: [Fontconfig] Win32 port of fontconfig?
In-Reply-To: <uisvyo4pl.fsf@iki.fi>
References: <3E2570B5.4020502@apocalypse.org>
 <uisvyo4pl.fsf@iki.fi>
Message-ID: <15937.36185.631000.976968@gargle.gargle.HOWL>

Tor Lillqvist writes:
 > I am working on it right now. You can expect a suggested patch in some
 > hours.

See http://fontconfig.org/cgi-bin/bugzilla/show_bug.cgi?id=20 

Did some very light testing with fc-list, and seems to work. Fc-list
takes a long time the first time, then after it has cached its stuff
it runs fast the next time.

--tml




From fontconfig@fontconfig.org  Thu Feb  6 23:22:17 2003
From: fontconfig@fontconfig.org (Adam Ritchie)
Date: Thu, 6 Feb 2003 18:22:17 -0500
Subject: [Fontconfig] fcpackage 2.1
Message-ID: <200302061822.17218.adam@lni.net>

Hi all, I downloaded this package so I could install fontconfig and Xft 2=
=2E1 on=20
my Mandrake Linux 8.1 system.  The reason, I am trying to compile and ins=
tall=20
KDE 3.1 but I am having some problems with this package.  I am having=20
problems compiling Xft 2.  The configure goes fine but I get this when I =
run=20
make:

cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/include/freetyp=
e2=20
-I/usr/local/include -fPIC -DPIC -c xftrender.c -o xftrender.o
xftrender.c: In function `XftGlyphSpecRender':
xftrender.c:170: `XGlyphElt8' undeclared (first use in this function)
xftrender.c:170: (Each undeclared identifier is reported only once
xftrender.c:170: for each function it appears in.)
xftrender.c:170: `elts' undeclared (first use in this function)
xftrender.c:171: parse error before `elts_local'
xftrender.c:186: `glyphs_loaded' undeclared (first use in this function)
xftrender.c:234: `nelt' undeclared (first use in this function)
xftrender.c:247: `x' undeclared (first use in this function)
xftrender.c:248: `y' undeclared (first use in this function)
xftrender.c:272: `elts_local' undeclared (first use in this function)
xftrender.c:335: `XGlyphElt16' undeclared (first use in this function)
xftrender.c:335: parse error before `)'
xftrender.c:340: `XGlyphElt32' undeclared (first use in this function)
xftrender.c:340: parse error before `)'
xftrender.c: In function `XftGlyphFontSpecRender':
xftrender.c:414: `XGlyphElt8' undeclared (first use in this function)
xftrender.c:414: `elts' undeclared (first use in this function)
xftrender.c:415: parse error before `elts_local'
xftrender.c:428: `glyphs_loaded' undeclared (first use in this function)
xftrender.c:480: `nelt' undeclared (first use in this function)
xftrender.c:499: `x' undeclared (first use in this function)
xftrender.c:500: `y' undeclared (first use in this function)
xftrender.c:528: `elts_local' undeclared (first use in this function)
xftrender.c:596: `XGlyphElt16' undeclared (first use in this function)
xftrender.c:596: parse error before `)'
xftrender.c:601: `XGlyphElt32' undeclared (first use in this function)
xftrender.c:601: parse error before `)'
make: *** [xftrender.o] Error 1

Now I did get fontconfig compiled and installed but then I run into this =
with=20
the kde 3.1 compile(qt 3.1 part of the compile):

/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1/bin/uic -L=20
/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1/plugins=20
listboxeditor.ui -o
 listboxeditor.h
/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.1/bin/uic: err=
or=20
while loading shared libraries: libfontconfig.so.1: cannot open shared ob=
ject=20
file:                               No such file or directory
make[8]: *** [listboxeditor.h] Error 127
make[8]: Leaving directory=20
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                    =
         =20
ee-3.1.1/tools/designer/designer'
make[7]: *** [sub-designer] Error 2
make[7]: Leaving directory=20
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                    =
         =20
ee-3.1.1/tools/designer'
make[6]: *** [sub-designer] Error 2
make[6]: Leaving directory=20
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                    =
         =20
ee-3.1.1/tools'
make[5]: *** [sub-tools] Error 2
make[5]: Leaving directory=20
`/home/adam/konstruct/libs/qt-x11-free/work/qt-x11-fr                    =
         =20
ee-3.1.1'
make[4]: *** [build-work/qt-x11-free-3.1.1/Makefile] Error 2
make[4]: Leaving directory `/home/adam/konstruct/libs/qt-x11-free'
make[3]: *** [dep-../../libs/qt-x11-free] Error 2
make[3]: Leaving directory `/home/adam/konstruct/libs/arts'
make[2]: *** [dep-../../libs/arts] Error 2
make[2]: Leaving directory `/home/adam/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/home/adam/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2

I apologize for the formatting.  If you could give me any help I would=20
appreciate.  I have been just banging my head against the wall on this. =20
There is no Xft2 or fontconfig rpms for MDK 8.1.
The files libfontconfig.so.1.0 and the links libfontconfig.so and=20
libfontconfig.so.1 were placed in the /usr/local/lib folder.

Regards,
Adam Ritchie



From fontconfig@fontconfig.org  Sat Feb  8 01:25:49 2003
From: fontconfig@fontconfig.org (Roberto Carvajal)
Date: Fri, 7 Feb 2003 22:25:49 -300
Subject: [Fontconfig] Error compiling Xft package..
Message-ID: <3e445c9d1c7a09.37477617@loko.cl>

Hi,

I'm triying to compile gnome2.2 with slackware linux, but one of the packages (libgnomecanvas) needs pangoft2, I figure out that the only way to build pangoft2 is to build Xft2 first!! so I'm triying to install the fcpackage.2_1.

First, I compiled the fontconfig package (actually I had to clean the code to build it up), then when I try to compile Xft I get the following errors (and I don't know how to fix it):

If someone can help me out with a patch or show me the way to fix it I'll very thankful!! (And I'll have gnome2.2 :D)

netkrash@cami:~/gnome2/fcpackage.2_1/Xft$ make
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -fPIC -DPIC -c xftrender.c -o xftrender.o
xftrender.c: In function `XftGlyphSpecRender':
xftrender.c:170: `XGlyphElt8' undeclared (first use in this function)
xftrender.c:170: (Each undeclared identifier is reported only once
xftrender.c:170: for each function it appears in.)
xftrender.c:170: `elts' undeclared (first use in this function)
xftrender.c:171: parse error before `elts_local'
xftrender.c:186: `glyphs_loaded' undeclared (first use in this function)
xftrender.c:234: `nelt' undeclared (first use in this function)
xftrender.c:247: `x' undeclared (first use in this function)
xftrender.c:248: `y' undeclared (first use in this function)
xftrender.c:272: `elts_local' undeclared (first use in this function)
xftrender.c:335: `XGlyphElt16' undeclared (first use in this function)
xftrender.c:335: parse error before `)'
xftrender.c:340: `XGlyphElt32' undeclared (first use in this function)
xftrender.c:340: parse error before `)'
xftrender.c: In function `XftGlyphFontSpecRender':
xftrender.c:414: `XGlyphElt8' undeclared (first use in this function)
xftrender.c:414: `elts' undeclared (first use in this function)
xftrender.c:415: parse error before `elts_local'
xftrender.c:428: `glyphs_loaded' undeclared (first use in this function)
xftrender.c:480: `nelt' undeclared (first use in this function)
xftrender.c:499: `x' undeclared (first use in this function)
xftrender.c:500: `y' undeclared (first use in this function)
xftrender.c:528: `elts_local' undeclared (first use in this function)
xftrender.c:596: `XGlyphElt16' undeclared (first use in this function)
xftrender.c:596: parse error before `)'
xftrender.c:601: `XGlyphElt32' undeclared (first use in this function)
xftrender.c:601: parse error before `)'
make: *** [xftrender.o] Error 1


-- 
Roberto.



From fontconfig@fontconfig.org  Sat Feb  8 19:56:17 2003
From: fontconfig@fontconfig.org (Roberto Carvajal)
Date: Sat, 8 Feb 2003 16:56:17 -300
Subject: [Fontconfig] Error compiling Xft package..
References: <3E450FDB.1070705@cox.net>
Message-ID: <3e4560e1ecce36.32750038@loko.cl>

Thanks a lot!!

Now I can compile Xft2.. =)

btw, searching inside the mailing list archive I found the way to build Xrender!

xmkmf -a

Now everything works.. 

Perhaps someone can write a FAQ to this application because it is required by the two big Desktops in Linux (KDE & GNOME)..

> You wrote:
> 
> I'm triying to compile gnome2.2 with slackware linux, but one of the packages (libgnomecanvas) needs pangoft2, I figure out that the only way to build pangoft2 is to build Xft2 first!! so I'm triying to install the fcpackage.2_1.
> 
> First, I compiled the fontconfig package (actually I had to clean the code to build it up), then when I try to compile Xft I get the following errors (and I don't know how to fix it):
> 
> If someone can help me out with a patch or show me the way to fix it I'll very thankful!! (And I'll have gnome2.2 :D)
> 
> netkrash@cami:~/gnome2/fcpackage.2_1/Xft$ make
> cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -fPIC -DPIC -c xftrender.c -o xftrender.o
> xftrender.c: In function `XftGlyphSpecRender':
> xftrender.c:170: `XGlyphElt8' undeclared (first use in this function)
> xftrender.c:170: (Each undeclared identifier is reported only once
> xftrender.c:170: for each function it appears in.)
> xftrender.c:170: `elts' undeclared (first use in this function)
> xftrender.c:171: parse error before `elts_local'
> xftrender.c:186: `glyphs_loaded' undeclared (first use in this function)
> xftrender.c:234: `nelt' undeclared (first use in this function)
> xftrender.c:247: `x' undeclared (first use in this function)
> xftrender.c:248: `y' undeclared (first use in this function)
> xftrender.c:272: `elts_local' undeclared (first use in this function)
> xftrender.c:335: `XGlyphElt16' undeclared (first use in this function)
> xftrender.c:335: parse error before `)'
> xftrender.c:340: `XGlyphElt32' undeclared (first use in this function)
> xftrender.c:340: parse error before `)'
> xftrender.c: In function `XftGlyphFontSpecRender':
> xftrender.c:414: `XGlyphElt8' undeclared (first use in this function)
> xftrender.c:414: `elts' undeclared (first use in this function)
> xftrender.c:415: parse error before `elts_local'
> xftrender.c:428: `glyphs_loaded' undeclared (first use in this function)
> xftrender.c:480: `nelt' undeclared (first use in this function)
> xftrender.c:499: `x' undeclared (first use in this function)
> xftrender.c:500: `y' undeclared (first use in this function)
> xftrender.c:528: `elts_local' undeclared (first use in this function)
> xftrender.c:596: `XGlyphElt16' undeclared (first use in this function)
> xftrender.c:596: parse error before `)'
> xftrender.c:601: `XGlyphElt32' undeclared (first use in this function)
> xftrender.c:601: parse error before `)'
> make: *** [xftrender.o] Error 1
> 
> --------
> 
> Xft has a dependency on Xrender.  Either you'll need to compile and install
> Xrender first, or at least add the include headers for the Xrender code
> (though you have to create Xrender/X11/extensions, and symlink in the
> *.h files from the top level Xrender src dir.
> 
> Hope this helps.
> 
> Ben
> 
> 
> 
> 


-- 
Roberto.



From fontconfig@fontconfig.org  Sat Feb  8 20:23:22 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Sat, 08 Feb 2003 12:23:22 -0800
Subject: [Fontconfig] Error compiling Xft package..
In-Reply-To: Your message of "Sat, 08 Feb 2003 16:56:17 -0300."
 <3e4560e1ecce36.32750038@loko.cl>
Message-ID: <E18hbVS-0000Jm-00@localhost>

Around 16 o'clock on Feb 8, Roberto Carvajal wrote:

> Perhaps someone can write a FAQ to this application because it is required
> by the two big Desktops in Linux (KDE & GNOME)..

Yes, please do.  http://wiki.fontconfig.org has a FAQ section that you can 
edit.

-keith




From fontconfig@fontconfig.org  Sat Feb  8 21:07:23 2003
From: fontconfig@fontconfig.org (Roberto Carvajal)
Date: Sat, 8 Feb 2003 18:07:23 -300
Subject: [Fontconfig] Error compiling Xft package..
References: <E18hbVS-0000Jm-00@localhost>
Message-ID: <3e45718bad3fd3.64940060@loko.cl>

Done,

I've just upload the installation instructions to build up all the font config packages.. check it out and thanks a lot to the people on the list.


I hope this will be useful to the future users..


> 
> Around 16 o'clock on Feb 8, Roberto Carvajal wrote:
> 
> > Perhaps someone can write a FAQ to this application because it is required
> > by the two big Desktops in Linux (KDE & GNOME)..
> 
> Yes, please do.  http://wiki.fontconfig.org has a FAQ section that you can
> edit.
> 
> -keith
> 
> 
> 
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@fontconfig.org
> http://mail.fontconfig.org/mailman/listinfo/fontconfig
> 


-- 
Roberto.



From fontconfig@fontconfig.org  Mon Feb 10 16:41:16 2003
From: fontconfig@fontconfig.org (Salman Sheikh)
Date: Mon, 10 Feb 2003 11:41:16 -0500
Subject: [Fontconfig] Fontconfig and Solaris compiling woes
Message-ID: <200302101141.16384.Salman.I.Sheikh@nasa.gov>

Hello,

I got Xrender compiled for my Sparc Solaris but not without difficulties.  I 
ran xmkmf -a and then make and got a complaint about 
a -t option. So, I edited the makefile and removed any occurence of -mt from 
it. I don't know what this is for.  Then I ran make and everything compiled 
down to Xrender.so.* files.  
I proceeded to the fontconfig directory and ran the configure program and get 
the following error (any ideas why?):

magoo(/folks/salman/fcpackage.2_0/fontconfig)422: make
for d in src fc-cache fc-list fontconfig; do (cd $d && make all); done
make[1]: Entering directory `/folks/salman/fcpackage.2_0/fontconfig/src'
cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.  
-I/usr/local/include -I/usr/local/include/freetype2  -fPIC -DPIC -c 
fcatomic.c -o fcatomic.o
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/time.h:90,
                 from /usr/include/sys/time.h:410,
                 from /usr/include/sys/select.h:17,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/sys/types.h:278,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/unistd.h:15,
                 from fcint.h:33,
                 from fcatomic.c:46:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make[1]: *** [fcatomic.o] Error 1
make[1]: Leaving directory `/folks/salman/fcpackage.2_0/fontconfig/src'
make[1]: Entering directory `/folks/salman/fcpackage.2_0/fontconfig/fc-cache'
cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.  
-I/usr/local/include -I/usr/local/include/freetype2    -c -o fc-cache.o 
fc-cache.c
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/time.h:90,
                 from /usr/include/sys/time.h:410,
                 from /usr/include/sys/select.h:17,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/sys/types.h:278,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/unistd.h:15,
                 from fc-cache.c:27:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make[1]: *** [fc-cache.o] Error 1
make[1]: Leaving directory `/folks/salman/fcpackage.2_0/fontconfig/fc-cache'
make[1]: Entering directory `/folks/salman/fcpackage.2_0/fontconfig/fc-list'
cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.  
-I/usr/local/include -I/usr/local/include/freetype2    -c -o fc-list.o 
fc-list.c
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/time.h:90,
                 from /usr/include/sys/time.h:410,
                 from /usr/include/sys/select.h:17,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/sys/types.h:278,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.3/include/unistd.h:15,
                 from fc-list.c:27:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make[1]: *** [fc-list.o] Error 1
make[1]: Leaving directory `/folks/salman/fcpackage.2_0/fontconfig/fc-list'
make[1]: Entering directory 
`/folks/salman/fcpackage.2_0/fontconfig/fontconfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/folks/salman/fcpackage.2_0/fontconfig/fontconfig'


Salman

-- 
*********************
Salman Sheikh
NASA/GSFC
Code 564
Greenbelt, MD 20771
301-286-3763
301-286-0220 (fax)
email : Salman.I.Sheikh@nasa.gov
**************************8


From fontconfig@fontconfig.org  Tue Feb 11 18:39:09 2003
From: fontconfig@fontconfig.org (Anthony Fok)
Date: Wed, 12 Feb 2003 02:39:09 +0800
Subject: [Fontconfig] Mozilla, Xft and (buggy?) fonts
Message-ID: <20030211183909.GA6832@anthony.homelinux.net>

Hello,

I was trying to track down an issue we have with Mozilla Xft with a certain
font.  A screenshot is here:

    http://anthony.homelinux.net/~foka/xft/Mozilla-Xft-font-issue.png

I have checked the font with Microsoft Font Validator etc., and it seems
that the font itself is okay.

There appears to be two issues:

 1. The font in question contains no glyph for U+00A9 "(c)" copyright
    sign, and there was no such mapping in the CMap 4 table.  However,
    there is a CMap Format 0 (language=0) MacRoman table, in which 0xA9
    is mapped to "Lambda" (glyph #170 in that font).  So, it appears
    that fc-cache read in both the Unicode (CMap4) and MacRoman (CMap0)
    tables and added U+00A9 -> Lambda.

    To test this theory, I used TTX/fontTools to get rid of the
    cmap_format_0 section altogether.  Now, the (c) sign is properly
    displayed, obtained from another font.

    Would it be a good idea, if a font already contains a valid
    Unicode CMap (e.g. Format 4 and/or 12), that CMap 0 be ignored
    altogether?  There appears to be more buggy fonts out there on the
    market than we would like.  Anyhow, I have no preference either
    way, so, you make the call.  :-)

 2. Now, the scrambled text after the supposed "(c)"... this perplexes me.
    As shown in the screenshot, already cached glyphs are okay, but
    newly loaded ones are off:

	b -> |
	s -> multiple sign
	d -> ~
	P -> j
	R -> l
	f -> currency sign
	w -> e acute
	m -> A acute
	, -> F
	I -> c
	U -> o
	. -> H
	S -> m
	" " -> :
	G -> a
	O -> i
	V -> p
	E -> _
	R -> l

    etc.
    A visual check with ftview showed that the glyph indices are off by 26

    I am a slow debugger.  :-)  So I traced from Mozilla's Xft
    interface to XftDrawCharFontSpec to XftCharIndex before the end of
    the day.  My next guess is whether the "U+00A9 -> Lambda glyph"
    could have triggered a hidden bug in Xft or in fontconfig in which
    the Unicode->glyph hash table got corrupted?

There are a few other Mozilla Xft issues as seen on Bugzilla.  The
"disappearing text when with switching fonts" happens on my Debian
sid/unstable system (XFree86 4.2.1, with XRender).  A fellow
Debian Chinese developer noticed the same thing.  On a similar Debian
system using i830 chipset (XFree86 4.2.1, without XRender), it crashes
instead.  However, everything looks and works okay on Red Hat 8.0
and Phoebe.  Not quite sure what the difference is.  Any idea?  :-)

Cheers,

Anthony

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   <anthony@thizlinux.com> http://www.thizlinux.com/
Debian Chinese Project <foka@debian.org>       http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!           http://www.olvc.ab.ca/


From fontconfig@fontconfig.org  Tue Feb 11 19:04:26 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Tue, 11 Feb 2003 11:04:26 -0800
Subject: [Fontconfig] Mozilla, Xft and (buggy?) fonts
In-Reply-To: Your message of "Wed, 12 Feb 2003 02:39:09 +0800."
 <20030211183909.GA6832@anthony.homelinux.net>
Message-ID: <E18ifhi-0002C5-00@localhost>

Around 2 o'clock on Feb 12, Anthony Fok wrote:

>    Would it be a good idea, if a font already contains a valid
>    Unicode CMap (e.g. Format 4 and/or 12), that CMap 0 be ignored
>    altogether?  There appears to be more buggy fonts out there on the
>    market than we would like.  Anyhow, I have no preference either
>    way, so, you make the call.  :-)

Fonts are also broken in the other direction -- they contain both Unicode 
and Apple Roman mappings, but the Unicode mapping doesn't map Latin glyphs 
while the Apple Roman mapping cannot cover the glyphs available in the 
font.  Suggestions for how to figure out the right mapping are welcome...

> A visual check with ftview showed that the glyph indices are off by 26

I have a vague recollection of having fixed a bug like this.  Can you 
report which versions of the X server, Xrender, Xft and fontconfig you are 
using?

> There are a few other Mozilla Xft issues as seen on Bugzilla.  The
> "disappearing text when with switching fonts" happens on my Debian
> sid/unstable system (XFree86 4.2.1, with XRender).
> ...
> However, everything looks and works okay on Red Hat 8.0 and Phoebe. 

I suspect RH has incorporated various fixes from current XFree86 CVS which 
haven't made it into Debian unstable yet.  Please give current CVS a try 
and see what happens there.

Keith Packard        Cambridge Research Lab	Hewlett Packard




From fontconfig@fontconfig.org  Tue Feb 11 20:07:29 2003
From: fontconfig@fontconfig.org (Anthony Fok)
Date: Wed, 12 Feb 2003 04:07:29 +0800
Subject: [Fontconfig] Mozilla, Xft and (buggy?) fonts
In-Reply-To: <E18ifhi-0002C5-00@localhost>
References: <20030211183909.GA6832@anthony.homelinux.net> <E18ifhi-0002C5-00@localhost>
Message-ID: <20030211200729.GC6832@anthony.homelinux.net>

Hello Keith,

Wow, immediate response again!  I'm really amazed!  Many thanks!  :-)

On Tue, Feb 11, 2003 at 11:04:26AM -0800, Keith Packard wrote:
> >    Would it be a good idea, if a font already contains a valid
> >    Unicode CMap (e.g. Format 4 and/or 12), that CMap 0 be ignored
> >    altogether?  There appears to be more buggy fonts out there on the
> >    market than we would like.  Anyhow, I have no preference either
> >    way, so, you make the call.  :-)
> 
> Fonts are also broken in the other direction -- they contain both Unicode 
> and Apple Roman mappings, but the Unicode mapping doesn't map Latin glyphs 
> while the Apple Roman mapping cannot cover the glyphs available in the 
> font.  Suggestions for how to figure out the right mapping are welcome...

I didn't know that.  Yikes!

Meanwhile, for my part, I have been exchanging e-mail messages with the
respective font vendors asking them to fix these bugs.  Fortunately,
they have been quite responsive.  Microsoft's Font Validator has been
helpful, and ftview, TTX/FontTools are lifesavers.

> > A visual check with ftview showed that the glyph indices are off by 26
> 
> I have a vague recollection of having fixed a bug like this.  Can you 
> report which versions of the X server, Xrender, Xft and fontconfig you are 
> using?

On Debian unstable, XFree86-4.2.1; Xft-2.1, fontconfig-2.1, probably without
updates from the CVS except:

  fontconfig (2.1-14) unstable; urgency=low
  
    * debian/patches/CVS-HEAD-subpixel-rendering-fix.patch:
      - New patch, should fix crashes when subpixel rendering is
      turned on (Closes: #175903).  Big thanks to
      Michael Guntsche <mike@it-loops.com> for extracting the relevant fix
      from CVS!
  
   -- Colin Walters <walters@debian.org>  Fri, 10 Jan 2003 13:30:28 -0500

BTW, how do I check the Xrender version?  :-)  (XFree86 says something
about "XFree86 Font Renderer : 0.3".  Is that the same thing?  :-)

By the way, where may I find the latest CVS of fontconfig and Xft? 
It seems that fontconfig in :pserver:anoncvs@keithp.com:/local/src/CVS
isn't the newest.

> > There are a few other Mozilla Xft issues as seen on Bugzilla.  The
> > "disappearing text when with switching fonts" happens on my Debian
> > sid/unstable system (XFree86 4.2.1, with XRender).
> > ...
> > However, everything looks and works okay on Red Hat 8.0 and Phoebe. 
> 
> I suspect RH has incorporated various fixes from current XFree86 CVS which 
> haven't made it into Debian unstable yet.  Please give current CVS a try 
> and see what happens there.

Good idea.  I should try that.

Thanks again for your help,

Anthony

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   <anthony@thizlinux.com> http://www.thizlinux.com/
Debian Chinese Project <foka@debian.org>       http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!           http://www.olvc.ab.ca/


From fontconfig@fontconfig.org  Wed Feb 12 04:17:09 2003
From: fontconfig@fontconfig.org (Dan)
Date: Tue, 11 Feb 2003 22:17:09 -0600
Subject: [Fontconfig] Xft with Xsun + XRender
Message-ID: <20030212041709.GA24385@seymour.home>

Has anyone managed to get Xft working with the Solaris 9
12/02 release of Xsun with happy new XRender support? I was
able to compile and install fontconfig and Xft without too
much trouble, however apps compiled with Xft support only
show empty space where there should be text while scrolling
BadDrawable errors in my console.

I'm new to Xft, so I'm not entirely convinced it's not just
a configuration problem.  Basically, here's the procedure I
followed:

1) Compiled and installed fontconfig.
2) Compiled and installed Xft.
3) Executed fc-cache as root -- it found a couple dozen
   fonts in /usr/openwin/lib/X11/fonts/TrueType along with
   a couple other similar paths.
4) Compiled QT.
5) :(
6) Thinking maybe it would work better if I also used the
   version of libXRender bundled with fcpackage_2.1 rather
   than the one included with Solaris, I compiled and
   installed libXRender.so and recompiled Xft and QT to use
   the new version.
7) :( again.

I've tried running the programs through truss and I can see
them find the configuration file in /etc/fonts, dig through
all of the font directories mentioned therein, and pick out
a couple fonts to use.  The problem seems to appear when it
comes time to do the actual rendering of the glyphs.

Recompiling QT each time I make a change is a little time
consuming -- are there any Xft example apps out there that
might draw a simple window with some text that one could
use for testing?  Unfortunately, I'm not so good at the X
Window programming.

So has anybody seen an invisible font problem similar to
this?  Or is maybe the RENDER module included with this new
release of Solaris every bit as experimental as Sun has
indicated?

Thanks for any input..

--
Dan Holm
AlertLogic [ http://www.alertlogic.net ]


From fontconfig@fontconfig.org  Wed Feb 12 05:31:36 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Tue, 11 Feb 2003 21:31:36 -0800
Subject: [Fontconfig] Xft with Xsun + XRender
In-Reply-To: Your message of "Tue, 11 Feb 2003 22:17:09 CST."
 <20030212041709.GA24385@seymour.home>
Message-ID: <E18ipUe-0002m8-00@localhost>

Around 22 o'clock on Feb 11, Dan wrote:

> Has anyone managed to get Xft working with the Solaris 9
> 12/02 release of Xsun with happy new XRender support?

I assume Sun is testing things this way; it make little sense for them to 
do otherwise.  However, you can make sure most things are working by
disabling Render support in your ~/.fonts.conf file:

	<?xml version="1.0"?>
	<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
	<!-- ~/.fonts.conf for per-user font configuration -->
	<fontconfig>
	
	<!-- Disables use of Render extension -->
	<match target="font">
	        <edit name="render" mode="assign"><bool>no</bool></edit>
	</match>
	
	</fontconfig>

I just wrote an Xaw based app for viewing fonts that you might play with,
it should work on vanilla Solaris.

	$ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS login
	Logging in to :pserver:anoncvs@keithp.com:2401/local/src/CVS
	CVS password: <hit return>
	$ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS co waterfall
	$ cd waterfall
	$ xmkmf -a
	$ make

-keith




From fontconfig@fontconfig.org  Wed Feb 12 15:28:10 2003
From: fontconfig@fontconfig.org (ZMan ZMan)
Date: Wed, 12 Feb 2003 17:28:10 +0200
Subject: [Fontconfig] FontConfig-2_1 + GTK+-2.2.1 = Unable to Run my Apps.
 library is
 not correctly configured. ..."
Message-ID: <3E4A680A.9070707@zahav.net.il>

This is a multi-part message in MIME format.
--------------050906090503070506080005
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi !

I'm a Sorcerer LinuX user,

2 of my apps (GPA 0.6.1 & GIMP 1.3.11) that i've built using the new 
GTK+ 2.2.1 outs the following error message (on init.) and then terminate :

<err_msg>
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org
</err_msg>

(my fonts.conf file is attached for your review)

my System's Software Conf. Consists of :

Kernel : 2.4.20
GLIBC : 2.3.1
GCC : 3.2.2

XFree86 : 4.2.1

GLIB : 2.2.1
ATK : 1.2.2
Pango : 1.2.1
Xft2 : 2_1
-> FontConfig : 2_1
GTK+ : 2.2.1

QT-X11 : 3.1

KDE : 3.1

---

I found this issue is nor listed on the FontConfig neither on GIMP' FAQ...

how should i solve it ?

Thanks ahead,

ZMan

--------------050906090503070506080005
Content-Type: text/xml;
 name="fonts.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="fonts.conf"

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts.conf file to configure system font access -->
<fontconfig>

<!--
	The intent of this standard configuration file is to be adequate for
	most environments.  If you have a reasonably normal environment and
	have found problems with this configuration, they are probably
	things that others will also want fixed.  Please send any suggested
	changes to fonts@xfree86.org so that future releases can include
	such changes.

	Note that the normal 'make install' procedure for XFree86 is to
	replace any existing fonts.conf file with the new version.  Place
	any local customizations in local.conf which this file references.

	Keith Packard
-->

<!-- Font directory list configured on Wed Feb 12 19:17:44 IST 2003 -->

	<dir>/usr/X11R6/lib/X11/fonts</dir>
	<dir>/usr/share/fonts</dir>
	<dir>~/.fonts</dir>

<!--
  Enable sub-pixel rendering
	<match target="font">
		<test qual="all" name="rgba">
			<const>unknown</const>
		</test>
		<edit name="rgba" mode="assign"><const>rgb</const></edit>
	</match>
-->

<!--
  Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
	<match target="pattern">
		<test qual="any" name="family">
			<string>mono</string>
		</test>
		<edit name="family" mode="assign">
			<string>monospace</string>
		</edit>
	</match>

<!--
  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
	<match target="pattern">
		<test qual="any" name="family">
			<string>sans serif</string>
		</test>
		<edit name="family" mode="assign">
			<string>sans-serif</string>
		</edit>
	</match>

<!--
  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
	<match target="pattern">
		<test qual="any" name="family">
			<string>sans</string>
		</test>
		<edit name="family" mode="assign">
			<string>sans-serif</string>
		</edit>
	</match>

<!--
  Mark common families with their generics so we'll get
  something reasonable
-->

<!--
  Serif faces
 -->
	<alias>
		<family>Times</family>
		<family>Times New Roman</family>
		<family>Nimbus Roman No9 L</family>
		<family>Luxi Serif</family>
		<family>Kochi Mincho</family>
		<family>AR PL SungtiL GB</family>
		<family>AR PL Mingti2L Big5</family>
		<family>Baekmuk Batang</family>			
		<default><family>serif</family></default>
	</alias>
<!--
  Sans-serif faces
 -->
	<alias>
		<family>Helvetica</family>
		<family>Arial</family>
		<family>Verdana</family>
		<family>Nimbus Sans L</family>
		<family>Luxi Sans</family>
		<family>Kochi Gothic</family>
		<family>AR PL KaitiM GB</family>
		<family>AR PL KaitiM Big5</family>
		<family>Baekmuk Dotum</family>
		<family>SimSun</family>
		<default><family>sans-serif</family></default>
	</alias>
<!--
  Monospace faces
 -->
 	<alias>
		<family>Courier</family>
		<family>Courier New</family>
		<family>Andale Mono</family>
		<family>Luxi Mono</family>
		<family>Nimbus Mono L</family>
		<family>NSimSun</family>
		<default><family>monospace</family></default>
	</alias>
<!--
  If the font still has no generic name, add sans-serif
 -->
	<match target="pattern">
		<test qual="all" name="family" compare="not_eq">
			<string>sans-serif</string>
		</test>
		<test qual="all" name="family" compare="not_eq">
			<string>serif</string>
		</test>
		<test qual="all" name="family" compare="not_eq">
			<string>monospace</string>
		</test>
		<edit name="family" mode="append_last">
			<string>sans-serif</string>
		</edit>
	</match>
	
<!--
  Load per-user customization file
-->
	<include ignore_missing="yes">~/.fonts.conf</include>

<!--
  Load local system customization file
-->
	<include ignore_missing="yes">local.conf</include>

<!--
  Alias well known font names to available TrueType fonts
-->
	<alias>
		<family>Times</family>
		<accept><family>Times New Roman</family></accept>
	</alias>
	<alias>
		<family>Helvetica</family>
		<accept><family>Verdana</family></accept>
	</alias>
	<alias>
		<family>Arial</family>
		<accept><family>Verdana</family></accept>
	</alias>
	<alias>
		<family>Courier</family>
		<accept><family>Courier New</family></accept>
	</alias>

<!--
  Provide required aliases for standard names
-->
	<alias>
		<family>serif</family>
		<prefer>
			<family>Times New Roman</family>
			<family>Nimbus Roman No9 L</family>
			<family>Luxi Serif</family>
			<family>Times</family>
			<family>Kochi Mincho</family>
			<family>AR PL SungtiL GB</family>
			<family>AR PL Mingti2L Big5</family>
			<family>Baekmuk Batang</family>			
		</prefer>
	</alias>
	<alias>
		<family>sans-serif</family>
		<prefer>
			<family>Verdana</family>
			<family>Nimbus Sans L</family>
			<family>Luxi Sans</family>
			<family>Arial</family>
			<family>Helvetica</family>
			<family>Kochi Gothic</family>
			<family>AR PL KaitiM GB</family>
			<family>AR PL KaitiM Big5</family>
			<family>Baekmuk Dotum</family>
			<family>SimSun</family>
		</prefer>
	</alias>
	<alias>
		<family>monospace</family>
		<prefer>
			<family>Andale Mono</family>
			<family>Courier New</family>
			<family>Luxi Mono</family>
			<family>Nimbus Mono L</family>
			<family>Kochi Gothic</family>
			<family>AR PL KaitiM GB</family>
			<family>Baekmuk Dotum</family>
		</prefer>
	</alias>

<!-- 
 Artificial oblique for fonts without an italic or oblique version
 -->
 
	<match target="font">
		<!-- check to see if the font is roman -->
		<test name="slant">
			<const>roman</const>
		</test>
		<!-- check to see if the pattern requested non-roman -->
		<test target="pattern" name="slant" compare="not_eq">
			<const>roman</const>
		</test>
		<!-- multiply the matrix to slant the font -->
		<edit name="matrix" mode="assign">
			<times>
				<name>matrix</name>
				<matrix><double>1</double><double>.2</double>
					<double>0</double><double>1</double>
				</matrix>
			</times>
		</edit>
		<!-- pretend the font is oblique now -->
		<edit name="slant" mode="assign">
			<const>oblique</const>
		</edit>
	</match>

	<config>
<!--
  These are the default Unicode chars that are expected to be blank
  in fonts.  All other blank chars are assumed to be broken and
  won't appear in the resulting charsets
 -->
		<blank>
			<int>0x0020</int>	<!-- SPACE -->
			<int>0x00a0</int>	<!-- NO-BREAK SPACE -->
			<int>0x00ad</int>	<!-- SOFT HYPHEN -->
			<int>0x115f</int>	<!-- HANGUL CHOSEONG FILLER -->
			<int>0x1160</int>	<!-- HANGUL JUNGSEONG FILLER -->
			<int>0x1680</int>	<!-- OGHAM SPACE MARK -->
			<int>0x2000</int>	<!-- EN QUAD -->
			<int>0x2001</int>	<!-- EM QUAD -->
			<int>0x2002</int>	<!-- EN SPACE -->
			<int>0x2003</int>	<!-- EM SPACE -->
			<int>0x2004</int>	<!-- THREE-PER-EM SPACE -->
			<int>0x2005</int>	<!-- FOUR-PER-EM SPACE -->
			<int>0x2006</int>	<!-- SIX-PER-EM SPACE -->
			<int>0x2007</int>	<!-- FIGURE SPACE -->
			<int>0x2008</int>	<!-- PUNCTUATION SPACE -->
			<int>0x2009</int>	<!-- THIN SPACE -->
			<int>0x200a</int>	<!-- HAIR SPACE -->
			<int>0x200b</int>	<!-- ZERO WIDTH SPACE -->
			<int>0x200c</int>	<!-- ZERO WIDTH NON-JOINER -->
			<int>0x200d</int>	<!-- ZERO WIDTH JOINER -->
			<int>0x200e</int>	<!-- LEFT-TO-RIGHT MARK -->
			<int>0x200f</int>	<!-- RIGHT-TO-LEFT MARK -->
			<int>0x2028</int>	<!-- LINE SEPARATOR -->
			<int>0x2029</int>	<!-- PARAGRAPH SEPARATOR -->
			<int>0x202a</int>	<!-- LEFT-TO-RIGHT EMBEDDING -->
			<int>0x202b</int>	<!-- RIGHT-TO-LEFT EMBEDDING -->
			<int>0x202c</int>	<!-- POP DIRECTIONAL FORMATTING -->
			<int>0x202d</int>	<!-- LEFT-TO-RIGHT OVERRIDE -->
			<int>0x202e</int>	<!-- RIGHT-TO-LEFT OVERRIDE -->
			<int>0x202f</int>	<!-- NARROW NO-BREAK SPACE -->
			<int>0x205f</int>	<!-- MEDIUM MATHEMATICAL SPACE -->
			<int>0x2060</int>	<!-- WORD JOINER -->
			<int>0x2061</int>	<!-- FUNCTION APPLICATION -->
			<int>0x2062</int>	<!-- INVISIBLE TIMES -->
			<int>0x2063</int>	<!-- INVISIBLE SEPARATOR -->
			<int>0x206A</int>	<!-- INHIBIT SYMMETRIC SWAPPING -->
			<int>0x206B</int>	<!-- ACTIVATE SYMMETRIC SWAPPING -->
			<int>0x206C</int>	<!-- INHIBIT ARABIC FORM SHAPING -->
			<int>0x206D</int>	<!-- ACTIVATE ARABIC FORM SHAPING -->
			<int>0x206E</int>	<!-- NATIONAL DIGIT SHAPES -->
			<int>0x206F</int>	<!-- NOMINAL DIGIT SHAPES -->
			<int>0x3000</int>	<!-- IDEOGRAPHIC SPACE -->
			<int>0x3164</int>	<!-- HANGUL FILLER -->
			<int>0xfeff</int>	<!-- ZERO WIDTH NO-BREAK SPACE -->
			<int>0xffa0</int>	<!-- HALFWIDTH HANGUL FILLER -->
			<int>0xfff9</int>	<!-- INTERLINEAR ANNOTATION ANCHOR -->
			<int>0xfffa</int>	<!-- INTERLINEAR ANNOTATION SEPARATOR -->
			<int>0xfffa</int>	<!-- INTERLINEAR ANNOTATION TERMINATOR -->
		</blank>
<!--
  Rescan configuration every 30 seconds when FcFontSetList is called
 -->
		<rescan>
			<int>30</int>
		</rescan>
	</config>

</fontconfig>

--------------050906090503070506080005--



From fontconfig@fontconfig.org  Wed Feb 12 16:52:34 2003
From: fontconfig@fontconfig.org (Dan)
Date: Wed, 12 Feb 2003 10:52:34 -0600
Subject: [Fontconfig] Xft with Xsun + XRender
In-Reply-To: <E18ipUe-0002m8-00@localhost>
References: <20030212041709.GA24385@seymour.home> <E18ipUe-0002m8-00@localhost>
Message-ID: <20030212165234.GA734@seymour.home>

On Tue, Feb 11, 2003 at 09:31:36PM -0800, Keith Packard wrote:
 
> I just wrote an Xaw based app for viewing fonts that you might play with,
> it should work on vanilla Solaris.

Neat, that helps a lot.  Looks like the problem does indeed only
pop up when Sun's render extension is being used.  With the change
to fonts.conf you suggested I see text, but without the change the
window draws and immediately bombs with an X error when it tries
to render the glyphs:

X Error of failed request:  BadValue (integer parameter out of
range for operation)
  Major opcode of failed request:  53 (X_CreatePixmap)
  Value in failed request:  0x20
  Serial number of failed request:  2983
  Current serial number in output stream:  3067

Thank you very much for the assistance..

--
Dan


From fontconfig@fontconfig.org  Wed Feb 12 17:06:32 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Wed, 12 Feb 2003 09:06:32 -0800
Subject: [Fontconfig] Xft with Xsun + XRender
In-Reply-To: Your message of "Wed, 12 Feb 2003 10:52:34 CST."
 <20030212165234.GA734@seymour.home>
Message-ID: <E18j0LA-000776-00@localhost>

Around 10 o'clock on Feb 12, Dan wrote:

> X Error of failed request:  BadValue (integer parameter out of
> range for operation)
>   Major opcode of failed request:  53 (X_CreatePixmap)
>   Value in failed request:  0x20
>   Serial number of failed request:  2983
>   Current serial number in output stream:  3067

Sun's Render extension support is broken; Render requires that the server 
support pixmaps of depth 1, 4, 8, 16 and 32.  As you can see above, the 
value '0x20' is not accepted for this request.

-keith




From fontconfig@fontconfig.org  Thu Feb 13 04:57:40 2003
From: fontconfig@fontconfig.org (Kang Jeong-Hee)
Date: Thu, 13 Feb 2003 13:57:40 +0900
Subject: [Fontconfig] priority attribute to avoid overriding?
Message-ID: <20030213045739.GA18730@localhost>

Hi.

as user private setting of ~/.fonts.conf included first,
system global fonts.conf may override user's preferences.

does fontconfig support priority attribute
like !important of CSS?


From fontconfig@fontconfig.org  Thu Feb 13 06:34:53 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Wed, 12 Feb 2003 22:34:53 -0800
Subject: [Fontconfig] priority attribute to avoid overriding?
In-Reply-To: Your message of "Thu, 13 Feb 2003 13:57:40 +0900."
 <20030213045739.GA18730@localhost>
Message-ID: <E18jCxR-0000lK-00@localhost>

Around 13 o'clock on Feb 13, Kang Jeong-Hee wrote:

> as user private setting of ~/.fonts.conf included first,
> system global fonts.conf may override user's preferences.

But they don't, user preferences are included at precisely the spot 
necessary to ensure they can always override system preferences.

-keith




From fontconfig@fontconfig.org  Thu Feb 13 07:58:15 2003
From: fontconfig@fontconfig.org (Frederic Crozat)
Date: 13 Feb 2003 08:58:15 +0100
Subject: [Fontconfig] FontConfig-2_1 + GTK+-2.2.1 = Unable to Run my
 Apps. library is not correctly configured. ..."
In-Reply-To: <3E4A680A.9070707@zahav.net.il>
References: <3E4A680A.9070707@zahav.net.il>
Message-ID: <1045123094.5921.815.camel@trinidad.mandrakesoft.com>

Le mer 12/02/2003 à 16:28, ZMan ZMan a écrit :
> Hi !
> 
> I'm a Sorcerer LinuX user,
> 
> 2 of my apps (GPA 0.6.1 & GIMP 1.3.11) that i've built using the new 
> GTK+ 2.2.1 outs the following error message (on init.) and then terminate :
> 
> <err_msg>
> No fonts found; this probably means that the fontconfig
> library is not correctly configured. You may need to
> edit the fonts.conf configuration file. More information
> about fontconfig can be found in the fontconfig(3) manual
> page and on http://fontconfig.org
> </err_msg>

This is a message from Pango..

You should check with a non GTK2 applications to see if it is a problem
with pango or with fontconfig (try xterm -fa Monospace).

I have found some problems with fontconfig matching code, which is used
by Pango to resolve "Sans" and other aliases) when specific TTF fonts
are installed (currently onyx.ttf) and cause GTK2 applications to fail
to start.

-- 
Frederic Crozat <fcrozat@mandrakesoft.com>
MandrakeSoft



From fontconfig@fontconfig.org  Thu Feb 13 16:19:07 2003
From: fontconfig@fontconfig.org (Olivier Schmidt)
Date: Thu, 13 Feb 2003 17:19:07 +0100
Subject: [Fontconfig] compiling fonconfig 2.0 under Linux
Message-ID: <3E4BC57B.7050601@amesim.com>

Hello "fontconfig team",

I am trying to compile fontconfig 2.0 on my machine (PC Intel running
Linux 2.4.2), but the gcc compiler complains it can not find the header
file freetype/ftsnames.h. It seems this file is not in the fontconfig 
package.
Have you any idea where this header file resides?

Best wishes,

Olivier Schmidt



From fontconfig@fontconfig.org  Thu Feb 13 16:57:44 2003
From: fontconfig@fontconfig.org (Albert Chin)
Date: Thu, 13 Feb 2003 10:57:44 -0600
Subject: [Fontconfig] compiling fonconfig 2.0 under Linux
In-Reply-To: <3E4BC57B.7050601@amesim.com>
References: <3E4BC57B.7050601@amesim.com>
Message-ID: <20030213165744.GA15371@spuckler.il.thewrittenword.com>

On Thu, Feb 13, 2003 at 05:19:07PM +0100, Olivier Schmidt wrote:
> I am trying to compile fontconfig 2.0 on my machine (PC Intel running
> Linux 2.4.2), but the gcc compiler complains it can not find the header
> file freetype/ftsnames.h. It seems this file is not in the fontconfig 
> package.
> Have you any idea where this header file resides?

You must have the freetype package installed.

-- 
albert chin (china@thewrittenword.com)


From fontconfig@fontconfig.org  Thu Feb 13 17:00:46 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Thu, 13 Feb 2003 09:00:46 -0800
Subject: [Fontconfig] compiling fonconfig 2.0 under Linux
In-Reply-To: Your message of "Thu, 13 Feb 2003 17:19:07 +0100."
 <3E4BC57B.7050601@amesim.com>
Message-ID: <E18jMj9-0001gr-00@localhost>

Around 17 o'clock on Feb 13, Olivier Schmidt wrote:

> it can not find the header file freetype/ftsnames.h.

That's a part of FreeType2 which you'll have to install before compiling 
fontconfig.

-keith




From fontconfig@fontconfig.org  Thu Feb 13 16:47:42 2003
From: fontconfig@fontconfig.org (Salman Sheikh)
Date: Thu, 13 Feb 2003 11:47:42 -0500
Subject: [Fontconfig] compiling fonconfig 2.0 under Linux
In-Reply-To: <3E4BC57B.7050601@amesim.com>
References: <3E4BC57B.7050601@amesim.com>
Message-ID: <200302131147.42452.Salman.I.Sheikh@nasa.gov>


Check out www.freetype.org for the libraries.


On Thursday 13 February 2003 11:19 am, Olivier Schmidt wrote:
> Hello "fontconfig team",
>
> I am trying to compile fontconfig 2.0 on my machine (PC Intel running
> Linux 2.4.2), but the gcc compiler complains it can not find the header
> file freetype/ftsnames.h. It seems this file is not in the fontconfig
> package.
> Have you any idea where this header file resides?
>
> Best wishes,
>
> Olivier Schmidt
>
>
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@fontconfig.org
> http://mail.fontconfig.org/mailman/listinfo/fontconfig

-- 
*********************
Salman Sheikh
NASA/GSFC
Code 564
Greenbelt, MD 20771
301-286-3763
301-286-0220 (fax)
email : Salman.I.Sheikh@nasa.gov
**************************8


From fontconfig@fontconfig.org  Thu Feb 13 17:21:36 2003
From: fontconfig@fontconfig.org (Albert Chin)
Date: Thu, 13 Feb 2003 11:21:36 -0600
Subject: [Fontconfig] libtoolize fcpackage
Message-ID: <20030213172136.GB15371@spuckler.il.thewrittenword.com>

Don't know if this will be accepted but the following uses libtool to
build Xft, Xrender, and fontconfig. We have to build for Solaris,
HP-UX, IRIX, Tru64 UNIX, AIX, and Redhat Linux so this makes it much
easier.

There is no top-level Makefile to do everything at once. We could do
that if needed.

Note this patch does not include ltmain.sh, mkinstalldirs,
config.guess, config.sub, nor install.sh.

--=20
albert chin (china@thewrittenword.com)

-- snip snip
--- Xft/configure.in.orig	Tue Jan 28 18:07:25 2003
+++ Xft/configure.in	Tue Jan 28 23:10:35 2003
@@ -33,95 +33,67 @@
 AC_ARG_WITH(fontconfig_includes, [  --with-fontconfig-includes=3DDIR  Us=
e Fontconfig includes in DIR], fontconfig_includes=3D$withval, fontconfig=
_includes=3Dyes)
 AC_ARG_WITH(fontconfig_lib,      [  --with-fontconfig-lib=3DDIR       Us=
e Fontconfig library in DIR], fontconfig_lib=3D$withval, fontconfig_lib=3D=
yes)
 AC_ARG_WITH(fontconfig_config,   [  --with-fontconfig-config=3DPROG  Use=
 Fontconfig configuration program PROG], fontconfig_config=3D$withval, fo=
ntconfig_config=3Dyes)
+AC_ARG_WITH(Xrender-includes,
+[  --with-Xrender-includes=3DDIR  Use Xrender includes in DIR],
+xrender_includes=3D$withval,
+xrender_includes=3Dyes)
+AC_ARG_WITH(Xrender-lib,
+[  --with-Xrender-lib=3DDIR       Use Xrender library in DIR],
+xrender_lib=3D$withval,
+xrender_lib=3Dyes)
=20
 # Checks for programs.
 AC_PROG_CC
 AC_PROG_INSTALL
-AC_PROG_LN_S
+AC_PROG_LIBTOOL
 AC_PATH_X
=20
 PACKAGE_VERSION=3D2.0.0
=20
 # Set major version
-PACKAGE_MAJOR=3D`echo $PACKAGE_VERSION | awk -F . '{ print $1 }'`
-PACKAGE_MINOR=3D`echo $PACKAGE_VERSION | awk -F . '{ print $2 }'`
-PACKAGE_REVISION=3D`echo $PACKAGE_VERSION | awk -F . '{ print $3 }'`
+PACKAGE_MAJOR=3D`echo $PACKAGE_VERSION | awk -F. '{ print $1 }'`
+PACKAGE_MINOR=3D`echo $PACKAGE_VERSION | awk -F. '{ print $2 }'`
+PACKAGE_REVISION=3D`echo $PACKAGE_VERSION | awk -F. '{ print $3 }'`
 AC_SUBST(PACKAGE_VERSION)
 AC_SUBST(PACKAGE_MAJOR)
 AC_SUBST(PACKAGE_MINOR)
 AC_SUBST(PACKAGE_REVISION)
=20
-OBJEXT=3D"o"
-AC_SUBST(OBJEXT)
-
 AC_DEFINE_UNQUOTED(PACKAGE_MAJOR,$PACKAGE_MAJOR)
 AC_DEFINE_UNQUOTED(PACKAGE_MINOR,$PACKAGE_MINOR)
 AC_DEFINE_UNQUOTED(PACKAGE_REVISION,$PACKAGE_REVISION)
=20
-if test "$GCC" =3D "yes"; then
-    MKSHLIB=3D'$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
-    DSO_LDOPTS=3D'-shared -Wl,-h,`echo $@ | sed '"'s/\.so\.\([[0-9][0-9]=
]*\).*/.so.\1/'"'`'
-    DSO_CFLAGS=3D''
-    DSO_PIC_CFLAGS=3D'-fPIC -DPIC'
-else
-
-    AC_CANONICAL_HOST
-   =20
-    MKSHLIB=3D'$(LD) $(DSO_LDOPTS) -o $@'
-    DSO_CFLAGS=3D''
-    DSO_PIC_CFLAGS=3D'-KPIC -DPIC'
-   =20
-    case "$host" in
-    *solaris*)
-    	DSO_LDOPTS=3D'-G -z text -z defs -h $@'
-	LIBS=3D"$LIBS -lc"
-	;;
-    *)
-    	DSO_LDOPTS=3D'-shared -h $@'
-    	;;
-    esac
-fi
-
-AC_SUBST(MKSHLIB)
-AC_SUBST(DSO_LDOPTS)
-AC_SUBST(DSO_CFLAGS)
-AC_SUBST(DSO_PIC_CFLAGS)
-
 #
 # Check X configuration
 #
 case "$have_x" in
 yes)
-	XRENDER_CFLAGS=3D"-I$x_includes"
-	XRENDER_LIBS=3D"-L$x_libraries -lXrender"
+	if test "$xrender_includes" =3D yes; then
+		XRENDER_CFLAGS=3D"-I$x_includes"
+        else
+		XRENDER_CFLAGS=3D"-I$xrender_includes"
+	fi
+
+	if test "$xrender_lib" =3D yes; then
+		XRENDER_LIBS=3D"-L$x_libraries -lXrender"
+	else
+		XRENDER_LIBS=3D"-L$xrender_lib -lXrender"
+	fi
=20
 	saved_LIBS=3D"$LIBS"
 	LIBS=3D"$LIBS $XRENDER_LIBS"
 	saved_CPPFLAGS=3D"$CPPFLAGS"
 	CPPFLAGS=3D"$CPPFLAGS $XRENDER_CFLAGS"
-	AC_CHECK_HEADERS(X11/extensions/Xrender.h)
-=09
-	case "$ac_cv_header_X11_extensions_Xrender_h" in
-	no)
-		CPPFLAGS=3D"$saved_CPPFLAGS"
-		LIBS=3D"$saved_LIBS"
-		;;
-	yes)
-		AC_CHECK_FUNCS(XRenderQueryVersion)
-		case "$ac_cv_func_XRenderQueryVersion" in
-		no)
-			CPPFLAGS=3D"$saved_CPPFLAGS"
-			LIBS=3D"$saved_LIBS"
-			;;
-		yes)
-			AC_DEFINE(HAVE_XRENDER)
-			AC_SUBST(XRENDER_CFLAGS)
-			AC_SUBST(XRENDER_LIBS)
-			;;
-		esac
-		;;
-	esac
-
+	AC_CHECK_HEADERS(X11/extensions/Xrender.h,[
+	  AC_CHECK_FUNCS(XRenderQueryVersion,[
+	    AC_DEFINE(HAVE_XRENDER)
+	    AC_SUBST(XRENDER_CFLAGS)
+	    AC_SUBST(XRENDER_LIBS)],[
+	    CPPFLAGS=3D"$saved_CPPFLAGS"
+	    LIBS=3D"$saved_LIBS"])],[
+	  CPPFLAGS=3D"$saved_CPPFLAGS"
+	  LIBS=3D"$saved_LIBS"], [
+#include <X11/Intrinsic.h>])
 	;;
 esac
=20
--- Xft/Makefile.in.orig	Tue Jan 28 18:07:32 2003
+++ Xft/Makefile.in	Wed Jan 29 00:17:55 2003
@@ -32,15 +32,14 @@
 datadir=3D@datadir@
 includedir=3D@includedir@
 sysconfdir=3D@sysconfdir@
+top_builddir=3D.
+
+LIBTOOL=3D@LIBTOOL@
=20
 CDEBUGFLAGS=3D@CFLAGS@
 CPPFLAGS=3D@CPPFLAGS@
 DEFS=3D@DEFS@
=20
-DSO_LDOPTS=3D@DSO_LDOPTS@
-DSO_CFLAGS=3D@DSO_CFLAGS@
-DSO_PIC_CFLAGS=3D@DSO_PIC_CFLAGS@
-
 INCLUDES=3D-I.
=20
 CFLAGS=3D$(CDEBUGFLAGS) $(INCLUDES) $(DEFS) $(CPPFLAGS)
@@ -49,8 +48,7 @@
 INSTALL_PROGRAM=3D@INSTALL_PROGRAM@
 INSTALL_SCRIPT=3D@INSTALL_SCRIPT@
 INSTALL_DATA=3D@INSTALL_DATA@
-MKSHLIB=3D@MKSHLIB@
-LN_S=3D@LN_S@
+mkinstalldirs=3D$(SHELL) $(top_builddir)/config/mkinstalldirs
=20
 X_FONT_DIR=3D@X_FONT_DIR@
 FC_DEFAULT_FONTS=3D@FC_DEFAULT_FONTS@
@@ -62,9 +60,8 @@
 # include files
 INCLUDEDIR=3D$(includedir)/X11/Xft
=20
-LIBBASE=3DlibXft.so
-LIBFILE=3D$(LIBBASE).@PACKAGE_MAJOR@.@PACKAGE_MINOR@
-LIBMAJOR=3D$(LIBBASE).@PACKAGE_MAJOR@
+LIBVER=3D-version-info 0:0:0
+LIBFILE=3DlibXft.la
=20
 LIBS=3D@LIBS@
=20
@@ -85,85 +82,54 @@
      xftswap.c \
      xftxlfd.c
     =20
-OBJS=3Dxftcolor.@OBJEXT@ \
-     xftcore.@OBJEXT@ \
-     xftdbg.@OBJEXT@ \
-     xftdpy.@OBJEXT@ \
-     xftdraw.@OBJEXT@ \
-     xftextent.@OBJEXT@ \
-     xftfont.@OBJEXT@ \
-     xftfreetype.@OBJEXT@ \
-     xftglyphs.@OBJEXT@ \
-     xftinit.@OBJEXT@ \
-     xftlist.@OBJEXT@ \
-     xftname.@OBJEXT@ \
-     xftrender.@OBJEXT@ \
-     xftstr.@OBJEXT@ \
-     xftswap.@OBJEXT@ \
-     xftxlfd.@OBJEXT@
+OBJS=3Dxftcolor.lo \
+     xftcore.lo \
+     xftdbg.lo \
+     xftdpy.lo \
+     xftdraw.lo \
+     xftextent.lo \
+     xftfont.lo \
+     xftfreetype.lo \
+     xftglyphs.lo \
+     xftinit.lo \
+     xftlist.lo \
+     xftname.lo \
+     xftrender.lo \
+     xftstr.lo \
+     xftswap.lo \
+     xftxlfd.lo
     =20
 HEADERS=3DXft.h \
        XftCompat.h \
        xftint.h
=20
-.c.@OBJEXT@:
-	$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) -c $< -o $@
+.SUFFIXES:
+.SUFFIXES: .c .lo .o
+
+.c.o:
+	$(CC) $(CFLAGS) -c $< -o $@
+
+.c.lo:
+	$(LIBTOOL) --mode=3Dcompile $(CC) $(CFLAGS) -c $< -o $@
 =09
-all:: $(LIBFILE) $(LIBMAJOR) $(LIBBASE)
+all:: $(LIBFILE)
=20
 #
 # Build the library
 #
 $(LIBFILE): $(OBJS)
-	rm -f $@
-	$(MKSHLIB) $(OBJS) $(LIBS)
-
-$(LIBMAJOR): $(LIBFILE)
-	rm -f  $@
-	$(LN_S) $(LIBFILE) $(LIBMAJOR)
-
-$(LIBBASE): $(LIBMAJOR)
-	rm -f $@
-	$(LN_S) $(LIBMAJOR) $(LIBBASE)
+	$(LIBTOOL) --mode=3Dlink $(CC) -o $@ -rpath $(libdir) \
+	$(LIBVER) $(OBJS) $(LIBS) -lX11
=20
 $(OBJS): $(HEADERS)
=20
 #
-# install directories
-#
-
-install:: $(DESTDIR)$(LIBDIR) $(DESTDIR)$(LIBDIR)/pkgconfig
-install:: $(DESTDIR)$(INCLUDEDIR) $(DESTDIR)$(BINDIR)
-
-$(DESTDIR)$(LIBDIR):
-	mkdir -p $@
-
-$(DESTDIR)$(LIBDIR)/pkgconfig:
-	mkdir -p $@
-
-$(DESTDIR)$(INCLUDEDIR):
-	mkdir -p $@
-
-$(DESTDIR)$(BINDIR):
-	mkdir -p $@
-
-#
 # install library
 #
=20
-install:: $(DESTDIR)$(LIBDIR)/$(LIB) $(DESTDIR)$(LIBDIR)/$(LIBMAJOR)=20
-install:: $(DESTDIR)$(LIBDIR)/$(LIBBASE)
-
-$(DESTDIR)$(LIBDIR)/$(LIBFILE): $(LIBFILE)
-	$(INSTALL_PROGRAM) $< $(DESTDIR)$(LIBDIR)
-
-$(DESTDIR)$(LIBDIR)/$(LIBMAJOR): $(DESTDIR)$(LIBDIR)/$(LIBFILE)
-	rm -f  $@
-	$(LN_S) $(LIBFILE) $(DESTDIR)$(LIBDIR)/$(LIBMAJOR)
-
-$(DESTDIR)$(LIBDIR)/$(LIBBASE): $(DESTDIR)$(LIBDIR)/$(LIBMAJOR)
-	rm -f  $@
-	$(LN_S) $(LIBMAJOR) $(DESTDIR)$(LIBDIR)/$(LIBBASE)
+install:: $(LIBFILE)
+	$(mkinstalldirs) $(DESTDIR)$(LIBDIR)
+	$(LIBTOOL) --mode=3Dinstall $(INSTALL_PROGRAM) $< $(DESTDIR)$(LIBDIR)
=20
 #
 # install xft-config script
@@ -172,6 +138,7 @@
 install:: $(DESTDIR)$(BINDIR)/xft-config
=20
 $(DESTDIR)$(BINDIR)/xft-config: xft-config
+	$(mkinstalldirs) $(DESTDIR)$(BINDIR)
 	$(INSTALL_SCRIPT) $< $(DESTDIR)$(BINDIR)
=20
 #
@@ -181,6 +148,7 @@
 install:: $(DESTDIR)$(LIBDIR)/pkgconfig/xft.pc
=20
 $(DESTDIR)$(LIBDIR)/pkgconfig/xft.pc: xft.pc
+	$(mkinstalldirs) $(DESTDIR)$(LIBDIR)
 	$(INSTALL_DATA) $< $(DESTDIR)$(LIBDIR)/pkgconfig
=20
=20
@@ -191,9 +159,11 @@
 install::$(DESTDIR)$(INCLUDEDIR)/Xft.h $(DESTDIR)$(INCLUDEDIR)/XftCompat=
.h
=20
 $(DESTDIR)$(INCLUDEDIR)/Xft.h: Xft.h
+	$(mkinstalldirs) $(DESTDIR)$(INCLUDEDIR)
 	$(INSTALL_DATA) $< $(DESTDIR)$(INCLUDEDIR)
=20
 $(DESTDIR)$(INCLUDEDIR)/XftCompat.h: XftCompat.h
+	$(mkinstalldirs) $(DESTDIR)$(INCLUDEDIR)
 	$(INSTALL_DATA) $< $(DESTDIR)$(INCLUDEDIR)
=20
 #
--- /dev/null	Thu Feb 13 10:36:44 2003
+++ Xrender/configure.in	Tue Jan 28 21:22:32 2003
@@ -0,0 +1,24 @@
+dnl Process this file with autoconf to produce a configure script.
+AC_INIT(Xrender.c)
+
+dnl Checks for programs.
+AC_PROG_CC
+AC_ISC_POSIX
+
+AC_PROG_LIBTOOL
+AC_PROG_INSTALL
+
+dnl Check for required header files
+AC_HEADER_STDC
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+
+AC_PATH_XTRA
+dnl X flags
+if test "$no_x" !=3D 'yes'; then
+  LDFLAGS=3D"$LDFLAGS $X_LIBS"
+  CPPFLAGS=3D"$CPPFLAGS $X_CFLAGS"
+fi
+
+AC_OUTPUT(Makefile)
--- Xrender/render.h	Thu Nov 21 20:30:00 2002
+++ /dev/null	Tue Jan 28 21:33:54 2003
@@ -1,172 +0,0 @@
-/*
- * $XFree86: xc/include/extensions/render.h,v 1.10 2002/11/06 22:47:49 k=
eithp Exp $
- *
- * Copyright =A9 2000 SuSE, Inc.
- *
- * Permission to use, copy, modify, distribute, and sell this software a=
nd its
- * documentation for any purpose is hereby granted without fee, provided=
 that
- * the above copyright notice appear in all copies and that both that
- * copyright notice and this permission notice appear in supporting
- * documentation, and that the name of SuSE not be used in advertising o=
r
- * publicity pertaining to distribution of the software without specific=
,
- * written prior permission.  SuSE makes no representations about the
- * suitability of this software for any purpose.  It is provided "as is"
- * without express or implied warranty.
- *
- * SuSE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING=
 ALL
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL =
SuSE
- * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY D=
AMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN=
 ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR I=
N=20
- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * Author:  Keith Packard, SuSE, Inc.
- */
-
-#ifndef _RENDER_H_
-#define _RENDER_H_
-
-typedef unsigned long	Glyph;
-typedef unsigned long	GlyphSet;
-typedef unsigned long	Picture;
-typedef unsigned long	PictFormat;
-
-#define RENDER_NAME	"RENDER"
-#define RENDER_MAJOR	0
-#define RENDER_MINOR	7
-
-#define X_RenderQueryVersion		    0
-#define X_RenderQueryPictFormats	    1
-#define X_RenderQueryPictIndexValues	    2	/* 0.7 */
-#define X_RenderQueryDithers		    3
-#define X_RenderCreatePicture		    4
-#define X_RenderChangePicture		    5
-#define X_RenderSetPictureClipRectangles    6
-#define X_RenderFreePicture		    7
-#define X_RenderComposite		    8
-#define X_RenderScale			    9
-#define X_RenderTrapezoids		    10
-#define X_RenderTriangles		    11
-#define X_RenderTriStrip		    12
-#define X_RenderTriFan			    13
-#define X_RenderColorTrapezoids		    14
-#define X_RenderColorTriangles		    15
-/* #define X_RenderTransform		    16 */
-#define X_RenderCreateGlyphSet		    17
-#define X_RenderReferenceGlyphSet	    18
-#define X_RenderFreeGlyphSet		    19
-#define X_RenderAddGlyphs		    20
-#define X_RenderAddGlyphsFromPicture	    21
-#define X_RenderFreeGlyphs		    22
-#define X_RenderCompositeGlyphs8	    23
-#define X_RenderCompositeGlyphs16	    24
-#define X_RenderCompositeGlyphs32	    25
-#define X_RenderFillRectangles		    26
-/* 0.5 */
-#define X_RenderCreateCursor		    27
-/* 0.6 */
-#define X_RenderSetPictureTransform	    28
-#define X_RenderQueryFilters		    29
-#define X_RenderSetPictureFilter	    30
-#define RenderNumberRequests		    (X_RenderSetPictureFilter+1)
-
-#define BadPictFormat			    0
-#define BadPicture			    1
-#define BadPictOp			    2
-#define BadGlyphSet			    3
-#define BadGlyph			    4
-#define RenderNumberErrors		    (BadGlyph+1)
-
-#define PictTypeIndexed			    0
-#define PictTypeDirect			    1
-
-#define PictOpMinimum			    0
-#define PictOpClear			    0
-#define PictOpSrc			    1
-#define PictOpDst			    2
-#define PictOpOver			    3
-#define PictOpOverReverse		    4
-#define PictOpIn			    5
-#define PictOpInReverse			    6
-#define PictOpOut			    7
-#define PictOpOutReverse		    8
-#define PictOpAtop			    9
-#define PictOpAtopReverse		    10
-#define PictOpXor			    11
-#define PictOpAdd			    12
-#define PictOpSaturate			    13
-#define PictOpMaximum			    13
-
-/*
- * Operators only available in version 0.2
- */
-#define PictOpDisjointMinimum			    0x10
-#define PictOpDisjointClear			    0x10
-#define PictOpDisjointSrc			    0x11
-#define PictOpDisjointDst			    0x12
-#define PictOpDisjointOver			    0x13
-#define PictOpDisjointOverReverse		    0x14
-#define PictOpDisjointIn			    0x15
-#define PictOpDisjointInReverse			    0x16
-#define PictOpDisjointOut			    0x17
-#define PictOpDisjointOutReverse		    0x18
-#define PictOpDisjointAtop			    0x19
-#define PictOpDisjointAtopReverse		    0x1a
-#define PictOpDisjointXor			    0x1b
-#define PictOpDisjointMaximum			    0x1b
-
-#define PictOpConjointMinimum			    0x20
-#define PictOpConjointClear			    0x20
-#define PictOpConjointSrc			    0x21
-#define PictOpConjointDst			    0x22
-#define PictOpConjointOver			    0x23
-#define PictOpConjointOverReverse		    0x24
-#define PictOpConjointIn			    0x25
-#define PictOpConjointInReverse			    0x26
-#define PictOpConjointOut			    0x27
-#define PictOpConjointOutReverse		    0x28
-#define PictOpConjointAtop			    0x29
-#define PictOpConjointAtopReverse		    0x2a
-#define PictOpConjointXor			    0x2b
-#define PictOpConjointMaximum			    0x2b
-
-#define PolyEdgeSharp			    0
-#define PolyEdgeSmooth			    1
-
-#define PolyModePrecise			    0
-#define PolyModeImprecise		    1
-
-#define CPRepeat			    (1 << 0)
-#define CPAlphaMap			    (1 << 1)
-#define CPAlphaXOrigin			    (1 << 2)
-#define CPAlphaYOrigin			    (1 << 3)
-#define CPClipXOrigin			    (1 << 4)
-#define CPClipYOrigin			    (1 << 5)
-#define CPClipMask			    (1 << 6)
-#define CPGraphicsExposure		    (1 << 7)
-#define CPSubwindowMode			    (1 << 8)
-#define CPPolyEdge			    (1 << 9)
-#define CPPolyMode			    (1 << 10)
-#define CPDither			    (1 << 11)
-#define CPComponentAlpha		    (1 << 12)
-#define CPLastBit			    11
-
-/* Filters included in 0.6 */
-#define FilterNearest			    "nearest"
-#define FilterBilinear			    "bilinear"
-
-#define FilterFast			    "fast"
-#define FilterGood			    "good"
-#define FilterBest			    "best"
-
-#define FilterAliasNone			    -1
-
-/* Subpixel orders included in 0.6 */
-#define SubPixelUnknown			    0
-#define SubPixelHorizontalRGB		    1
-#define SubPixelHorizontalBGR		    2
-#define SubPixelVerticalRGB		    3
-#define SubPixelVerticalBGR		    4
-#define SubPixelNone			    5
-
-#endif	/* _RENDER_H_ */
--- /dev/null	Tue Jan 28 21:33:54 2003
+++ Xrender/X11/extensions/render.h	Tue Jan 28 22:38:58 2003
@@ -0,0 +1,172 @@
+/*
+ * $XFree86: xc/include/extensions/render.h,v 1.10 2002/11/06 22:47:49 k=
eithp Exp $
+ *
+ * Copyright =A9 2000 SuSE, Inc.
+ *
+ * Permission to use, copy, modify, distribute, and sell this software a=
nd its
+ * documentation for any purpose is hereby granted without fee, provided=
 that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of SuSE not be used in advertising o=
r
+ * publicity pertaining to distribution of the software without specific=
,
+ * written prior permission.  SuSE makes no representations about the
+ * suitability of this software for any purpose.  It is provided "as is"
+ * without express or implied warranty.
+ *
+ * SuSE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING=
 ALL
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL =
SuSE
+ * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY D=
AMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN=
 ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR I=
N=20
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Author:  Keith Packard, SuSE, Inc.
+ */
+
+#ifndef _RENDER_H_
+#define _RENDER_H_
+
+typedef unsigned long	Glyph;
+typedef unsigned long	GlyphSet;
+typedef unsigned long	Picture;
+typedef unsigned long	PictFormat;
+
+#define RENDER_NAME	"RENDER"
+#define RENDER_MAJOR	0
+#define RENDER_MINOR	7
+
+#define X_RenderQueryVersion		    0
+#define X_RenderQueryPictFormats	    1
+#define X_RenderQueryPictIndexValues	    2	/* 0.7 */
+#define X_RenderQueryDithers		    3
+#define X_RenderCreatePicture		    4
+#define X_RenderChangePicture		    5
+#define X_RenderSetPictureClipRectangles    6
+#define X_RenderFreePicture		    7
+#define X_RenderComposite		    8
+#define X_RenderScale			    9
+#define X_RenderTrapezoids		    10
+#define X_RenderTriangles		    11
+#define X_RenderTriStrip		    12
+#define X_RenderTriFan			    13
+#define X_RenderColorTrapezoids		    14
+#define X_RenderColorTriangles		    15
+/* #define X_RenderTransform		    16 */
+#define X_RenderCreateGlyphSet		    17
+#define X_RenderReferenceGlyphSet	    18
+#define X_RenderFreeGlyphSet		    19
+#define X_RenderAddGlyphs		    20
+#define X_RenderAddGlyphsFromPicture	    21
+#define X_RenderFreeGlyphs		    22
+#define X_RenderCompositeGlyphs8	    23
+#define X_RenderCompositeGlyphs16	    24
+#define X_RenderCompositeGlyphs32	    25
+#define X_RenderFillRectangles		    26
+/* 0.5 */
+#define X_RenderCreateCursor		    27
+/* 0.6 */
+#define X_RenderSetPictureTransform	    28
+#define X_RenderQueryFilters		    29
+#define X_RenderSetPictureFilter	    30
+#define RenderNumberRequests		    (X_RenderSetPictureFilter+1)
+
+#define BadPictFormat			    0
+#define BadPicture			    1
+#define BadPictOp			    2
+#define BadGlyphSet			    3
+#define BadGlyph			    4
+#define RenderNumberErrors		    (BadGlyph+1)
+
+#define PictTypeIndexed			    0
+#define PictTypeDirect			    1
+
+#define PictOpMinimum			    0
+#define PictOpClear			    0
+#define PictOpSrc			    1
+#define PictOpDst			    2
+#define PictOpOver			    3
+#define PictOpOverReverse		    4
+#define PictOpIn			    5
+#define PictOpInReverse			    6
+#define PictOpOut			    7
+#define PictOpOutReverse		    8
+#define PictOpAtop			    9
+#define PictOpAtopReverse		    10
+#define PictOpXor			    11
+#define PictOpAdd			    12
+#define PictOpSaturate			    13
+#define PictOpMaximum			    13
+
+/*
+ * Operators only available in version 0.2
+ */
+#define PictOpDisjointMinimum			    0x10
+#define PictOpDisjointClear			    0x10
+#define PictOpDisjointSrc			    0x11
+#define PictOpDisjointDst			    0x12
+#define PictOpDisjointOver			    0x13
+#define PictOpDisjointOverReverse		    0x14
+#define PictOpDisjointIn			    0x15
+#define PictOpDisjointInReverse			    0x16
+#define PictOpDisjointOut			    0x17
+#define PictOpDisjointOutReverse		    0x18
+#define PictOpDisjointAtop			    0x19
+#define PictOpDisjointAtopReverse		    0x1a
+#define PictOpDisjointXor			    0x1b
+#define PictOpDisjointMaximum			    0x1b
+
+#define PictOpConjointMinimum			    0x20
+#define PictOpConjointClear			    0x20
+#define PictOpConjointSrc			    0x21
+#define PictOpConjointDst			    0x22
+#define PictOpConjointOver			    0x23
+#define PictOpConjointOverReverse		    0x24
+#define PictOpConjointIn			    0x25
+#define PictOpConjointInReverse			    0x26
+#define PictOpConjointOut			    0x27
+#define PictOpConjointOutReverse		    0x28
+#define PictOpConjointAtop			    0x29
+#define PictOpConjointAtopReverse		    0x2a
+#define PictOpConjointXor			    0x2b
+#define PictOpConjointMaximum			    0x2b
+
+#define PolyEdgeSharp			    0
+#define PolyEdgeSmooth			    1
+
+#define PolyModePrecise			    0
+#define PolyModeImprecise		    1
+
+#define CPRepeat			    (1 << 0)
+#define CPAlphaMap			    (1 << 1)
+#define CPAlphaXOrigin			    (1 << 2)
+#define CPAlphaYOrigin			    (1 << 3)
+#define CPClipXOrigin			    (1 << 4)
+#define CPClipYOrigin			    (1 << 5)
+#define CPClipMask			    (1 << 6)
+#define CPGraphicsExposure		    (1 << 7)
+#define CPSubwindowMode			    (1 << 8)
+#define CPPolyEdge			    (1 << 9)
+#define CPPolyMode			    (1 << 10)
+#define CPDither			    (1 << 11)
+#define CPComponentAlpha		    (1 << 12)
+#define CPLastBit			    11
+
+/* Filters included in 0.6 */
+#define FilterNearest			    "nearest"
+#define FilterBilinear			    "bilinear"
+
+#define FilterFast			    "fast"
+#define FilterGood			    "good"
+#define FilterBest			    "best"
+
+#define FilterAliasNone			    -1
+
+/* Subpixel orders included in 0.6 */
+#define SubPixelUnknown			    0
+#define SubPixelHorizontalRGB		    1
+#define SubPixelHorizontalBGR		    2
+#define SubPixelVerticalRGB		    3
+#define SubPixelVerticalBGR		    4
+#define SubPixelNone			    5
+
+#endif	/* _RENDER_H_ */
--- Xrender/Xrenderint.h.orig	Tue Jan 28 21:44:50 2003
+++ Xrender/Xrenderint.h	Tue Jan 28 21:45:05 2003
@@ -30,7 +30,7 @@
 #define NEED_REPLIES
 #include <X11/Xlibint.h>
 #include <X11/Xutil.h>
-#include "Xext.h"			/* in ../include */
+#include <X11/extensions/Xext.h>	/* in ../include */
 #include "extutil.h"			/* in ../include */
 #include "Xrender.h"
 #include "renderproto.h"
--- fontconfig/configure.in.orig	Tue Dec 17 14:53:56 2002
+++ fontconfig/configure.in	Wed Feb 12 17:47:18 2003
@@ -34,7 +34,7 @@
 AC_ARG_WITH(expat,             [  --with-expat=3DDIR              Use Ex=
pat in DIR], expat=3D$withval, expat=3Dyes)
 AC_ARG_WITH(expat_includes,    [  --with-expat-includes=3DDIR     Use Ex=
pat includes in DIR], expat_includes=3D$withval, expat_includes=3Dyes)
 AC_ARG_WITH(expat_lib,         [  --with-expat-lib=3DDIR          Use Ex=
pat library in DIR], expat_lib=3D$withval, expat_lib=3Dyes)
-AC_ARG_WITH(default_fonts,     [  --with-default-fonts=3DDIR      Use fo=
nts from DIR when config is busted], defaultfonts=3D"$withval", default_f=
onts=3Dyes)
+AC_ARG_WITH(default_fonts,     [  --with-default-fonts=3DDIR      Use fo=
nts from DIR when config is busted], default_fonts=3D"$withval", default_=
fonts=3Dyes)
 AC_ARG_WITH(confdir,           [  --with-confdir=3DDIR            Use DI=
R to store configuration files (default /etc/fonts)], confdir=3D"$withval=
", confdir=3Dyes)
=20
 # Checks for programs.
@@ -46,21 +46,20 @@
 PACKAGE_VERSION=3D1.0.1
=20
 # Set major version
-PACKAGE_MAJOR=3D`echo $PACKAGE_VERSION | awk -F . '{ print $1 }'`
-PACKAGE_MINOR=3D`echo $PACKAGE_VERSION | awk -F . '{ print $2 }'`
-PACKAGE_REVISION=3D`echo $PACKAGE_VERSION | awk -F . '{ print $3 }'`
+PACKAGE_MAJOR=3D`echo $PACKAGE_VERSION | awk -F. '{ print $1 }'`
+PACKAGE_MINOR=3D`echo $PACKAGE_VERSION | awk -F. '{ print $2 }'`
+PACKAGE_REVISION=3D`echo $PACKAGE_VERSION | awk -F. '{ print $3 }'`
 AC_SUBST(PACKAGE_VERSION)
 AC_SUBST(PACKAGE_MAJOR)
 AC_SUBST(PACKAGE_MINOR)
 AC_SUBST(PACKAGE_REVISION)
=20
-OBJEXT=3D"o"
-AC_SUBST(OBJEXT)
-
 AC_DEFINE_UNQUOTED(PACKAGE_MAJOR,$PACKAGE_MAJOR)
 AC_DEFINE_UNQUOTED(PACKAGE_MINOR,$PACKAGE_MINOR)
 AC_DEFINE_UNQUOTED(PACKAGE_REVISION,$PACKAGE_REVISION)
-	=20
+
+AC_PROG_LIBTOOL
+
 # Checks for header files.
 AC_HEADER_DIRENT
 AC_HEADER_STDC
@@ -74,41 +73,16 @@
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([memmove memset strchr strrchr strtol getopt getopt_long]=
)
=20
-if test "$GCC" =3D "yes"; then
-    MKSHLIB=3D'$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
-    DSO_LDOPTS=3D'-shared -Wl,-h,`echo $@ | sed '"'s/\.so\.\([[0-9][0-9]=
]*\).*/.so.\1/'"'`'
-    DSO_CFLAGS=3D''
-    DSO_PIC_CFLAGS=3D'-fPIC -DPIC'
-else
-    AC_CANONICAL_HOST
-   =20
-    MKSHLIB=3D'$(LD) $(DSO_LDOPTS) -o $@'
-    DSO_CFLAGS=3D''
-    DSO_PIC_CFLAGS=3D'-KPIC -DPIC'
-   =20
-    case "$host" in
-    *solaris*)
-    	DSO_LDOPTS=3D'-G -z text -z defs -h $@'
-	LIBS=3D"$LIBS -lc"
-	;;
-    *)
-    	DSO_LDOPTS=3D'-shared -h $@'
-    	;;
-    esac
-fi
-
-AC_SUBST(MKSHLIB)
-AC_SUBST(DSO_LDOPTS)
-AC_SUBST(DSO_CFLAGS)
-AC_SUBST(DSO_PIC_CFLAGS)
-
 #
 # Using x libraries, set X font directory
 case "$no_x" in
 yes)
 	;;
 *)
-	X_FONT_DIR=3D"$x_libraries/X11/fonts"
+	AC_ARG_WITH([x11-font-dir],
+	AC_HELP_STRING([--with-x11-font-dir=3DDIR],
+	[set default X11 font directory to DIR]),
+	X_FONT_DIR=3D$withval, X_FONT_DIR=3D"$x_libraries/X11/fonts")
 	AC_DEFINE_UNQUOTED(X_FONT_DIR,$X_FONT_DIR)
 	;;
 esac
--- fontconfig/src/Makefile.in.orig	Tue Jan 28 16:27:34 2003
+++ fontconfig/src/Makefile.in	Tue Jan 28 19:59:40 2003
@@ -23,6 +23,7 @@
 #
=20
 TOPDIR=3D..
+top_builddir=3D$(TOPDIR)
=20
 include $(TOPDIR)/config/Makedefs
=20
@@ -48,73 +49,53 @@
      fcstr.c \
      fcxml.c
=20
-OBJS=3Dfcatomic.@OBJEXT@ \
-     fcblanks.@OBJEXT@ \
-     fccache.@OBJEXT@ \
-     fccfg.@OBJEXT@ \
-     fccharset.@OBJEXT@ \
-     fcdbg.@OBJEXT@ \
-     fcdefault.@OBJEXT@ \
-     fcdir.@OBJEXT@ \
-     fcfreetype.@OBJEXT@ \
-     fcfs.@OBJEXT@ \
-     fcinit.@OBJEXT@ \
-     fclang.@OBJEXT@ \
-     fclist.@OBJEXT@ \
-     fcmatch.@OBJEXT@ \
-     fcmatrix.@OBJEXT@ \
-     fcname.@OBJEXT@ \
-     fcpat.@OBJEXT@ \
-     fcstr.@OBJEXT@ \
-     fcxml.@OBJEXT@
+OBJS=3Dfcatomic.lo \
+     fcblanks.lo \
+     fccache.lo \
+     fccfg.lo \
+     fccharset.lo \
+     fcdbg.lo \
+     fcdefault.lo \
+     fcdir.lo \
+     fcfreetype.lo \
+     fcfs.lo \
+     fcinit.lo \
+     fclang.lo \
+     fclist.lo \
+     fcmatch.lo \
+     fcmatrix.lo \
+     fcname.lo \
+     fcpat.lo \
+     fcstr.lo \
+     fcxml.lo
=20
-.c.@OBJEXT@:
-	$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) -c $< -o $@
+.SUFFIXES:
+.SUFFIXES: .c .lo .o
+
+.c.o:
+	$(CC) $(CFLAGS) -c $< -o $@
+
+.c.lo:
+	$(LIBTOOL) --mode=3Dcompile $(CC) $(CFLAGS) -c $< -o $@
 =09
-all:: $(LIBFILE) $(LIBMAJOR) $(LIBBASE)
+all:: $(LIBFILE)
=20
 #=20
 # build the library and the various version links
 #
 $(LIBFILE): $(OBJS)
-	rm -f $@
-	$(MKSHLIB) $(OBJS) $(LIBS)
-
-$(LIBMAJOR): $(LIBFILE)
-	rm -f  $@
-	$(LN_S) $(LIBFILE) $(LIBMAJOR)
-
-$(LIBBASE): $(LIBMAJOR)
-	rm -f $@
-	$(LN_S) $(LIBMAJOR) $(LIBBASE)
+	$(LIBTOOL) --mode=3Dlink $(CC) -o $@ -rpath $(libdir) \
+	$(LIBVER) $(OBJS) $(LIBS)
=20
 $(OBJS): fcint.h $(HEADERS)
=20
-#
-# install directories
-#
-install:: $(DESTDIR)$(LIBDIR)
-
-$(DESTDIR)$(LIBDIR):
-	mkdir -p $@
-
 #=20
 # install library
 #
=20
-install:: $(DESTDIR)$(LIBDIR)/$(LIB) $(DESTDIR)$(LIBDIR)/$(LIBMAJOR)
-install:: $(DESTDIR)$(LIBDIR)/$(LIBBASE)
-
-$(DESTDIR)$(LIBDIR)/$(LIBFILE): $(LIBFILE)
-	$(INSTALL_PROGRAM) $< $(DESTDIR)$(LIBDIR)/$<
-
-$(DESTDIR)$(LIBDIR)/$(LIBMAJOR): $(DESTDIR)$(LIBDIR)/$(LIBFILE)
-	rm -f $(DESTDIR)$(LIBDIR)/$(LIBMAJOR)
-	$(LN_S) $(LIBFILE) $(DESTDIR)$(LIBDIR)/$(LIBMAJOR)
-
-$(DESTDIR)$(LIBDIR)/$(LIBBASE): $(DESTDIR)$(LIBDIR)/$(LIBMAJOR)
-	rm -f $(DESTDIR)$(LIBDIR)/$(LIBBASE)
-	$(LN_S) $(LIBMAJOR) $(DESTDIR)$(LIBDIR)/$(LIBBASE)
+install: $(LIBFILE)
+	$(mkinstalldirs) $(DESTDIR)$(LIBDIR)
+	$(LIBTOOL) --mode=3Dinstall $(INSTALL_PROGRAM) $< $(DESTDIR)$(LIBDIR)
=20
 clean::
 	rm -f $(LIBFILE) $(LIBMAJOR) $(LIBBASE) $(OBJS)
--- fontconfig/config/Makedefs.in.orig	Tue Jan 28 16:18:38 2003
+++ fontconfig/config/Makedefs.in	Tue Jan 28 17:38:12 2003
@@ -34,16 +34,13 @@
 sysconfdir=3D@sysconfdir@
 confdir=3D@confdir@
=20
-DSO_LDOPTS=3D@DSO_LDOPTS@
-DSO_CFLAGS=3D@DSO_CFLAGS@
-DSO_PIC_CFLAGS=3D@DSO_PIC_CFLAGS@
+LIBTOOL=3D@LIBTOOL@
=20
 INSTALL=3D@INSTALL@
 INSTALL_PROGRAM=3D@INSTALL_PROGRAM@
 INSTALL_SCRIPT=3D@INSTALL_SCRIPT@
 INSTALL_DATA=3D@INSTALL_DATA@
-MKSHLIB=3D@MKSHLIB@
-LN_S=3D@LN_S@
+mkinstalldirs =3D $(SHELL) $(TOPDIR)/config/mkinstalldirs
=20
 # shared libraries
 LIBDIR=3D$(libdir)
@@ -64,11 +61,10 @@
=20
 CFLAGS=3D$(CDEBUGFLAGS) @DEFS@ $(FCPATH_DEF) $(INCLUDES)
=20
-LIBBASE=3Dlibfontconfig.so
-LIBFILE=3D$(LIBBASE).@PACKAGE_MAJOR@.@PACKAGE_MINOR@
-LIBMAJOR=3D$(LIBBASE).@PACKAGE_MAJOR@
+LIBVER=3D-version-info 0:0:0
+LIBFILE=3Dlibfontconfig.la
=20
-LIBFONTCONFIG=3D-L$(SRCDIR) -lfontconfig
+LIBFONTCONFIG=3D$(top_builddir)/src/$(LIBFILE)
=20
 SRCDIR=3D$(TOPDIR)/src
=20
--- fontconfig/fc-cache/Makefile.in.orig	Tue Jan 28 17:06:21 2003
+++ fontconfig/fc-cache/Makefile.in	Tue Jan 28 17:37:51 2003
@@ -23,6 +23,7 @@
 #
=20
 TOPDIR=3D..
+top_builddir=3D$(TOPDIR)
=20
 include $(TOPDIR)/config/Makedefs
=20
@@ -35,19 +36,15 @@
 all:: $(PROG)
=20
 $(PROG): $(OBJS)
-	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBFONTCONFIG)
+	$(LIBTOOL) --mode=3Dlink $(CC) $(CFLAGS) -o $@ $(OBJS) \
+	$(LIBFONTCONFIG)
=20
 $(OBJS): $(HEADERS)
=20
-install:: $(DESTDIR)$(BINDIR)
-
-$(DESTDIR)$(BINDIR):
-	mkdir -p $@
-
-install:: $(DESTDIR)$(BINDIR)/$(PROG)
-
-$(DESTDIR)$(BINDIR)/$(PROG): $(PROG)
-	$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(BINDIR)/$<
+install: $(PROG)
+	$(mkinstalldirs) $(DESTDIR)$(BINDIR)
+	$(LIBTOOL) --mode=3Dinstall $(INSTALL_PROGRAM) $(PROG) \
+	$(DESTDIR)$(BINDIR)/$<
=20
 clean::
 	rm -f $(PROG) $(OBJS)
--- fontconfig/fc-list/Makefile.in.orig	Tue Jan 28 17:10:53 2003
+++ fontconfig/fc-list/Makefile.in	Tue Jan 28 17:28:17 2003
@@ -23,6 +23,7 @@
 #
=20
 TOPDIR=3D..
+top_builddir=3D$(TOPDIR)
=20
 include $(TOPDIR)/config/Makedefs
=20
@@ -35,19 +36,15 @@
 all:: $(PROG)
=20
 $(PROG): $(OBJS)
-	$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBFONTCONFIG)
+	$(LIBTOOL) --mode=3Dlink $(CC) $(CFLAGS) -o $@ $(OBJS) \
+	$(LIBFONTCONFIG)
=20
 $(OBJS): $(HEADERS)
=20
-install:: $(DESTDIR)$(BINDIR)
-
-$(DESTDIR)$(BINDIR):
-	mkdir -p $@
-
-install:: $(DESTDIR)$(BINDIR)/$(PROG)
-
-$(DESTDIR)$(BINDIR)/$(PROG): $(PROG)
-	$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(BINDIR)/$<
+install: $(PROG)
+	$(mkinstalldirs) $(DESTDIR)$(BINDIR)
+	$(LIBTOOL) --mode=3Dinstall $(INSTALL_PROGRAM) $(PROG) \
+	$(DESTDIR)$(BINDIR)/$<
=20
 clean::
 	rm -f $(PROG) $(OBJS)


From fontconfig@fontconfig.org  Thu Feb 13 17:36:49 2003
From: fontconfig@fontconfig.org (Albert Chin)
Date: Thu, 13 Feb 2003 11:36:49 -0600
Subject: [Fontconfig] Xft with Xsun + XRender
In-Reply-To: <E18ipUe-0002m8-00@localhost>
References: <20030212041709.GA24385@seymour.home> <E18ipUe-0002m8-00@localhost>
Message-ID: <20030213173649.GA16731@spuckler.il.thewrittenword.com>

On Tue, Feb 11, 2003 at 09:31:36PM -0800, Keith Packard wrote:
> I just wrote an Xaw based app for viewing fonts that you might play with,
> it should work on vanilla Solaris.
> 
> 	$ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS login
> 	Logging in to :pserver:anoncvs@keithp.com:2401/local/src/CVS
> 	CVS password: <hit return>
> 	$ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS co waterfall
> 	$ cd waterfall
> 	$ xmkmf -a
> 	$ make

I ran this without first having run fc-cache. I get the error:
  Error: XtCreateWidget "styleName" requires non-NULL parent

Is fc-cache mandatory?

-- 
albert chin (china@thewrittenword.com)


From fontconfig@fontconfig.org  Thu Feb 13 18:26:37 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Thu, 13 Feb 2003 10:26:37 -0800
Subject: [Fontconfig] Xft with Xsun + XRender
In-Reply-To: Your message of "Thu, 13 Feb 2003 11:36:49 CST."
 <20030213173649.GA16731@spuckler.il.thewrittenword.com>
Message-ID: <E18jO4D-0001iB-00@localhost>

Around 11 o'clock on Feb 13, Albert Chin wrote:

> I ran this without first having run fc-cache. I get the error:
>  Error: XtCreateWidget "styleName" requires non-NULL parent
>
> Is fc-cache mandatory?

It shouldn't be, but there was a bug in fontconfig which made the per-user 
cache files break badly in many cases.  Things should work a bit better 
now, but I'm still working in that area.

-keith




From fontconfig@fontconfig.org  Thu Feb 13 18:30:05 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Thu, 13 Feb 2003 10:30:05 -0800
Subject: [Fontconfig] libtoolize fcpackage
In-Reply-To: Your message of "Thu, 13 Feb 2003 11:21:36 CST."
 <20030213172136.GB15371@spuckler.il.thewrittenword.com>
Message-ID: <E18jO7Z-0001iX-00@localhost>

Around 11 o'clock on Feb 13, Albert Chin wrote:

> Don't know if this will be accepted but the following uses libtool to
> build Xft, Xrender, and fontconfig. We have to build for Solaris,
> HP-UX, IRIX, Tru64 UNIX, AIX, and Redhat Linux so this makes it much
> easier.

I'm planning on migrating these libraries to automake, so libtool is 
certainly in our future.  Help in this process would be greatly 
appreciated.

If you could split out the fontconfig specific changes and stick them in a 
bugzilla entry on fontconfig.org, I'll see about getting this done 
sometime soonish.  The biggest question is how to retain library version 
numbers as we transition to libtool, which has it's own mystic ideas about 
library versioning.  I'd like to see what major/minor library versions are 
generated in each environment and compare those with the existing numbers.

-keith




From fontconfig@fontconfig.org  Thu Feb 13 18:41:54 2003
From: fontconfig@fontconfig.org (Albert Chin)
Date: Thu, 13 Feb 2003 12:41:54 -0600
Subject: [Fontconfig] libtoolize fcpackage
In-Reply-To: <E18jO7Z-0001iX-00@localhost>
References: <20030213172136.GB15371@spuckler.il.thewrittenword.com> <E18jO7Z-0001iX-00@localhost>
Message-ID: <20030213184154.GB16731@spuckler.il.thewrittenword.com>

On Thu, Feb 13, 2003 at 10:30:05AM -0800, Keith Packard wrote:
> 
> Around 11 o'clock on Feb 13, Albert Chin wrote:
> 
> > Don't know if this will be accepted but the following uses libtool to
> > build Xft, Xrender, and fontconfig. We have to build for Solaris,
> > HP-UX, IRIX, Tru64 UNIX, AIX, and Redhat Linux so this makes it much
> > easier.
> 
> I'm planning on migrating these libraries to automake, so libtool is 
> certainly in our future.  Help in this process would be greatly 
> appreciated.
> 
> If you could split out the fontconfig specific changes and stick them in a 
> bugzilla entry on fontconfig.org, I'll see about getting this done 
> sometime soonish.  The biggest question is how to retain library version 
> numbers as we transition to libtool, which has it's own mystic ideas about 
> library versioning.  I'd like to see what major/minor library versions are 
> generated in each environment and compare those with the existing numbers.

Will do so later today. Yeah, forgot to mention how best to select a
libtool version (-version-info).

-- 
albert chin (china@thewrittenword.com)


From fontconfig@fontconfig.org  Thu Feb 13 23:17:06 2003
From: fontconfig@fontconfig.org (Albert Chin)
Date: Thu, 13 Feb 2003 17:17:06 -0600
Subject: [Fontconfig] _XAllocTemp and _XFreeTemp in Xrender
Message-ID: <20030213231706.GA29888@spuckler.il.thewrittenword.com>

Any way to work around use of _XAllocTemp and _XFreeTemp in Xrender?
These don't appear to be available in X11R5 and therefore cause builds
to fail on Solaris 2.5.1.

-- 
albert chin (china@thewrittenword.com)


From fontconfig@fontconfig.org  Fri Feb 14 05:14:32 2003
From: fontconfig@fontconfig.org (Anthony Fok)
Date: Fri, 14 Feb 2003 13:14:32 +0800
Subject: [Fontconfig] Mozilla, Xft and (buggy?) fonts
In-Reply-To: <E18ifhi-0002C5-00@localhost>
References: <20030211183909.GA6832@anthony.homelinux.net> <E18ifhi-0002C5-00@localhost>
Message-ID: <20030214051432.GE27461@anthony.homelinux.net>

--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello Keith,

On Tue, Feb 11, 2003 at 11:04:26AM -0800, Keith Packard wrote:
> > A visual check with ftview showed that the glyph indices are off by 26
> 
> I have a vague recollection of having fixed a bug like this.  Can you 
> report which versions of the X server, Xrender, Xft and fontconfig you are 
> using?

It turns out that it was the font itself afterall.  I finally got to
FcFreeTypeCharIndex(), and added some printf's in there.  It turns out
that:

 * Before the copyright sign: FT_ENCODING_UNICODE, all is fine.

 * At the copyright sign: got switched to FT_ENCODING_APPLE_ROMAN

 * After the Copyright Sign, all the text are still in the ASCII
   range, so FcFreeTypeCharIndex() stayed with FT_ENCODING_APPLE_ROMAN.
   Unfortunately, this font's CMap Format 0 AppleRoman is all wrong:
   U+0006 got mapped to space (rather than U+0020), and similarly,
   everything else is off by the same amount.  0x20 - 0x6 = 0x1A = 26.
   That explains it.

No wonder I couldn't reproduce this problem with any other fonts.  But
I am glad that this is no bug of fontconfig/Xft afterall.  :-)

Oh, speaking of which, I have a patch for you to change "ft_encoding_*"
to their uppercase equivalent.  Please apply it as appropriate (unless
you need to maintain compatibility with FreeType 2.0.x.)

Cheers,

Anthony

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   <anthony@thizlinux.com> http://www.thizlinux.com/
Debian Chinese Project <foka@debian.org>       http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!           http://www.olvc.ab.ca/

--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="fontconfig-ft_encoding-uppercase.patch"

--- fontconfig-2.1.orig/src/fcfreetype.c
+++ fontconfig-2.1/src/fcfreetype.c
@@ -345,7 +345,7 @@
 	    /*
 	     * Convert AppleRoman to Utf8
 	     */
-	    map = FcFreeTypeGetPrivateMap (ft_encoding_apple_roman);
+	    map = FcFreeTypeGetPrivateMap (FT_ENCODING_APPLE_ROMAN);
 	    if (!map)
 		continue;
 
--- fontconfig-2.1.orig/src/fccharset.c
+++ fontconfig-2.1/src/fccharset.c
@@ -1642,9 +1642,9 @@
 };
     
 static const FcFontDecode fcFontDecoders[] = {
-    { ft_encoding_unicode,	0,		(1 << 21) - 1 },
-    { ft_encoding_symbol,	&AdobeSymbol,	(1 << 16) - 1 },
-    { ft_encoding_apple_roman,	&AppleRoman,	(1 << 16) - 1 },
+    { FT_ENCODING_UNICODE,	0,		(1 << 21) - 1 },
+    { FT_ENCODING_MS_SYMBOL,	&AdobeSymbol,	(1 << 16) - 1 },
+    { FT_ENCODING_APPLE_ROMAN,	&AppleRoman,	(1 << 16) - 1 },
 };
 
 #define NUM_DECODE  (sizeof (fcFontDecoders) / sizeof (fcFontDecoders[0]))

--45Z9DzgjV8m4Oswq--


From fontconfig@fontconfig.org  Fri Feb 14 11:38:59 2003
From: fontconfig@fontconfig.org (fontconfig@fontconfig.org)
Date: Fri, 14 Feb 2003 09:38:59 -0200
Subject: [Fontconfig] Installation
Message-ID: <3E4CD553.27DDB1B2@ose.com.br>

Hello,

I'm running running Debian 3.0 with the bundled XFree86 4.1.0 and I want
to install Fontconfig and Xft 2.0 so GTK+ 2.2 can use it.

My doubts are: 

1) does Fontconfig and Xft 2.0 works with XFree86 4.1.0?

2) can I compile Fontconfig and Xft 2.0 with my current XFree86
instalation and it will work? or do I have to get a new version of
XFree86 with an already bundled Fontconfig and Xft 2.0?


Thanks,
-- 
                                      _/_/_/       _/_/_/        _/_/_/
Ivens Porto                         _/     _/    _/            _/
OSE - Open Systems Engineering     _/     _/    _/            _/
http://www.ose.com.br             _/     _/      _/_/_/      _/_/_/_/
Phone: (55) 34 - 3214-5995       _/     _/            _/    _/
Fax:   (55) 34 - 3214-5994      _/     _/            _/    _/
                                 _/_/_/        _/_/_/       _/_/_/


From fontconfig@fontconfig.org  Fri Feb 14 12:05:12 2003
From: fontconfig@fontconfig.org (Anthony Fok)
Date: Fri, 14 Feb 2003 20:05:12 +0800
Subject: [Fontconfig] Installation
In-Reply-To: <3E4CD553.27DDB1B2@ose.com.br>
References: <3E4CD553.27DDB1B2@ose.com.br>
Message-ID: <20030214120512.GB27754@anthony.homelinux.net>

You probably know that fontconfig and Xft2 (and Gnome/Gtk 2.2) are both in
Debian "testing" (sarge) and unstable (sid) already, and most other programs
have been rebuilt to work with these libraries.  So, if you are adventurous,
you may want to upgrade.

Hmm... speaking of which, I wonder if any developer ever backported all
these stuff to Debian 3.0?  I don't know.

Cheers,

Anthony

On Fri, Feb 14, 2003 at 09:38:59AM -0200, ivens@ose.com.br wrote:
> Hello,
> 
> I'm running running Debian 3.0 with the bundled XFree86 4.1.0 and I want
> to install Fontconfig and Xft 2.0 so GTK+ 2.2 can use it.
> 
> My doubts are: 
> 
> 1) does Fontconfig and Xft 2.0 works with XFree86 4.1.0?
> 
> 2) can I compile Fontconfig and Xft 2.0 with my current XFree86
> instalation and it will work? or do I have to get a new version of
> XFree86 with an already bundled Fontconfig and Xft 2.0?

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   <anthony@thizlinux.com> http://www.thizlinux.com/
Debian Chinese Project <foka@debian.org>       http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!           http://www.olvc.ab.ca/


From fontconfig@fontconfig.org  Fri Feb 14 12:29:11 2003
From: fontconfig@fontconfig.org (fontconfig@fontconfig.org)
Date: Fri, 14 Feb 2003 10:29:11 -0200
Subject: [Fontconfig] Installation
References: <3E4CD553.27DDB1B2@ose.com.br>
Message-ID: <3E4CE117.3DDC5F35@ose.com.br>

I forgot to mention that I already have libXrender 1.0 installed. In
this case do I have to install the libXrender 1.1 that comes with
fontconfig or can I use my already installed libXrender?


Thanks,
Ivens

ivens@ose.com.br wrote:
> 
> Hello,
> 
> I'm running running Debian 3.0 with the bundled XFree86 4.1.0 and I want
> to install Fontconfig and Xft 2.0 so GTK+ 2.2 can use it.
> 
> My doubts are:
> 
> 1) does Fontconfig and Xft 2.0 works with XFree86 4.1.0?
> 
> 2) can I compile Fontconfig and Xft 2.0 with my current XFree86
> instalation and it will work? or do I have to get a new version of
> XFree86 with an already bundled Fontconfig and Xft 2.0?
> 
> Thanks,
> --
>                                       _/_/_/       _/_/_/        _/_/_/
> Ivens Porto                         _/     _/    _/            _/
> OSE - Open Systems Engineering     _/     _/    _/            _/
> http://www.ose.com.br             _/     _/      _/_/_/      _/_/_/_/
> Phone: (55) 34 - 3214-5995       _/     _/            _/    _/
> Fax:   (55) 34 - 3214-5994      _/     _/            _/    _/
>                                  _/_/_/        _/_/_/       _/_/_/
> 
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@fontconfig.org
> http://mail.fontconfig.org/mailman/listinfo/fontconfig

-- 
                                      _/_/_/       _/_/_/        _/_/_/
Ivens Porto                         _/     _/    _/            _/
OSE - Open Systems Engineering     _/     _/    _/            _/
http://www.ose.com.br             _/     _/      _/_/_/      _/_/_/_/
Phone: (55) 34 - 3214-5995       _/     _/            _/    _/
Fax:   (55) 34 - 3214-5994      _/     _/            _/    _/
                                 _/_/_/        _/_/_/       _/_/_/


From fontconfig@fontconfig.org  Sat Feb 15 18:13:08 2003
From: fontconfig@fontconfig.org (Alan Chandler)
Date: Sat, 15 Feb 2003 18:13:08 +0000
Subject: [Fontconfig] Strange behaviour with fixed pitch
In-Reply-To: <200302022012.28159.alan@chandlerfamily.org.uk>
References: <200301261652.00798.alan@chandlerfamily.org.uk> <200302022012.28159.alan@chandlerfamily.org.uk>
Message-ID: <200302151813.12657.alan@chandlerfamily.org.uk>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 02 Feb 2003 8:12 pm, Alan Chandler wrote:
> On Sunday 26 Jan 2003 4:51 pm, Alan Chandler wrote:
> > I am not sure that I have found the right place to ask this question.
> >
> > A few weeks ago, I installed fontconfig (Debian Unstable), with (I assu=
me
> > - and thats why I am not sure I am at the right place) libxft2.
> >
> > Since then, I have had a strange problem in kde (konsole) with the
> > console font that it provides (see
> > http://bugs.kde.org/show_bug.cgi?id=3D52538 )
>
> Nobody replied to this posting so I STILL don't know if I am at the right
> place.

AND nobody replied to the second posting either:-( - BUT NOW IT THINK I AM =
AT=20
THE RIGHT PLACE.

I have been digging away some more, and in particular in fcmatch.c to find =
out=20
what is happening.  I think the problem is that this routine is trying to=20
compare font patterns with a priority order of foundary, character set,=20
family (strong), language, family (weak) ...

It does not find the console font as an exact match - what appears to happe=
n=20
is that it does find a match with console, but in the fonts pattern there a=
re=20
a number of elements.  For the third element font.elt[2]->object =3D "famil=
y"=20
but the font.elt[2]->values->value has a string value of "console8x16.pcf"=
=20
(and there are no more values attached to family).  The verdana font is=20
eventally seen as a closer match although it only matches on the weak famil=
y=20
name (I think this has been added to the requesting pattern by fontconfig a=
s=20
a result of a Style request from a high level routine for "sans" [and=20
translated into sans-serif by fontconfig, and then translated [ie replaced =
in=20
he pattern] to a list of weak matching font names].

The filename in /usr/share/fonts is console8x16.pcf.gz - but if I do a=20
xlsfonts - the family name in these fonts is shown as "console".  This=20
differs from what fontconfig finds.

I need to find how the "font patterns" are set up from the fonts. Can someo=
ne=20
explain how this works? [In broad terms only, I can delve into the right bi=
t=20
of code one I find it]














=2D --=20
Alan Chandler
alan@chandlerfamily.org.uk
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ToM4uFHxcV2FFoIRAoj+AKCqr7UZWs3dLFfcq2O4bmKDDTIJlQCfRF9o
/fewKK5+RQao/u2wbpmGuzU=3D
=3Dlz+X
=2D----END PGP SIGNATURE-----



From fontconfig@fontconfig.org  Mon Feb 17 01:00:34 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Sun, 16 Feb 2003 17:00:34 -0800
Subject: [Fontconfig] Strange behaviour with fixed pitch
In-Reply-To: Your message of "Sat, 15 Feb 2003 18:13:08 GMT."
 <200302151813.12657.alan@chandlerfamily.org.uk>
Message-ID: <E18kZe6-0002OM-00@localhost>

Around 18 o'clock on Feb 15, Alan Chandler wrote:

> I need to find how the "font patterns" are set up from the fonts. Can someone 
> explain how this works? [In broad terms only, I can delve into the right bit 
> of code one I find it]

Fontconfig uses Freetype2 to extract information from font files.  Family 
names are the hardest to locate, so fontconfig does quite a bit of work to 
find something usable.  That code all lives in fcfreetype.c and you can 
watch it in action by enabling debugging of the font scanning logic
(export FC_DEBUG=384) before running 'fc-cache -v -f .' in the directory 
containing the relevant fonts.

-keith




From fontconfig@fontconfig.org  Mon Feb 17 07:31:02 2003
From: fontconfig@fontconfig.org (Alan Chandler)
Date: Mon, 17 Feb 2003 07:31:02 +0000
Subject: [Fontconfig] Strange behaviour with fixed pitch
In-Reply-To: <E18kZe6-0002OM-00@localhost>
References: <E18kZe6-0002OM-00@localhost>
Message-ID: <200302170731.07662.alan@chandlerfamily.org.uk>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 17 Feb 2003 1:00 am, Keith Packard wrote:
> Around 18 o'clock on Feb 15, Alan Chandler wrote:
> > I need to find how the "font patterns" are set up from the fonts. Can
> > someone explain how this works? [In broad terms only, I can delve into
> > the right bit of code one I find it]
>
> Fontconfig uses Freetype2 to extract information from font files.  Family
> names are the hardest to locate, so fontconfig does quite a bit of work to
> find something usable.  That code all lives in fcfreetype.c and you can
> watch it in action by enabling debugging of the font scanning logic
> (export FC_DEBUG=3D384) before running 'fc-cache -v -f .' in the directory
> containing the relevant fonts.

Thanks for that - although from the output it seems that it is finding the=
=20
directories from /etc/fonts/fonts.conf rather than just running in the=20
directory.

What I discovered before your reply, and which the debug output you suggest=
ed=20
seems to confirm, is that the family name in the fonts.cache-1 file is=20
created by fc-cache because freetype says that the family name is 0 bytes=20
long.  The family name appears to be created based on the filename=20
(console8x16.pcf.gz - which is turned into console8x16.pcf as the family=20
name).

I am now discussing on the freetype list why (I think that the font type is=
=20
not being recognised - maybe something to do with the compressed nature of=
=20
the file?).

Its been a long hard slog to get this far - and I still need to explore why=
=20
the spacing between the characters is all wrong. Still I will keep going -=
=20
its fun learning about it all:-)

=2D --=20
Alan Chandler
alan@chandlerfamily.org.uk
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+UI+7uFHxcV2FFoIRAjkzAJ0QXIfKPo7PO7jBMUxYAcAr5SheQgCfeh2y
=46aD4C3ZxAj1CAYtGZPi6KaY=3D
=3Dscua
=2D----END PGP SIGNATURE-----



From fontconfig@fontconfig.org  Wed Feb 19 16:11:16 2003
From: fontconfig@fontconfig.org (Gansser, Martin)
Date: Wed, 19 Feb 2003 17:11:16 +0100
Subject: [Fontconfig] successfully build fontconfig on hpux 11.00
Message-ID: <78224A6821F87A4D8023B133E5B1140B40CA1A@srvmxellwangen2.ratc-de.com>

Hi,

I tried to compile fontconf from the fcpackage.2_1 package on
hpux 11.00, a system w/o XFree86.

I made the following changes, that fontconfig can build
on this platform:


my buildscript:

#!/bin/csh -f
#
gmake clean
setenv CC gcc
setenv LDFLAGS "-L/usr/local/lib"
setenv CPPFLAGS "-I/usr/local/include/freetype2"
#
./configure
gmake
gmake install

changes in fcpackage.2_1/fontconfig/config/Makedefs.in:

#LIBBASE=3Dlibfontconfig.so
to
LIBBASE=3Dlibfontconfig.sl

changes in fcpackage.2_1/fontconfig/configure:

#DSO_LDOPTS=3D'-shared -Wl,-h,`echo $@ | sed =
'"'s/\.so\.\([0-9][0-9]*\).*/.so.\1/'"'`'
to
DSO_LDOPTS=3D'-shared -Wl,-h,`echo $@ | sed =
'"'s/\.sl\.\([0-9][0-9]*\).*/.sl.\1/'"'`'


this is the configure and compile output:

mzfem_root:/users/mgansser/GNU/fcpackage.2_1/fontconfig:

loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  -L/usr/local/lib) works... yes
checking whether the C compiler (gcc  -L/usr/local/lib) is a =
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/local/bin/install =
-c
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries , headers /usr/include/X11R6
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for pid_t... (cached) yes
checking for vprintf... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for strtol... (cached) yes
checking for getopt... (cached) yes
checking for getopt_long... (cached) no
checking for freetype-config... (cached) freetype-config
checking for freetype2/freetype.h... (cached) no
checking for expat.h... (cached) yes
checking for XML_ParserCreate... (cached) yes
creating ./config.status
creating Makefile
creating config/Makedefs
creating src/Makefile
creating fc-cache/Makefile
creating fc-list/Makefile
creating fontconfig/Makefile
creating fontconfig.pc
creating fontconfig-config
creating config.h
config.h is unchanged
for d in src fc-cache fc-list fontconfig; do (cd $d && gmake all); done
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/src'
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcatomic.c -o fcatomic.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcblanks.c -o fcblanks.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fccache.c -o fccache.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fccfg.c -o fccfg.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fccharset.c -o fccharset.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcdbg.c -o fcdbg.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcdefault.c -o fcdefault.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcdir.c -o fcdir.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcfreetype.c -o fcfreetype.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcfs.c -o fcfs.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcinit.c -o fcinit.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fclang.c -o fclang.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fclist.c -o fclist.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcmatch.c -o fcmatch.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcmatrix.c -o fcmatrix.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcname.c -o fcname.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcpat.c -o fcpat.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcstr.c -o fcstr.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcxml.c -o fcxml.o
rm -f libfontconfig.sl.1.0
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -shared -Wl,-h,`echo libfontconfig.sl.1.0 | sed =
's/\.sl\.\([0-9][0-9]*\).*/.sl.\1/'` -o
 libfontconfig.sl.1.0 fcatomic.o fcblanks.o fccache.o fccfg.o =
fccharset.o fcdbg.o fcdefault.o fcdir.
o fcfreetype.o fcfs.o fcinit.o fclang.o fclist.o fcmatch.o fcmatrix.o =
fcname.o fcpat.o fcstr.o fcxml
.o -lexpat
/usr/ccs/bin/ld: (Warning) Can't hide symbol "libfontconfig.sl.1"
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../../hppa2.0n-hp-=
hpux11.00/bin/nm: /usr/loca
l/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libexpat.sl: no symbols
/usr/ccs/bin/ld: (Warning) Can't hide symbol "libfontconfig.sl.1"
rm -f  libfontconfig.sl.1
ln -s libfontconfig.sl.1.0 libfontconfig.sl.1
rm -f libfontconfig.sl
ln -s libfontconfig.sl.1 libfontconfig.sl
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/src'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-cache'
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -I/usr/local/include/freetype2  -c -o fc-cache.o fc-cache.c
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -o fc-cache fc-cache.o -L../src -lfontconfig
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-cache'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-list'
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -I/usr/local/include/freetype2  -c -o fc-list.o fc-list.c
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -o fc-list fc-list.o -L../src -lfontconfig
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-list'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fontconfig'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fontconfig'
rm -f fonts.conf
sh ./setfontdirs /usr/share/fonts /X11/fonts
8666
52

8633
for d in src fc-cache fc-list fontconfig; do (cd $d && gmake install); =
done
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/src'
/usr/local/bin/install -c libfontconfig.sl.1.0 =
/usr/local/lib/libfontconfig.sl.1.0
rm -f /usr/local/lib/libfontconfig.sl.1
ln -s libfontconfig.sl.1.0 /usr/local/lib/libfontconfig.sl.1
rm -f /usr/local/lib/libfontconfig.sl
ln -s libfontconfig.sl.1 /usr/local/lib/libfontconfig.sl
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/src'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-cache'
/usr/local/bin/install -c fc-cache /usr/local/bin/fc-cache
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-cache'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-list'
/usr/local/bin/install -c fc-list /usr/local/bin/fc-list
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-list'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fontconfig'
mkdir -p /usr/local/include/fontconfig
/usr/local/bin/install -c -m 644 fcfreetype.h =
/usr/local/include/fontconfig/fcfreetype.h
/usr/local/bin/install -c -m 644 fcprivate.h =
/usr/local/include/fontconfig/fcprivate.h
/usr/local/bin/install -c -m 644 fontconfig.h =
/usr/local/include/fontconfig/fontconfig.h
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fontconfig'
mkdir -p /etc/fonts
if [ -f /etc/fonts/fonts.conf ]; then \
        echo "Not overwriting existing /etc/fonts/fonts.conf"; \
else \
        /usr/local/bin/install -c -m 644 fonts.conf =
/etc/fonts/fonts.conf; \
fi
/usr/local/bin/install -c -m 644 fonts.dtd /etc/fonts/fonts.dtd
/usr/local/bin/install -c fontconfig-config =
/usr/local/bin/fontconfig-config
/usr/local/bin/install -c -m 644 fontconfig.pc =
/usr/local/lib/pkgconfig/fontconfig.pc
mzfem_root:/users/mgansser/GNU/fcpackage.2_1/fontconfig #

Martin


From fontconfig@fontconfig.org  Wed Feb 19 16:20:09 2003
From: fontconfig@fontconfig.org (Gansser, Martin)
Date: Wed, 19 Feb 2003 17:20:09 +0100
Subject: [Fontconfig] Xft build error on hpux 11.00
Message-ID: <78224A6821F87A4D8023B133E5B1140B493BD8@srvmxellwangen2.ratc-de.com>

Hi,

I tried to compile Xft from the fcpackage.2_1 package on
hpux 11.00, a system w/o XFree86.

The freetype.h is on my system in the directory =
/usr/local/include/freetype2.

my buildscript:

#!/bin/csh -f
#
gmake clean
setenv CC gcc
setenv LDFLAGS "-L/usr/local/lib"
setenv CPPFLAGS "-I/usr/local/include"
#
./configure --with-freetype-includes=3D"/usr/local/include/freetype2" \
            --with-freetype-lib=3D"/usr/local/lib" \
            --with-freeetype-config=3D"/usr/local/bin/freetype-config" \
            --with-fontconfig-includes=3D/usr/local/include/fontconfig \
            --with-fontconfig-lib=3D/usr/local/lib \
            --with-fontconfig-config=3D/usr/local/bin/fontconfig-config =
\
            --with-x
gmake
#gmake install

mzfem_root:/users/mgansser/GNU/fcpackage.2_1/Xft # ./mk

rm -f libXft.so.2.0 libXft.so.2 libXft.so xftcolor.o xftcore.o xftdbg.o =
xftdpy.o xftdraw.o xftextent.o xftfont.o xftfreetype.o xftglyphs.o =
xftinit.o xftlist.o xftname.o xftrender.o xftstr.o xftswap.o xftxlfd.o
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  -L/usr/local/lib) works... yes
checking whether the C compiler (gcc  -L/usr/local/lib) is a =
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/local/bin/install =
-c
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries , headers /usr/include/X11R6
checking for X11/extensions/Xrender.h... (cached) no
checking for freetype-config... (cached) freetype-config
checking for freetype2/freetype.h... (cached) no
checking for fontconfig/fontconfig.h... (cached) no
creating ./config.status
creating Makefile
creating xft.pc
creating xft-config
creating config.h
config.h is unchanged
gcc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/local/include -fPIC -DPIC -c =
xftcolor.c -o xftcolor.o
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
In file included from xftint.h:39,
                 from xftcolor.c:25:
Xft.h:35:31: freetype/freetype.h: No such file or directory
Xft.h:37:36: X11/extensions/Xrender.h: No such file or directory
In file included from xftint.h:39,
                 from xftcolor.c:25:
Xft.h:52: parse error before "_XftFTlibrary"
Xft.h:52: warning: data definition has no type or storage class
Xft.h:69: parse error before "XRenderColor"
Xft.h:69: warning: no semicolon at end of struct or union
Xft.h:70: warning: data definition has no type or storage class
Xft.h:86: parse error before "FT_UInt"
Xft.h:86: warning: no semicolon at end of struct or union
Xft.h:89: parse error before '}' token
Xft.h:89: warning: data definition has no type or storage class
Xft.h:93: parse error before "FT_UInt"
Xft.h:93: warning: no semicolon at end of struct or union
Xft.h:96: parse error before '}' token
Xft.h:96: warning: data definition has no type or storage class
Xft.h:107: parse error before "XftColor"
Xft.h:113: parse error before '*' token
Xft.h:120: parse error before "XftColor"
Xft.h:179: parse error before "XftDrawPicture"
Xft.h:179: warning: data definition has no type or storage class
Xft.h:182: parse error before "XftDrawSrcPicture"
Xft.h:182: parse error before '*' token
Xft.h:182: warning: data definition has no type or storage class
Xft.h:186: parse error before '*' token
Xft.h:195: parse error before '*' token
Xft.h:204: parse error before '*' token
Xft.h:213: parse error before '*' token
Xft.h:222: parse error before '*' token
Xft.h:231: parse error before '*' token
Xft.h:241: parse error before '*' token
Xft.h:248: parse error before '*' token
Xft.h:254: parse error before '*' token
Xft.h:261: parse error before '*' token
Xft.h:267: parse error before '*' token
Xft.h:276: parse error before "Region"
Xft.h:295: parse error before '*' token
Xft.h:304: parse error before "XGlyphInfo"
Xft.h:311: parse error before "XGlyphInfo"
Xft.h:318: parse error before "XGlyphInfo"
Xft.h:325: parse error before "XGlyphInfo"
Xft.h:332: parse error before "XGlyphInfo"
Xft.h:353: parse error before "XftLockFace"
Xft.h:353: warning: data definition has no type or storage class
Xft.h:392: parse error before '*' token
Xft.h:398: parse error before '*' token
Xft.h:407: parse error before "FT_UInt"
Xft.h:417: parse error before "XftCharIndex"
Xft.h:419: warning: data definition has no type or storage class
Xft.h:453: parse error before "Picture"
Xft.h:466: parse error before "Picture"
Xft.h:477: parse error before "Picture"
Xft.h:488: parse error before "Picture"
Xft.h:498: parse error before "Picture"
Xft.h:508: parse error before "Picture"
Xft.h:521: parse error before "Picture"
Xft.h:534: parse error before "Picture"
Xft.h:547: parse error before "Picture"
Xft.h:560: parse error before "Picture"
Xft.h:573: parse error before "Picture"
Xft.h:586: parse error before "Picture"
Xft.h:599: parse error before "Picture"
In file included from xftint.h:41,
                 from xftcolor.c:25:
/usr/local/include/fontconfig/fcfreetype.h:27:31: freetype/freetype.h: =
No such file or directory
In file included from xftint.h:41,
                 from xftcolor.c:25:
/usr/local/include/fontconfig/fcfreetype.h:30: parse error before =
"FcFreeTypeCharIndex"
/usr/local/include/fontconfig/fcfreetype.h:30: parse error before "face"
/usr/local/include/fontconfig/fcfreetype.h:30: warning: data definition =
has no type or storage class
/usr/local/include/fontconfig/fcfreetype.h:33: parse error before "face"
/usr/local/include/fontconfig/fcfreetype.h:36: parse error before =
"FT_Face"
/usr/local/include/fontconfig/fcfreetype.h:39: parse error before "f"
In file included from xftcolor.c:25:
xftint.h:57: parse error before "XGlyphInfo"
xftint.h:57: warning: no semicolon at end of struct or union
xftint.h:60: parse error before '}' token
xftint.h:60: warning: data definition has no type or storage class
xftint.h:67: parse error before "FT_UInt"
xftint.h:67: warning: no semicolon at end of struct or union
xftint.h:68: warning: data definition has no type or storage class
xftint.h:84: parse error before "FT_F26Dot6"
xftint.h:84: warning: no semicolon at end of struct or union
xftint.h:85: warning: data definition has no type or storage class
xftint.h:86: parse error before "matrix"
xftint.h:86: warning: data definition has no type or storage class
xftint.h:89: parse error before "face"
xftint.h:89: warning: data definition has no type or storage class
xftint.h:90: warning: data definition has no type or storage class
xftint.h:102: parse error before "XftFtFile"
xftint.h:102: warning: no semicolon at end of struct or union
xftint.h:106: warning: data definition has no type or storage class
xftint.h:109: parse error before "matrix"
xftint.h:109: warning: data definition has no type or storage class
xftint.h:111: parse error before "load_flags"
xftint.h:111: warning: data definition has no type or storage class
xftint.h:119: parse error before '}' token
xftint.h:129: field `info' has incomplete type
xftint.h:135: parse error before "XftGlyph"
xftint.h:135: warning: no semicolon at end of struct or union
xftint.h:141: parse error before '*' token
xftint.h:141: warning: data definition has no type or storage class
xftint.h:147: parse error before "glyphset"
xftint.h:147: warning: data definition has no type or storage class
xftint.h:148: parse error before '*' token
xftint.h:148: warning: data definition has no type or storage class
xftint.h:155: parse error before '}' token
xftint.h:155: warning: data definition has no type or storage class
xftint.h:171: parse error before "Region"
xftint.h:171: warning: no semicolon at end of struct or union
xftint.h:172: warning: data definition has no type or storage class
xftint.h:183: parse error before "XftClip"
xftint.h:183: warning: no semicolon at end of struct or union
xftint.h:186: parse error before "Picture"
xftint.h:186: warning: no semicolon at end of struct or union
xftint.h:187: warning: data definition has no type or storage class
xftint.h:192: parse error before '}' token
xftint.h:203: parse error before "XRenderColor"
xftint.h:203: warning: no semicolon at end of struct or union
xftint.h:205: parse error before "pict"
xftint.h:205: warning: data definition has no type or storage class
xftint.h:206: warning: data definition has no type or storage class
xftint.h:219: parse error before "XRenderPictFormat"
xftint.h:219: warning: no semicolon at end of struct or union
xftint.h:225: parse error before "colors"
xftint.h:225: warning: data definition has no type or storage class
xftint.h:227: parse error before '}' token
xftint.h:227: warning: data definition has no type or storage class
xftint.h:243: parse error before '*' token
xftint.h:243: warning: data definition has no type or storage class
xftint.h:300: parse error before '*' token
xftint.h:308: parse error before '*' token
xftint.h:317: parse error before '*' token
xftint.h:324: parse error before '*' token
xftint.h:333: parse error before '*' token
xftint.h:334: warning: data definition has no type or storage class
xftint.h:370: parse error before '*' token
xftcolor.c:32: parse error before "XftColor"
xftcolor.c: In function `XftColorAllocName':
xftcolor.c:36: `dpy' undeclared (first use in this function)
xftcolor.c:36: (Each undeclared identifier is reported only once
xftcolor.c:36: for each function it appears in.)
xftcolor.c:36: `cmap' undeclared (first use in this function)
xftcolor.c:36: `name' undeclared (first use in this function)
xftcolor.c:42: `result' undeclared (first use in this function)
xftcolor.c: At top level:
xftcolor.c:80: parse error before '*' token
xftcolor.c: In function `XftColorAllocValue':
xftcolor.c:83: `visual' undeclared (first use in this function)
xftcolor.c:95: `result' undeclared (first use in this function)
xftcolor.c:95: `color' undeclared (first use in this function)
xftcolor.c:106: `dpy' undeclared (first use in this function)
xftcolor.c:106: `cmap' undeclared (first use in this function)
xftcolor.c: At top level:
xftcolor.c:121: parse error before "XftColor"
xftcolor.c: In function `XftColorFree':
xftcolor.c:123: `visual' undeclared (first use in this function)
xftcolor.c:124: `dpy' undeclared (first use in this function)
xftcolor.c:124: `cmap' undeclared (first use in this function)
xftcolor.c:124: `color' undeclared (first use in this function)
gmake: *** [xftcolor.o] Error 1
mzfem_root:/users/mgansser/GNU/fcpackage.2_1/Xft #

any suggestion ?

thanks Martin


From fontconfig@fontconfig.org  Fri Feb 21 07:53:01 2003
From: fontconfig@fontconfig.org (Roger Svensson)
Date: Fri, 21 Feb 2003 08:53:01 +0100
Subject: [Fontconfig] Problems finding fonts
Message-ID: <23fe2123f981.23f98123fe21@vxu.se>

Hi,

I'm having a little trouble with Pango/Fontconfig on my Debian 3.0 box with Xfree86-4.2.1 and Gnome built from source. I'm running fontconfig-2.1 built using instructions found in the wiki.

I was on a mission to upgrade GTK and friends to the latest versions:
glib-2.2.1
pango-1.2.1
gtk+2.2.1

Everything seemed fine until I tried starting Gnome which failed with a message that it could not find font Verdana -10.

I have all of my TT-fonts installed in /opt/fonts and I did add a row to the fonts.conf file:
<dir>/opt/fonts</dir>
in the proper section of the file.

If I run "fc-list", it sure tells me I've got the Verdana font installed.

I also tried removing the /opt/fonts entry from fonts.conf and added a symlink, ~/.fonts -> /opt/fonts with the same poor result.

I figure the problem is fontconfig related since reverting to old GTK/GLIB/Pango work just fine. Also, un-setting the GDK_USE_XFT variable work, but then I won't get any TT fonts at all. 

I obviously overlooked something, problem is I can't understand what. 

Regards,
  Roger




From fontconfig@fontconfig.org  Fri Feb 14 12:22:06 2003
From: fontconfig@fontconfig.org (Yury)
Date: Fri, 14 Feb 2003 15:22:06 +0300
Subject: [Fontconfig] question
Message-ID: <000501c2d423$b072e9a0$651ea8c0@twina>

i've build fcconfig on two pc under Rh7.3 and recieve this message.
on first all (Gnome 2.2) woks good. but on second i only see 
"No fonts found; ... you may to edit fonts.conf ........."
i don't understand what wrong.
cause i make all siimilar.
help please!!!!!!!




From fontconfig@fontconfig.org  Fri Feb 14 22:08:05 2003
From: fontconfig@fontconfig.org (Dekel Tsur)
Date: Sat, 15 Feb 2003 00:08:05 +0200
Subject: [Fontconfig] Problem with TeX fonts
Message-ID: <20030214220805.GA4459@tsur5.tau.ac.il>

I'm a developer of the LyX word processor (www.lyx.org).
Lyx uses TeX fonts in order to display mathematical formula.
More specifically, LyX uses the Postscript fonts cmr10.pfb, cmsy10.pfb, etc.
from 
   http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bluesky/pfb/
However, when using fontconfig, there is a problem accessing these fonts:
All the fonts have a family name of "Computer Modern",
so it is not possible to choose which font to use.
I beleive that mozilla also uses these fonts, so it has the same problem.

A simple solution for this problem is to allow changing the font family of
a font based on its file name (in fonts.conf):
For example, 
  <changefamily>
     <file>cmr10.pfb</file>
     <family>Computer Modern Roman</family>
  </changefamily>

(actually, we need the family name to be cmr10).

This will also allow giving better names for some fonts.
For example, the Times font that comes with ghostscript has a strange family
name: "Nimbus Roman No9 L".
Using my suggestion, its family name can be changed to "Nimbus Roman".
(for compatibility, perhaps it better to allow accessing the font with both
the original name and the new name).

Let me know if you think that this is a good idea and if you plan to
implement it (please CC me replies to this thread).


From fontconfig@fontconfig.org  Fri Feb 14 22:30:35 2003
From: fontconfig@fontconfig.org (Dolores Alia de Saravia)
Date: Fri, 14 Feb 2003 19:30:35 -0300
Subject: [Fontconfig] Asking help to install fontconfig
Message-ID: <200302142230.h1EMUZf06056@inenco.unsa.edu.ar>

I=B4m trying to install fontconfig from release 2.1.
(I need it in order to test dia version 0.91).
Iam using Linux, Suse version 7.1

I=B4ve tried to use the "configure" file which comes with the release=20
without success, and also used autoconf executing:=20
 "sh cvscompile ..." as suggested by INSTALL file. In both=20
cases, "make" produces:
../src/libfontconfig.so: undefined reference to `FT_Get_Next_Char'
collect2: ld returned 1 exit status
make[1]: *** [fc-cache] Error 1
../src/libfontconfig.so: undefined reference to `FT_Get_Next_Char'
make: *** [all] Error 2
collect2: ld returned 1 exit status
make[1]: *** [fc-list] Error 1

I=B4ve also used imake and then make produces:
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [fcatomic.o] Error 1
make: *** [all] Error 2

I would appreciate it very much if someone can help me.

Loli
email:  loli@unsa.edu.ar
Sent using NeoMail, a web-based e-mail client.
http://neomail.sourceforge.net


From fontconfig@fontconfig.org  Sat Feb 22 00:32:03 2003
From: fontconfig@fontconfig.org (Tony Graham)
Date: Sat, 22 Feb 2003 00:32:03 +0000
Subject: [Fontconfig] [PATCH] Automake for fontconfig
Message-ID: <15958.50435.664751.75147@tenso.ireland.sun.com>

To give you a start on using automake with fontconfig, attached to
this message is a gzipped tar archive containing Makefile.am files and
other files that needed changing for fontconfig to be able to use
automake.

I have not sent patches because half the files are completely new.

The modified configure.in now also uses libtool.  Since I am not a
libtool expert, I couldn't make it reproduce the
'libfontconfig.so.1.0' numbering of the current version without
abusing the libtool numbering scheme, so I made the library version
numbering more like that of GLib and Pango: i.e.,
'libfontconfig-1.0.so.0.1.0'.

The modifications were tested by running 'make dest' on the modified
source, building and installing the generated distribution, and then
compiling Pango using the installed library and header files.

Regards,


Tony Graham
------------------------------------------------------------------------
XML Technology Center - Dublin
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708


From fontconfig@fontconfig.org  Sat Feb 22 02:14:57 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Fri, 21 Feb 2003 18:14:57 -0800
Subject: [Fontconfig] [PATCH] Automake for fontconfig
In-Reply-To: Your message of "Sat, 22 Feb 2003 00:32:03 GMT."
 <15958.50435.664751.75147@tenso.ireland.sun.com>
Message-ID: <E18mPBp-0000ur-00@localhost>

Around 0 o'clock on Feb 22, Tony Graham wrote:

> To give you a start on using automake with fontconfig, attached to
> this message is a gzipped tar archive containing Makefile.am files and
> other files that needed changing for fontconfig to be able to use
> automake.

Thanks a bunch; I've been working on that here today.  I'll take a look at 
what you've got and mash it into what I'm doing.  When I've got something 
worth looking at, I'll stick it into bugzilla.

> The modified configure.in now also uses libtool.  Since I am not a
> libtool expert, I couldn't make it reproduce the
> 'libfontconfig.so.1.0' numbering of the current version without
> abusing the libtool numbering scheme

I've submitted a patch to libtool which should make it into version 1.5 
that permits explicit library version number control to solve this issue, 
and make it possible to use libtool with other existing libraries.

-keith




From fontconfig@fontconfig.org  Sun Feb 23 09:39:42 2003
From: fontconfig@fontconfig.org (Laurent Moussault)
Date: Sun, 23 Feb 2003 10:39:42 +0100
Subject: [Fontconfig] Doc for fonts.conf? ("no fonts found error")
Message-ID: <20030223103942.740cd792.laurent.moussault@9online.fr>

Hello,

Is there any documentation for 'fonts.conf' and about how fontconfig
finds font in the specified directories (e.g. what extension does it
recongize, does it look into subdirs...)?

Or, is there a way to know what fonts the fontconfig library find
(what is the algorithm used to browsed the directories specified in
fonts.conf)?

I just tried to install fcpackage.2_1.tar.gz (I tried the 2.0 version
as well), and then GTK+ 2.2.1.  But when I run an application compiled
with GTK (e.g. ROX-Filer), it crash with this error:

"No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org"

It's not clear wether it is an error from the fontconfig library,
Pango, GTK or the application (and there is nothing in the manpage)...
The problem is, my environment is pretty standard (Slackware 8.0), and
I tried many_many_ different paths in fonts.conf, with no success...

regards,

PS: anyway, this is great to finally have a well-designed font
mechanism on unix!

-- 
Laurent Moussault


From fontconfig@fontconfig.org  Sun Feb 23 10:03:46 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Sun, 23 Feb 2003 02:03:46 -0800
Subject: [Fontconfig] Doc for fonts.conf? ("no fonts found error")
In-Reply-To: Your message of "Sun, 23 Feb 2003 10:39:42 +0100."
 <20030223103942.740cd792.laurent.moussault@9online.fr>
Message-ID: <E18msz4-0001j5-00@localhost>

Around 10 o'clock on Feb 23, Laurent Moussault wrote:

> Is there any documentation for 'fonts.conf' and about how fontconfig
> finds font in the specified directories (e.g. what extension does it
> recongize, does it look into subdirs...)?

The fontconfig(3) man page is the only current documentation.  And, yes, 
fontconfig looks in subdirectories.  It relies upon FreeType2 to tell 
which files contains valid fonts, so any file FreeType2 can open, 
fontconfig will advertise.

> Or, is there a way to know what fonts the fontconfig library find
> (what is the algorithm used to browsed the directories specified in
> fonts.conf)?

Fontconfig comes with a diagnostic program 'fc-list' which can be used to 
display the available fonts.

-keith




From fontconfig@fontconfig.org  Sun Feb 23 10:28:10 2003
From: fontconfig@fontconfig.org (Alan Chandler)
Date: Sun, 23 Feb 2003 10:28:10 +0000
Subject: [Fontconfig] Use of the "Additional Style" Field
Message-ID: <200302231028.15936.alan@chandlerfamily.org.uk>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am trying to find out why, when left to its own devices, KDE's konsole is=
=20
choosing to display a rather strange font.  Its picking up font=20
/usr/X11R6/lib/X11/fonts/misc/12x13ja.pcf.gz
as the default font.  This is part of Debian's base fonts package, but suff=
ers=20
from being rather ugly.

As far as the XLFD is concerned this font should fit what is needed (family=
,=20
font size etc) EXCEPT for the Additional Style Field having the characters=
=20
"ja" in them. There are other fonts which fit the bill, which do not have a=
ny=20
additional style field, but also look nicer.

I am tracking my way through fcmatch.c with a debugger looking at what is=20
happening, and effectively the requested font pattern is being compared wit=
h=20
the pattern from every font installed on the system.  I have got to the poi=
nt=20
where the above font is found to be a better match than any other previousl=
y=20
found font and I am examining the "pattern" that this font has.

I can't find any reference to the additional style it within the pattern.  =
The=20
closest "elts[].object" name appears to be "style", but there is only 1 val=
ue=20
for this and that is "regular".

I have also looked at the fonts.cache-1 field for the appropriate directory=
,=20
and I can find no reference in there to the Additional Style property.

Some questions

What exactly does "Additional Style" represent?
Does/should fontconfig use this parameter in its font matching - if so what=
=20
elts[].object name should it use.
The pcf property name in the file is "ADD_STYLE_NAME". Is this correct?




=2D --=20
Alan Chandler
alan@chandlerfamily.org.uk
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+WKI/uFHxcV2FFoIRAunHAJ4zSdWZXfxOF+Fv1QsJs+2VYcDHKQCgsW99
wKLBkSGpepbZyzA/yS6Xewg=3D
=3DuUy+
=2D----END PGP SIGNATURE-----



From fontconfig@fontconfig.org  Sun Feb 23 14:29:45 2003
From: fontconfig@fontconfig.org (Randy Burgess)
Date: Sun, 23 Feb 2003 09:29:45 -0500
Subject: [Fontconfig] What can Fonconfig really do for average user??
Message-ID: <GAEELEBDBDNHAABEBEFPOEAGDDAA.randyb@usable-thought.com>

I am just starting to learn Linux, having struggled for the past two weeks
with my new SuSE 8.1 installation to get it to look less crappy in the font
department. Towards that end I have installed the latest release candidate
version of Free86, along with KDE 3.1 and QT 3.1. Fonts in KDE and Opera
6.11 look better now, though still not up to the caliber of MS Windows;
fonts in Mozilla look worse than before for some reason, but that's OK since
Opera is so much better than Mozilla anyway.

My question is - for a beginning Linux user, is Fontconfig worth the
trouble? Will it help me get a better-looking font display than that which I
can achieve with the setup described above? If so, how?! Does it somehow
enable otherwise unused capabilities for a more attractive display, or is it
merely a means (or potential means, even worse) of fine-tuning what is
already there? Is it something that's better left alone my folks like me
until people like KDE start providing a GUI interface to it? I have read the
existing descriptions, and looked at the FAQ, but they are written at too
high a technical level to address such basic questions. Perhaps all of this
is obvious to XFree86 devotees, but it's not to anyone walking in on it
cold. I have done some Python and PHP scripting, so I'm not totally ignorant
of fiddling with scripts and such - but I'm unable to discern what the goal
of the fiddling would be in this case.

Assuming this is a valid question, I volunteer to transcribe the answer and
submit it (after someone reviews it for accuracy) to the Wiki FAQ, if that
would help.





From fontconfig@fontconfig.org  Sun Feb 23 14:33:09 2003
From: fontconfig@fontconfig.org (Randy Burgess)
Date: Sun, 23 Feb 2003 09:33:09 -0500
Subject: [Fontconfig] What can Fonconfig really do for average user??
Message-ID: <GAEELEBDBDNHAABEBEFPKEAHDDAA.randyb@usable-thought.com>

I am just starting to learn Linux, having struggled for the past two weeks
with my new SuSE 8.1 installation to get it to look less crappy in the font
department. Towards that end I have installed the latest release candidate
version of Free86, along with KDE 3.1 and QT 3.1. Fonts in KDE and Opera
6.11 look better now, though still not up to the caliber of MS Windows;
fonts in Mozilla look worse than before for some reason, but that's OK since
Opera is so much better than Mozilla anyway.

My question is - for a beginning Linux user, is Fontconfig worth the
trouble? Will it help me get a better-looking font display than that which I
can achieve with the setup described above? If so, how?! Does it somehow
enable otherwise unused capabilities for a more attractive display, or is it
merely a means (or potential means, even worse) of fine-tuning what is
already there? Is it something that's better left alone my folks like me
until people like KDE start providing a GUI interface to it? I have read the
existing descriptions, and looked at the FAQ, but they are written at too
high a technical level to address such basic questions. Perhaps all of this
is obvious to XFree86 devotees, but it's not to anyone walking in on it
cold. I have done some Python and PHP scripting, so I'm not totally ignorant
of fiddling with scripts and such - but I'm unable to discern what the goal
of the fiddling would be in this case.

Assuming this is a valid question, I volunteer to transcribe the answer and
submit it (after someone reviews it for accuracy) to the Wiki FAQ, if that
would help.




From fontconfig@fontconfig.org  Sun Feb 23 15:27:39 2003
From: fontconfig@fontconfig.org (Randy Burgess)
Date: Sun, 23 Feb 2003 10:27:39 -0500
Subject: [Fontconfig] What can Fonconfig really do for average user??
Message-ID: <GAEELEBDBDNHAABEBEFPCEAIDDAA.randyb@usable-thought.com>

I am just starting to learn Linux, having struggled for the past two weeks
with my new SuSE 8.1 installation to get it to look less crappy in the font
department. Towards that end I have installed the latest release candidate
version of Free86, along with KDE 3.1 and QT 3.1. Fonts in KDE and Opera
6.11 look better now, though still not up to the caliber of MS Windows;
fonts in Mozilla look worse than before for some reason, but that's OK since
Opera is so much better than Mozilla anyway.

My question is - for a beginning Linux user, is Fontconfig worth the
trouble? Will it help me get a better-looking font display than that which I
can achieve with the setup described above? If so, how?! Does it somehow
enable otherwise unused capabilities for a more attractive display, or is it
merely a means (or potential means, even worse) of fine-tuning what is
already there? Is it something that's better left alone my folks like me
until people like KDE start providing a GUI interface to it? I have read the
existing descriptions, and looked at the FAQ, but they are written at too
high a technical level to address such basic questions. Perhaps all of this
is obvious to XFree86 devotees, but it's not to anyone walking in on it
cold. I have done some Python and PHP scripting, so I'm not totally ignorant
of fiddling with scripts and such - but I'm unable to discern what the goal
of the fiddling would be in this case.

Assuming this is a valid question, I volunteer to transcribe the answer and
submit it (after someone reviews it for accuracy) to the Wiki FAQ, if that
would help.




From fontconfig@fontconfig.org  Mon Feb 24 02:27:57 2003
From: fontconfig@fontconfig.org (=?iso-8859-1?Q?Brian_Bisaillon?=)
Date: Sun, 23 Feb 2003 21:27:57 -0500 (EST)
Subject: [Fontconfig] =?iso-8859-1?Q?fcpackage.2=5F1_Xft1_&_fontconfig_compile_errors?=
Message-ID: <34012.64.229.21.158.1046053677.squirrel@hive.com>

I got everything to compile except a couple of things... 
 
Problem #1: Xft1 
 
When compiling Xft1 I get the following error: 
xftglyphs.c:29:30: freetype/ftoutln.h: No such file or directory 
 
I have the latest FreeType 1 & 2 versions installed. The ftoutln.h file doesn't exist in 
the include directory for freetype so is it not part of the freetype-1.3.1 distribution? 
 
Problem #2: 
 
I couldn't compile Xft but after doing make in fontconfig and doing a make install 
even though I was getting errors compiling fontconfig, I was able to compile Xft. I was 
also able to compile Xrender too. However, now I'm trying to compile fontconfig now 
to see if I can get rid of the errors from before but no go. It reports: 
 
/usr/lib/gcc-lib/i386-slackware-linux/3.2/../../../../i386-slackware-linux/bin/ld: cannot 
find -lfontconfig 
 
The question is how do I build the fontconfig library? 
 
Brian Bisaillon 
E-mail: bisailb@myprivacy.ca 
 
The information transmitted is intended only for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in reliance 
upon, this information by persons or entities other than the intended recipient is 
prohibited. If you receive this in error, please contact the sender and delete the 
material from any computer. 
 
-----BEGIN PGP PUBLIC KEY BLOCK----- 
Version: GnuPG v1.2.1 (MingW32) - WinPT 0.5.13 
 

=sUEa 
-----END PGP PUBLIC KEY BLOCK----- 



From fontconfig@fontconfig.org  Mon Feb 24 02:31:47 2003
From: fontconfig@fontconfig.org (=?iso-8859-1?Q?Brian_Bisaillon?=)
Date: Sun, 23 Feb 2003 21:31:47 -0500 (EST)
Subject: [Fontconfig] =?iso-8859-1?Q?missing_lfontconfig..._more_details_to_add_to_last_e-mail?=
Message-ID: <34042.64.229.21.158.1046053907.squirrel@hive.com>

Sorry, forgot to include all the other error info in my last e-mail... 
 
for d in src fc-cache fc-list fontconfig; do (cd $d && make all); done 
make[1]: Entering directory `/root/fcpackage.2_1/fontconfig/src' 
cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.   -fPIC 
-DPIC -c fcatomic.c -o fcatomic.o 
In file included from fcint.h:39, 
                 from fcatomic.c:46: 
../fontconfig/fcfreetype.h:30: parse error before "FcFreeTypeCharIndex" 
../fontconfig/fcfreetype.h:30: parse error before "face" 
../fontconfig/fcfreetype.h:30: warning: data definition has no type or storage class 
../fontconfig/fcfreetype.h:33: parse error before "face" 
../fontconfig/fcfreetype.h:36: parse error before "FT_Face" 
../fontconfig/fcfreetype.h:39: parse error before "f" 
In file included from fcatomic.c:46: 
fcint.h:445: parse error before "encoding" 
make[1]: *** [fcatomic.o] Error 1 
make[1]: Leaving directory `/root/fcpackage.2_1/fontconfig/src' 
make[1]: Entering directory `/root/fcpackage.2_1/fontconfig/fc-cache' 
cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.   -o 
fc-cache fc-cache.o -L../src -lfontconfig 
/usr/lib/gcc-lib/i386-slackware-linux/3.2/../../../../i386-slackware-linux/bin/ld: cannot 
find -lfontconfig 
collect2: ld returned 1 exit status 
make[1]: *** [fc-cache] Error 1 
make[1]: Leaving directory `/root/fcpackage.2_1/fontconfig/fc-cache' 
make[1]: Entering directory `/root/fcpackage.2_1/fontconfig/fc-list' 
cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.   -o fc-list 
fc-list.o -L../src -lfontconfig 
/usr/lib/gcc-lib/i386-slackware-linux/3.2/../../../../i386-slackware-linux/bin/ld: cannot 
find -lfontconfig 
collect2: ld returned 1 exit status 
make[1]: *** [fc-list] Error 1 
make[1]: Leaving directory `/root/fcpackage.2_1/fontconfig/fc-list' 
make[1]: Entering directory `/root/fcpackage.2_1/fontconfig/fontconfig' 
make[1]: Nothing to be done for `all'. 
make[1]: Leaving directory `/root/fcpackage.2_1/fontconfig/fontconfig' 
 
Brian Bisaillon 
E-mail: bisailb@myprivacy.ca 
 
The information transmitted is intended only for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in reliance 
upon, this information by persons or entities other than the intended recipient is 
prohibited. If you receive this in error, please contact the sender and delete the 
material from any computer. 
 
-----BEGIN PGP PUBLIC KEY BLOCK----- 
Version: GnuPG v1.2.1 (MingW32) - WinPT 0.5.13 
 

=sUEa 
-----END PGP PUBLIC KEY BLOCK----- 



From fontconfig@fontconfig.org  Mon Feb 24 02:36:19 2003
From: fontconfig@fontconfig.org (=?iso-8859-1?Q?Brian_Bisaillon?=)
Date: Sun, 23 Feb 2003 21:36:19 -0500 (EST)
Subject: [Fontconfig] =?iso-8859-1?Q?problem_resolved..._figured_it_out?=
Message-ID: <34050.64.229.21.158.1046054179.squirrel@hive.com>

Sorry, figured it out! :-) 
 
It was defaulting to freetype 1 as opposed to 2. Therefore, I just removed the 
directory, re-extracted the source, and re-built it and it was fine... delete my 2 
previous e-mails and this one. Thanks! sorry about that 
 
Brian Bisaillon 
E-mail: bisailb@myprivacy.ca 
 
The information transmitted is intended only for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in reliance 
upon, this information by persons or entities other than the intended recipient is 
prohibited. If you receive this in error, please contact the sender and delete the 
material from any computer. 
 
-----BEGIN PGP PUBLIC KEY BLOCK----- 
Version: GnuPG v1.2.1 (MingW32) - WinPT 0.5.13 
 

=sUEa 
-----END PGP PUBLIC KEY BLOCK----- 



From fontconfig@fontconfig.org  Mon Feb 24 03:29:54 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Sun, 23 Feb 2003 19:29:54 -0800
Subject: [Fontconfig] What can Fonconfig really do for average user??
In-Reply-To: Your message of "Sun, 23 Feb 2003 09:29:45 EST."
 <GAEELEBDBDNHAABEBEFPOEAGDDAA.randyb@usable-thought.com>
Message-ID: <E18n9JS-0002OS-00@localhost>

Around 9 o'clock on Feb 23, "Randy Burgess" wrote:

> My question is - for a beginning Linux user, is Fontconfig worth the
> trouble? 

Fontconfig centralizes and regularizes font configuration for a wide 
selection of applications.  As such, it helps the user only in so far as 
applications care to take advantage of it.

Furthermore, it has nothing to do with rendering of the glyphs themselves; 
it's just a library for locating and selecting fonts.  However, many 
applications using fontconfig also use the Xft library which hooks the 
high-quality FreeType2 rasterizer (well, high quality if you turn on the 
byte code interpreter) to X applications.  Such applications will have 
anti-aliased text and text optimized for LCD screens, so they will look 
much better than older applications.

I don't know if the SuSE version of Mozilla is built with fontconfig and 
Xft support; such code is in Mozilla CVS, but isn't universally deployed 
yet.

-keith




From fontconfig@fontconfig.org  Mon Feb 24 03:36:14 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Sun, 23 Feb 2003 19:36:14 -0800
Subject: [Fontconfig] =?iso-8859-1?Q?fcpackage.2=5F1_Xft1_&_fontconfig_compile_errors?=
In-Reply-To: Your message of "Sun, 23 Feb 2003 21:27:57 EST."
 <34012.64.229.21.158.1046053677.squirrel@hive.com>
Message-ID: <E18n9Pa-0002Oc-00@localhost>

Around 21 o'clock on Feb 23, "=?iso-8859-1?Q?Brian_Bisaillon?=" wrote:

> I have the latest FreeType 1 & 2 versions installed. The ftoutln.h file
> doesn't exist in the include directory for freetype so is it not part of
> the freetype-1.3.1 distribution? 

Both Xft1 and Xft compile against Freetype2.  Make sure you configure 
things appropriately.

> The question is how do I build the fontconfig library? 

$ sh ./configure
$ make

should work, if it doesn't, please file a bug in the fontconfig bugzilla 
page with as much information as you can muster, especially including the 
CPU and OS involved.

-keith




From fontconfig@fontconfig.org  Mon Feb 24 03:37:48 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Sun, 23 Feb 2003 19:37:48 -0800
Subject: [Fontconfig] =?iso-8859-1?Q?missing_lfontconfig..._more_details_to_add_to_last_e-mail?=
In-Reply-To: Your message of "Sun, 23 Feb 2003 21:31:47 EST."
 <34042.64.229.21.158.1046053907.squirrel@hive.com>
Message-ID: <E18n9R6-0002Ol-00@localhost>

Around 21 o'clock on Feb 23, "=?iso-8859-1?Q?Brian_Bisaillon?=" wrote:

> Sorry, forgot to include all the other error info in my last e-mail... 
>  
> for d in src fc-cache fc-list fontconfig; do (cd $d && make all); done 
> make[1]: Entering directory `/root/fcpackage.2_1/fontconfig/src' 
> cc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I.   -fPIC 
> -DPIC -c fcatomic.c -o fcatomic.o 

Looks like fontconfig couldn't find freetype2 header files.  I'm reworking 
the config build system to use automake, this will cause the configure 
process to bail if it can't find necessary libraries.

You may want to make sure you have 'freetype-config' in your path before 
running ./configure.

-keith




From fontconfig@fontconfig.org  Mon Feb 24 13:07:51 2003
From: fontconfig@fontconfig.org (Gansser, Martin)
Date: Mon, 24 Feb 2003 14:07:51 +0100
Subject: [Fontconfig] Xft build error on hpux 11.00
Message-ID: <78224A6821F87A4D8023B133E5B1140B493BF4@srvmxellwangen2.ratc-de.com>

Hi,

I tried to compile Xft from the fcpackage.2_1 package on
hpux 11.00, a system w/o XFree86.

The freetype.h is on my system in the directory =
/usr/local/include/freetype2

my buildscript:

#!/bin/csh -f
#
gmake clean
setenv CC gcc
setenv LDFLAGS "-L/usr/local/lib"
setenv CPPFLAGS "-I/usr/local/include"
#
./configure --with-freetype-includes=3D"/usr/local/include/freetype2" \
            --with-freetype-lib=3D"/usr/local/lib" \
            --with-freeetype-config=3D"/usr/local/bin/freetype-config" \
            --with-fontconfig-includes=3D/usr/local/include/fontconfig \
            --with-fontconfig-lib=3D/usr/local/lib \
            --with-fontconfig-config=3D/usr/local/bin/fontconfig-config =
\
            --with-x
gmake
#gmake install

mzfem_root:/users/mgansser/GNU/fcpackage.2_1/Xft # ./mk

rm -f libXft.so.2.0 libXft.so.2 libXft.so xftcolor.o xftcore.o xftdbg.o =
xftdpy.o xftdraw.o xftextent.o xftfont.o xftfreetype.o xftglyphs.o =
xftinit.o xftlist.o xftname.o xftrender.o xftstr.o xftswap.o xftxlfd.o
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  -L/usr/local/lib) works... yes
checking whether the C compiler (gcc  -L/usr/local/lib) is a =
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/local/bin/install =
-c
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries , headers /usr/include/X11R6
checking for X11/extensions/Xrender.h... (cached) no
checking for freetype-config... (cached) freetype-config
checking for freetype2/freetype.h... (cached) no
checking for fontconfig/fontconfig.h... (cached) no
creating ./config.status
creating Makefile
creating xft.pc
creating xft-config
creating config.h
config.h is unchanged
gcc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/local/include -fPIC -DPIC -c =
xftcolor.c -o xftcolor.o
cc1: warning: changing search order for system directory =
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system =
directory
In file included from xftint.h:39,
                 from xftcolor.c:25:
Xft.h:35:31: freetype/freetype.h: No such file or directory
Xft.h:37:36: X11/extensions/Xrender.h: No such file or directory
In file included from xftint.h:39,
                 from xftcolor.c:25:
Xft.h:52: parse error before "_XftFTlibrary"
Xft.h:52: warning: data definition has no type or storage class
Xft.h:69: parse error before "XRenderColor"
Xft.h:69: warning: no semicolon at end of struct or union
Xft.h:70: warning: data definition has no type or storage class
Xft.h:86: parse error before "FT_UInt"
Xft.h:86: warning: no semicolon at end of struct or union
Xft.h:89: parse error before '}' token
Xft.h:89: warning: data definition has no type or storage class
Xft.h:93: parse error before "FT_UInt"
Xft.h:93: warning: no semicolon at end of struct or union
Xft.h:96: parse error before '}' token
Xft.h:96: warning: data definition has no type or storage class
Xft.h:107: parse error before "XftColor"
Xft.h:113: parse error before '*' token
Xft.h:120: parse error before "XftColor"
Xft.h:179: parse error before "XftDrawPicture"
Xft.h:179: warning: data definition has no type or storage class
Xft.h:182: parse error before "XftDrawSrcPicture"
Xft.h:182: parse error before '*' token
Xft.h:182: warning: data definition has no type or storage class
Xft.h:186: parse error before '*' token
Xft.h:195: parse error before '*' token
Xft.h:204: parse error before '*' token
Xft.h:213: parse error before '*' token
Xft.h:222: parse error before '*' token
Xft.h:231: parse error before '*' token
Xft.h:241: parse error before '*' token
Xft.h:248: parse error before '*' token
Xft.h:254: parse error before '*' token
Xft.h:261: parse error before '*' token
Xft.h:267: parse error before '*' token
Xft.h:276: parse error before "Region"
Xft.h:295: parse error before '*' token
Xft.h:304: parse error before "XGlyphInfo"
Xft.h:311: parse error before "XGlyphInfo"
Xft.h:318: parse error before "XGlyphInfo"
Xft.h:325: parse error before "XGlyphInfo"
Xft.h:332: parse error before "XGlyphInfo"
Xft.h:353: parse error before "XftLockFace"
Xft.h:353: warning: data definition has no type or storage class
Xft.h:392: parse error before '*' token
Xft.h:398: parse error before '*' token
Xft.h:407: parse error before "FT_UInt"
Xft.h:417: parse error before "XftCharIndex"
Xft.h:419: warning: data definition has no type or storage class
Xft.h:453: parse error before "Picture"
Xft.h:466: parse error before "Picture"
Xft.h:477: parse error before "Picture"
Xft.h:488: parse error before "Picture"
Xft.h:498: parse error before "Picture"
Xft.h:508: parse error before "Picture"
Xft.h:521: parse error before "Picture"
Xft.h:534: parse error before "Picture"
Xft.h:547: parse error before "Picture"
Xft.h:560: parse error before "Picture"
Xft.h:573: parse error before "Picture"
Xft.h:586: parse error before "Picture"
Xft.h:599: parse error before "Picture"
In file included from xftint.h:41,
                 from xftcolor.c:25:
/usr/local/include/fontconfig/fcfreetype.h:27:31: freetype/freetype.h: =
No such file or directory
In file included from xftint.h:41,
                 from xftcolor.c:25:
/usr/local/include/fontconfig/fcfreetype.h:30: parse error before =
"FcFreeTypeCharIndex"
/usr/local/include/fontconfig/fcfreetype.h:30: parse error before "face"
/usr/local/include/fontconfig/fcfreetype.h:30: warning: data definition =
has no type or storage class
/usr/local/include/fontconfig/fcfreetype.h:33: parse error before "face"
/usr/local/include/fontconfig/fcfreetype.h:36: parse error before =
"FT_Face"
/usr/local/include/fontconfig/fcfreetype.h:39: parse error before "f"
In file included from xftcolor.c:25:
xftint.h:57: parse error before "XGlyphInfo"
xftint.h:57: warning: no semicolon at end of struct or union
xftint.h:60: parse error before '}' token
xftint.h:60: warning: data definition has no type or storage class
xftint.h:67: parse error before "FT_UInt"
xftint.h:67: warning: no semicolon at end of struct or union
xftint.h:68: warning: data definition has no type or storage class
xftint.h:84: parse error before "FT_F26Dot6"
xftint.h:84: warning: no semicolon at end of struct or union
xftint.h:85: warning: data definition has no type or storage class
xftint.h:86: parse error before "matrix"
xftint.h:86: warning: data definition has no type or storage class
xftint.h:89: parse error before "face"
xftint.h:89: warning: data definition has no type or storage class
xftint.h:90: warning: data definition has no type or storage class
xftint.h:102: parse error before "XftFtFile"
xftint.h:102: warning: no semicolon at end of struct or union
xftint.h:106: warning: data definition has no type or storage class
xftint.h:109: parse error before "matrix"
xftint.h:109: warning: data definition has no type or storage class
xftint.h:111: parse error before "load_flags"
xftint.h:111: warning: data definition has no type or storage class
xftint.h:119: parse error before '}' token
xftint.h:129: field `info' has incomplete type
xftint.h:135: parse error before "XftGlyph"
xftint.h:135: warning: no semicolon at end of struct or union
xftint.h:141: parse error before '*' token
xftint.h:141: warning: data definition has no type or storage class
xftint.h:147: parse error before "glyphset"
xftint.h:147: warning: data definition has no type or storage class
xftint.h:148: parse error before '*' token
xftint.h:148: warning: data definition has no type or storage class
xftint.h:155: parse error before '}' token
xftint.h:155: warning: data definition has no type or storage class
xftint.h:171: parse error before "Region"
xftint.h:171: warning: no semicolon at end of struct or union
xftint.h:172: warning: data definition has no type or storage class
xftint.h:183: parse error before "XftClip"
xftint.h:183: warning: no semicolon at end of struct or union
xftint.h:186: parse error before "Picture"
xftint.h:186: warning: no semicolon at end of struct or union
xftint.h:187: warning: data definition has no type or storage class
xftint.h:192: parse error before '}' token
xftint.h:203: parse error before "XRenderColor"
xftint.h:203: warning: no semicolon at end of struct or union
xftint.h:205: parse error before "pict"
xftint.h:205: warning: data definition has no type or storage class
xftint.h:206: warning: data definition has no type or storage class
xftint.h:219: parse error before "XRenderPictFormat"
xftint.h:219: warning: no semicolon at end of struct or union
xftint.h:225: parse error before "colors"
xftint.h:225: warning: data definition has no type or storage class
xftint.h:227: parse error before '}' token
xftint.h:227: warning: data definition has no type or storage class
xftint.h:243: parse error before '*' token
xftint.h:243: warning: data definition has no type or storage class
xftint.h:300: parse error before '*' token
xftint.h:308: parse error before '*' token
xftint.h:317: parse error before '*' token
xftint.h:324: parse error before '*' token
xftint.h:333: parse error before '*' token
xftint.h:334: warning: data definition has no type or storage class
xftint.h:370: parse error before '*' token
xftcolor.c:32: parse error before "XftColor"
xftcolor.c: In function `XftColorAllocName':
xftcolor.c:36: `dpy' undeclared (first use in this function)
xftcolor.c:36: (Each undeclared identifier is reported only once
xftcolor.c:36: for each function it appears in.)
xftcolor.c:36: `cmap' undeclared (first use in this function)
xftcolor.c:36: `name' undeclared (first use in this function)
xftcolor.c:42: `result' undeclared (first use in this function)
xftcolor.c: At top level:
xftcolor.c:80: parse error before '*' token
xftcolor.c: In function `XftColorAllocValue':
xftcolor.c:83: `visual' undeclared (first use in this function)
xftcolor.c:95: `result' undeclared (first use in this function)
xftcolor.c:95: `color' undeclared (first use in this function)
xftcolor.c:106: `dpy' undeclared (first use in this function)
xftcolor.c:106: `cmap' undeclared (first use in this function)
xftcolor.c: At top level:
xftcolor.c:121: parse error before "XftColor"
xftcolor.c: In function `XftColorFree':
xftcolor.c:123: `visual' undeclared (first use in this function)
xftcolor.c:124: `dpy' undeclared (first use in this function)
xftcolor.c:124: `cmap' undeclared (first use in this function)
xftcolor.c:124: `color' undeclared (first use in this function)
gmake: *** [xftcolor.o] Error 1
mzfem_root:/users/mgansser/GNU/fcpackage.2_1/Xft #

any suggestion ?

thanks Martin


From fontconfig@fontconfig.org  Mon Feb 24 17:23:37 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Mon, 24 Feb 2003 09:23:37 -0800
Subject: [Fontconfig] Switch to automake
Message-ID: <E18nMKH-0003eg-00@localhost>

To resolve ongoing problems with library creation on various operating 
systems, and to make the configuration process more consistent with other 
packages, I've replaced the pure autoconf configuration mechanism with 
automake.

Part of this process involved getting a change into libtool that allows 
packages to explicitly specify library version numbers; that should make 
it into libtool 1.5, but for now, I'm simply including a version of ltmain.sh
incorporating this change in the fontconfig CVS.

I'm very interested in hearing of any problems this causes, as well as any 
bugs it fixes.

-keith




From fontconfig@fontconfig.org  Mon Feb 24 23:07:06 2003
From: fontconfig@fontconfig.org (Alan Chandler)
Date: Mon, 24 Feb 2003 23:07:06 +0000
Subject: [Fontconfig] confused about <alias> <prefer>
Message-ID: <200302242307.15815.alan@chandlerfamily.org.uk>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It appears that if I have a sequence such as

<alias>
        <family>fixed</family>
        <prefer>
                <family>Console</family>
        </prefer>
</alias>

in my /etc/fonts/local.conf file

Then such a sequence still matches a font with the "fixed" family name in=20
preference to the "console" family, because in the pattern the value "fixed=
"=20
is a stong binding and the console, although prepended to the pattern list =
is=20
a weak binding.  When the matching occurs it gives preference to the strong=
er=20
binding.

Is it possible to bind console strongly?=20
=2D --=20
Alan Chandler
alan@chandlerfamily.org.uk
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+WqWjuFHxcV2FFoIRAtY9AKCcxrBg5Q+l6KmG+sriQJ/8OFtkvACgtDP2
9DkX+1kcernXoaRk+CKzWG4=3D
=3D38jR
=2D----END PGP SIGNATURE-----



From fontconfig@fontconfig.org  Mon Feb 24 23:11:34 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Mon, 24 Feb 2003 15:11:34 -0800
Subject: [Fontconfig] confused about <alias> <prefer>
In-Reply-To: Your message of "Mon, 24 Feb 2003 23:07:06 GMT."
 <200302242307.15815.alan@chandlerfamily.org.uk>
Message-ID: <E18nRl0-0003zk-00@localhost>

Around 23 o'clock on Feb 24, Alan Chandler wrote:

> Is it possible to bind console strongly? 

Yes.  Take a look in the fonts.dtd file and you'll see that you can do:

	<edit name="family" binding="strong">
		<string>Console</console>
	</edit>

in a match/edit rule.   You can convert your alias expression to a match/
edit rule, instructions for that are also in the fonts.dtd file.

-keith




From fontconfig@fontconfig.org  Tue Feb 25 20:35:32 2003
From: fontconfig@fontconfig.org (Alan Chandler)
Date: Tue, 25 Feb 2003 20:35:32 +0000
Subject: [Fontconfig] confused about <alias> <prefer>
In-Reply-To: <E18nRl0-0003zk-00@localhost>
References: <E18nRl0-0003zk-00@localhost>
Message-ID: <200302252035.36682.alan@chandlerfamily.org.uk>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 24 Feb 2003 11:11 pm, Keith Packard wrote:
> Around 23 o'clock on Feb 24, Alan Chandler wrote:
> > Is it possible to bind console strongly?
>
> Yes.  Take a look in the fonts.dtd file and you'll see that you can do:
>
> 	<edit name=3D"family" binding=3D"strong">
> 		<string>Console</console>
> 	</edit>
>
> in a match/edit rule.   You can convert your alias expression to a match/
> edit rule, instructions for that are also in the fonts.dtd file.
>

This is all very well - it answers my immediate problem, BUT

Is the functionality what would be expected.  Would it not be better for th=
e=20
at least the <alias> functions of <prefer> bind at the same strength as the=
=20
alias it is prepended to, otherwise it just doesn't do its job (my initial=
=20
thought is that <accept> and <default> should as well, but I don't fully=20
comprehend the importance of language so I am not so sure).=20


=2D --=20
Alan Chandler
alan@chandlerfamily.org.uk
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+W9OYuFHxcV2FFoIRAgX9AJ9pTjSFAZNqWKySRPQbcErelcVc+ACgi5yk
9nj+mij1eJostP1UEp0U5b8=3D
=3DQdfa
=2D----END PGP SIGNATURE-----



From fontconfig@fontconfig.org  Wed Feb 26 00:15:04 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Tue, 25 Feb 2003 16:15:04 -0800
Subject: [Fontconfig] confused about <alias> <prefer>
In-Reply-To: Your message of "Tue, 25 Feb 2003 20:35:32 GMT."
 <200302252035.36682.alan@chandlerfamily.org.uk>
Message-ID: <E18npE0-0005e0-00@localhost>

Around 20 o'clock on Feb 25, Alan Chandler wrote:

> Is the functionality what would be expected.  Would it not be better for the 
> at least the <alias> functions of <prefer> bind at the same strength as the 
> alias it is prepended to, otherwise it just doesn't do its job

The strong/weak binding was added to resolve issues with language vs 
family matching.  Strongly bound family names are more important in 
matching than language which is more important that weakly bound family 
names.  Before this change, language was actually *more* important than 
family which prevented applications from being able to match family names 
which didn't support the document language, even if explicitly selected by 
the user.

The <prefer> binding is generally used when resolving the generic family 
names (sans-serif, serif, monospace) and hence the names added should be 
"weak" so that they don't end up overriding the "real" names provided by 
applications.

I'm afraid the strong/weak binding lets the matching mechanism "show 
through" the configuration language more than I'd like, but any 
significant change in the existing mechanism would make for some 
interesting bug reports from existing users.

-keith




From fontconfig@fontconfig.org  Wed Feb 26 21:07:39 2003
From: fontconfig@fontconfig.org (Alan Chandler)
Date: Wed, 26 Feb 2003 21:07:39 +0000
Subject: [Fontconfig] confused about <alias> <prefer>
In-Reply-To: <E18npE0-0005e0-00@localhost>
References: <E18npE0-0005e0-00@localhost>
Message-ID: <200302262107.50188.alan@chandlerfamily.org.uk>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 26 Feb 2003 12:15 am, Keith Packard wrote:
> Around 20 o'clock on Feb 25, Alan Chandler wrote:
> > Is the functionality what would be expected.  Would it not be better for
> > the at least the <alias> functions of <prefer> bind at the same strength
> > as the alias it is prepended to, otherwise it just doesn't do its job
>
> The strong/weak binding was added to resolve issues with language vs
> family matching.  Strongly bound family names are more important in
> matching than language which is more important that weakly bound family
> names.  Before this change, language was actually *more* important than
> family which prevented applications from being able to match family names
> which didn't support the document language, even if explicitly selected by
> the user.

The effect I am seeing is related actually totally unrelated to language.  =
The=20
matching "difference" score for these are 0

>
> The <prefer> binding is generally used when resolving the generic family
> names (sans-serif, serif, monospace) and hence the names added should be
> "weak" so that they don't end up overriding the "real" names provided by
> applications.

Yes - I full understand the use of weak binding for the generic names - I w=
as=20
actually tracking my problems through the kde and the qt library and that=20
quite sensibly uses "Style Hints" and converts these to the generic names. =
It=20
expects these generic names to have less weight than the application=20
specified

>
> I'm afraid the strong/weak binding lets the matching mechanism "show
> through" the configuration language more than I'd like, but any
> significant change in the existing mechanism would make for some
> interesting bug reports from existing users.
>

This sounds a real shame - but are you sure existing users would actually=20
notice anything.  For a weak binding alias family name my proposal was that=
=20
the prefered family name would still be prepended as weak.  This is the sam=
e=20
as it works at the moment.

If there is strong binding alias family name my proposal is that the prefer=
=20
would prepend as strong.  At the moment it prepends as weak, and so the=20
matching mechanism effectively ignores this prepending.  This was the probl=
em=20
I was having.

The obvious question is why would someone use the alias prefer combination =
and=20
expect it to perform as it currently does for a strongly bound alias family=
=20
and therefore submit lots of bug reports.   I am asking this question with=
=20
the naievity of someone who is newly looking at the issue so forgive me if =
I=20
have totally misunderstood and there would be many users out there for whom=
 a=20
change like this would cause problems.

=20

=2D --=20
Alan Chandler
alan@chandlerfamily.org.uk
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+XSyluFHxcV2FFoIRApNpAKCjZWPlLlmAKd7v+eDtuRHr+pcWVwCfSp10
IwiqyRt4BGYlUpa3anr23Ok=3D
=3DOa7u
=2D----END PGP SIGNATURE-----



From fontconfig@fontconfig.org  Wed Feb 26 21:48:16 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Wed, 26 Feb 2003 13:48:16 -0800
Subject: [Fontconfig] confused about <alias> <prefer>
In-Reply-To: Your message of "Wed, 26 Feb 2003 21:07:39 GMT."
 <200302262107.50188.alan@chandlerfamily.org.uk>
Message-ID: <E18o9PU-00012F-00@localhost>

Around 21 o'clock on Feb 26, Alan Chandler wrote:

> Yes - I full understand the use of weak binding for the generic names

The generic names are often provided by the application and end up (by 
default) with strong binding.  Perhaps the problem here is an application 
using the "generic" name 'fixed' which in fact matches actual fonts.  The 
proper generic name is 'monospace', which won't match any fonts.

It's the substitutions in the config file which are weak by default.  The 
intent is to ensure that:

	Times(s),Serif(s)	-> Times(s),Times New Roman(w),Serif(s)

Language is relevant here.  My copy of Times doesn't have cyrillic 
letters, so if an application used this pattern for a russian document,
if the Times New Roman was bound strong, it would match better than Times 
did.  However, when an application explicitly specifies a family name, 
with a strong binding, that overrides the language so that the application 
opens the named font instead of one which supports the language.

> If there is strong binding alias family name my proposal is that the prefer 
> would prepend as strong.  At the moment it prepends as weak, and so the 
> matching mechanism effectively ignores this prepending.  This was the problem 
> I was having.

The generic names aren't supposed to matter as there aren't supposed to be 
fonts with those names present in the system.  Strong aliases should serve 
only to override real fonts with others, and that must not be part of the 
default configuration as that makes it impossible for applications to ever 
open the overridden fonts.

I guess I'm still confused over what the actual problem is here.

-keith




From fontconfig@fontconfig.org  Wed Feb 26 22:49:59 2003
From: fontconfig@fontconfig.org (Alan Chandler)
Date: Wed, 26 Feb 2003 22:49:59 +0000
Subject: [Fontconfig] confused about <alias> <prefer>
In-Reply-To: <E18o9PU-00012F-00@localhost>
References: <E18o9PU-00012F-00@localhost>
Message-ID: <200302262249.59600.alan@chandlerfamily.org.uk>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 26 Feb 2003 9:48 pm, Keith Packard wrote:

> The generic names are often provided by the application and end up (by
> default) with strong binding.  Perhaps the problem here is an application
> using the "generic" name 'fixed' which in fact matches actual fonts.  The
> proper generic name is 'monospace', which won't match any fonts.
>
=2E..

> I guess I'm still confused over what the actual problem is here.

Now you've explained it in that way - I see the problem can be seen from a=
=20
different direction.  KDEs konsole has a mode in which it wants to use a=20
"default" font as the font that is used.  It actually translates that as a=
=20
"fixed" family request through qt and then fontconfig (strongly bound) and=
=20
"monospace (weakly bound) (using QFont::Typewriter style hint).=20

Because on Debian there is a strange font in the xfonts-base package (see m=
y=20
post earlier about the "Additional Style" field in an XLFD) which has famil=
y=20
name "fixed" it is found by the fontconfig matching mechanism in preference=
=20
to any other.  I can't remove that xfonts-base package because then the=20
xserver complains it can't find the "fixed" font and won't start.=20

A problem with no obvious way out - except by trying to get "fixed"=20
overwridden when fontconfig does its matching.

I can get round the problem using the match pattern stuff in local.conf but=
 I=20
am also interested in the "correct" way of solving this issue. =20


=2D --=20
Alan Chandler
alan@chandlerfamily.org.uk
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+XUSXuFHxcV2FFoIRAgukAJ0UaTX1wOpnw2q4rFa7BGf1i3669wCePHB0
phTnqZ0H4y/br7Tqesfaqtc=3D
=3DBBd0
=2D----END PGP SIGNATURE-----



From fontconfig@fontconfig.org  Thu Feb 27 00:05:47 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Wed, 26 Feb 2003 16:05:47 -0800
Subject: [Fontconfig] confused about <alias> <prefer>
In-Reply-To: Your message of "Wed, 26 Feb 2003 22:49:59 GMT."
 <200302262249.59600.alan@chandlerfamily.org.uk>
Message-ID: <E18oBYZ-0001A8-00@localhost>

Around 22 o'clock on Feb 26, Alan Chandler wrote:
> KDEs konsole has a mode in which it wants to use a 
> "default" font as the font that is used. It actually translates that as a 
> "fixed" family request through qt and then fontconfig (strongly bound) and 
> "monospace (weakly bound) (using QFont::Typewriter style hint).

If it wants the default monospace font, it shouldn't place the 'fixed' 
family name in the request.  'monospace' is always mapped to a monospaced 
font; 'fixed' is a specific family name used by several legacy bitmap 
fonts.

> I can get round the problem using the match pattern stuff in local.conf but
> I am also interested in the "correct" way of solving this issue.  

The right way is to get KDE to stop using a specific family name when it 
wants a generic monospace font.  I'm afraid this may well be my fault when 
I was originally hacking Qt for Xft support.  I used 'fixed' as the 
generic name before I figured out how font naming in CSS2 works and 
switched to 'monospace'.

> A problem with no obvious way out - except by trying to get "fixed" 
> overwridden when fontconfig does its matching.

You should be able to delete the 'fixed' entry with:

	<match>
	        <test name="family">
	                <string>fixed</string>
	        </test>
	        <edit name="family" mode="assign">
	        </edit>
	</match>

You might want additional tests to avoid eliminating 'fixed' from all 
applications (or maybe not -- there aren't any decent looking fonts in the 
fixed family).

-keith




From fontconfig@fontconfig.org  Thu Feb 27 07:26:37 2003
From: fontconfig@fontconfig.org (Alan Chandler)
Date: Thu, 27 Feb 2003 07:26:37 +0000
Subject: [Fontconfig] confused about <alias> <prefer>
In-Reply-To: <E18oBYZ-0001A8-00@localhost>
References: <E18oBYZ-0001A8-00@localhost>
Message-ID: <200302270726.37824.alan@chandlerfamily.org.uk>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 27 Feb 2003 12:05 am, Keith Packard wrote:

> The right way is to get KDE to stop using a specific family name when it
> wants a generic monospace font.  I'm afraid this may well be my fault when
> I was originally hacking Qt for Xft support.  I used 'fixed' as the
> generic name before I figured out how font naming in CSS2 works and
> switched to 'monospace'.

I am not an expert, but I don't think Qt has a way of not specifying a fami=
ly. =20
If you try to create a QFont without a name it uses QApplication::font whic=
h=20
is set to "Helvetica" by default.

>
> > A problem with no obvious way out - except by trying to get "fixed"
> > overwridden when fontconfig does its matching.
>
> You should be able to delete the 'fixed' entry with:
>
> 	<match>
> 	        <test name=3D"family">
> 	                <string>fixed</string>
> 	        </test>
> 	        <edit name=3D"family" mode=3D"assign">
> 	        </edit>
> 	</match>
>

I'll experiment - my local.conf has exactly the above but with the string=20
"console" in the edit.=20


> You might want additional tests to avoid eliminating 'fixed' from all
> applications (or maybe not -- there aren't any decent looking fonts in the
> fixed family).

Hehe

Thanks for your help.


=2D --=20
Alan Chandler
alan@chandlerfamily.org.uk
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Xb2tuFHxcV2FFoIRAkHlAJ9fgkv+anXmEU9EYPrkqqSNdRHesgCeIe99
tcdyzIT9FbgKPhVh7Li7P4Y=3D
=3DNUbI
=2D----END PGP SIGNATURE-----



From fontconfig@fontconfig.org  Thu Feb 27 08:14:30 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Thu, 27 Feb 2003 00:14:30 -0800
Subject: [Fontconfig] confused about <alias> <prefer>
In-Reply-To: Your message of "Thu, 27 Feb 2003 07:26:37 GMT."
 <200302270726.37824.alan@chandlerfamily.org.uk>
Message-ID: <E18oJBW-00038m-00@localhost>

Around 7 o'clock on Feb 27, Alan Chandler wrote:

> I am not an expert, but I don't think Qt has a way of not specifying a
> family. If you try to create a QFont without a name it uses
> QApplication::font which is set to "Helvetica" by default.

Then just use the generic family name 'monospace' instead of 'fixed'
if you can.  'monospace', 'monospace' matches the same fonts as 
'monospace'...

-keith




From fontconfig@fontconfig.org  Thu Feb 27 12:12:11 2003
From: fontconfig@fontconfig.org (Peter Chapman)
Date: Thu, 27 Feb 2003 12:12:11 +0000
Subject: [Fontconfig] The "No fonts found" error - a culprit?
Message-ID: <20030227121211.GA7559@gondolin.dnsart.com>

Dear fontconfig people (Keith?),

I've just had a hassle involving fontconfig after importing some ttf fonts
from a Windows partition. The problem is well described on various
newsgroups & mailing lists but I didn't find a solution. Basically lots
of gtk+ applications (ones using pango) give the error:

	No fonts found; this probably means that the fontconfig
	library is not correctly configured. You may need to edit
	the fonts.conf configuration file. More information about
	fontconfig can be found in the fontconfig(3) manual
	page and on http://fontconfig.prg

It is widely suggested to run fc-cache again, but this didn't help me
(and apparently doesn't help a lot of people who are getting the same
error).

Eventualy I tracked the problem down to a single font, "oldengl.ttf".
Deleting this font cures the problem. I don't know if this is just a
corrupt file or actually a bug in the way it is being parsed - I thought
I'd pass the problem to someone who knows their way around the code!

Running a pango application in a debugger to highlight where the
failure is, I get to a point which shouldn't be reached (if I'm
understanding correctly):

------------------------------------------------------------------

(gdb) where
#0  FcCompareValueList (object=0x4099a83e "fontversion", v1orig=0x8832170,
    v2orig=0x887b98c, bestValue=0x0, value=0x40b51894, result=0xbfffddc4)
    at fcmatch.c:299
#1  0x40991679 in FcCompare (pat=0x87ecd18, fnt=0x88e0840, value=0x40b51894,
    result=0xbfffddc4) at fcmatch.c:374
#2  0x4099202f in FcFontSetSort (config=0x87eb5d8, sets=0xbfffdd70, nsets=1,
    p=0x87ecd18, trim=1, csp=0x0, result=0xbfffddc4) at fcmatch.c:673
#3  0x4099224f in FcFontSort (config=0x87eb5d8, p=0x87ecd18, trim=1, csp=0x0,
    result=0xbfffddc4) at fcmatch.c:744
#4  0x4084da97 in pango_fc_font_map_get_patterns (fontmap=0x874ce50,
    context=0x8837738, desc=0x8836088, language=0x8810d40)
    at pangofc-fontmap.cI:584
#5  0x4084dc96 in pango_fc_font_map_load_fontset (fontmap=0x874ce50,
    context=0x8837738, desc=0x8836088, language=0x8810d40)
    at pangofc-fontmap.cI:669
#6  0x40880928 in pango_font_map_load_fontset (fontmap=0x874ce50,
    context=0x8837738, desc=0x8836088, language=0x8810d40)
    at pango-fontmap.c:128
#7  0x4087f5e2 in pango_context_get_metrics (context=0x8837738,
    desc=0x8836088, language=0x8810d40) at pango-context.c:736
#8  0x405e1ca1 in gtk_entry_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00000002 in ?? ()
(gdb) list
294                 v = (*_FcMatchers[i].compare) (_FcMatchers[i].object,
295                                                 v1->value,
296                                                 v2->value);
297                 if (v < 0)
298                 {
299                     *result = FcResultTypeMismatch;
300                     return FcFalse;
301                 }
302                 if (FcDebug () & FC_DBG_MATCHV)
303                     printf (" v %g j %d ", v, j);
(gdb) print *v1
$6 = {next = 0x0, value = {type = FcTypeInteger, u = {
      s = 0x7fffffff <Address 0x7fffffff out of bounds>, i = 2147483647,
      b = 2147483647, d = 1642.0610351562498, m = 0x7fffffff, c = 0x7fffffff,
      f = 0x7fffffff, p = 0x7fffffff, l = 0x7fffffff}},
  binding = FcValueBindingStrong}

------------------------------------------------------------------

I think that *v1 is corrupt somehow... any ideas? I will send you the
offending "oldengl.ttf" if necessary.

Thanks!

Pete Chapman


From fontconfig@fontconfig.org  Thu Feb 27 16:26:48 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Thu, 27 Feb 2003 08:26:48 -0800
Subject: [Fontconfig] The "No fonts found" error - a culprit?
In-Reply-To: Your message of "Thu, 27 Feb 2003 12:12:11 GMT."
 <20030227121211.GA7559@gondolin.dnsart.com>
Message-ID: <E18oQrw-0007a9-00@localhost>

Around 12 o'clock on Feb 27, Peter Chapman wrote:

>	No fonts found; this probably means that the fontconfig
>	library is not correctly configured. You may need to edit
>	the fonts.conf configuration file. More information about
>	fontconfig can be found in the fontconfig(3) manual
>	page and on http://fontconfig.prg

I fixed a problem related to this last night.  As you uncovered, 
fontconfig bails out of matching when it discovers any inconsistencies in 
the internal state of fonts.  To save memory, font state is shared across 
fonts at many levels, one of the levels is that identical lists of values 
are stored as a single value list.  In the case uncovered last night, one 
font had a list containing the value '6.0' and another with the value '6'.
The 'identical' test said those were the same, but the matching code
didn't allow floating point values where integers were required, so it 
bailed out.  That fix was easy, but I'm going to go back and consider how 
to best deal with fonts that don't conform to the matchers expectations.

-keith




From fontconfig@fontconfig.org  Thu Feb 27 19:09:49 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Thu, 27 Feb 2003 11:09:49 -0800
Subject: [Fontconfig] Fontconfig 2.2 release
Message-ID: <E18oTPh-0004SZ-00@localhost>

I'd like to package up a 2.2 release of fontconfig now that XFree86 4.3 is 
out.

Are there any pressing issues that people would like to see resolved 
before this happens?

I'd like to get the manual split into two parts (user/developer) and 
converted to SGML.  Is there anyone who knows how to do that with 
'generic' tools (i.e. not x or gnome specific).

Other than that, I think the code is pretty stable and some nasty bugs 
have been fixed in the last couple of weeks.

-keith




From fontconfig@fontconfig.org  Fri Feb 28 01:36:22 2003
From: fontconfig@fontconfig.org (James Su)
Date: Fri, 28 Feb 2003 09:36:22 +0800
Subject: [Fontconfig] Fontconfig 2.2 release
References: <E18oTPh-0004SZ-00@localhost>
Message-ID: <3E5EBD16.9080809@turbolinux.com.cn>

Maybe DocBook is good for documents. TeX is also OK, but it's hard to 
convert to other formats except pdf and ps.

Keith Packard wrote:

>I'd like to package up a 2.2 release of fontconfig now that XFree86 4.3 is 
>out.
>
>Are there any pressing issues that people would like to see resolved 
>before this happens?
>
>I'd like to get the manual split into two parts (user/developer) and 
>converted to SGML.  Is there anyone who knows how to do that with 
>'generic' tools (i.e. not x or gnome specific).
>
>Other than that, I think the code is pretty stable and some nasty bugs 
>have been fixed in the last couple of weeks.
>
>-keith
>
>
>
>_______________________________________________
>Fontconfig mailing list
>Fontconfig@fontconfig.org
>http://mail.fontconfig.org/mailman/listinfo/fontconfig
>
>  
>





From fontconfig@fontconfig.org  Fri Feb 28 02:33:15 2003
From: fontconfig@fontconfig.org (Keith Packard)
Date: Thu, 27 Feb 2003 18:33:15 -0800
Subject: [Fontconfig] Fontconfig 2.2 release
In-Reply-To: Your message of "Fri, 28 Feb 2003 09:36:22 +0800."
 <3E5EBD16.9080809@turbolinux.com.cn>
Message-ID: <E18oaKp-0004fd-00@localhost>

Around 9 o'clock on Feb 28, James Su wrote:

> Maybe DocBook is good for documents. TeX is also OK, but it's hard to 
> convert to other formats except pdf and ps.

Yeah, I was planning on trying docbook to see if it'll work.  Clearly 
troff is passé.

-keith




From fontconfig@fontconfig.org  Fri Feb 28 08:28:40 2003
From: fontconfig@fontconfig.org (Yun-Ta Tsai)
Date: Fri, 28 Feb 2003 16:28:40 +0800
Subject: [Fontconfig] May these patches go into next release?
Message-ID: <200302281628.40151.bbns.csie91@nctu.edu.tw>

--Boundary-00=_42xX+n+a5X2ed7i
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Greeting,
        I found some patches that will fix several truetype fonts problems 
with asian characters both on printing to printer and showing on screen, also 
support asian font name. Unfortunatelly, I can't patch by myself because qt 
keep releasing , so I require for help. Three packages are needed to be 
patched: xft2, fontconfig, and libqt3c102 which will be a little bit nasty.

Patches can be downloaded here:
http://www.kde.gr.jp/~akito/patch/
(Although it's japanese page but still the file name is shown in english.)

May these patches go in official? I think that will be very handy for ppl have 
to deal with lots of asian characters.
Thanks

Best Regards
Tim
--Boundary-00=_42xX+n+a5X2ed7i
Content-Type: application/pgp-keys;
  name="My OpenPGP key"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=public_key.asc

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.1 (GNU/Linux)


Vuj0Ag==
=n8Um
-----END PGP PUBLIC KEY BLOCK-----

--Boundary-00=_42xX+n+a5X2ed7i--



From fontconfig@fontconfig.org  Fri Feb 28 13:21:03 2003
From: fontconfig@fontconfig.org (James D Strandboge)
Date: 28 Feb 2003 08:21:03 -0500
Subject: [Fontconfig] Re: [XFree86] fontconfig and xft2-- where is release 2.1.1?
In-Reply-To: <E18ofEC-0004iL-00@localhost>
References: <E18ofEC-0004iL-00@localhost>
Message-ID: <1046438463.25697.35.camel@sirius.strandboge.cxm>

On Fri, 2003-02-28 at 02:46, Keith Packard wrote:
> Around 0 o'clock on Feb 28, James D Strandboge wrote:
> 
> > I noticed that fontconfig/xft2 release 2.1.1 is/will be in XFree86
> > 4.3.0.
> 
> I'm currently putting together a fontconfig 2.2 release and I'll package up
> Xrender, Xft1 and Xft2 along with it using (approximately) the bits in
> XFree86 4.3.
> 

That's great, and I just discovered the fontconfig archives.  You asked
for bugs that people hoped would be fixed.  I found what I think is a
fontconfig/xft2 bug that I didn't see in the archive.

When using mozilla (1.2.1) with xft (2.1) enabled, loading a binary
files crashes mozilla (or any mozilla based browser like galeon).  If
xft2 is disabled, mozilla does not crash.  Eg:

http://www.mit.edu/afs/athena/user/d/a/daveg/Src/ATHENA/third/gnome-system-monitor/po/am.gmo

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=182850 for more
information.  I am not sure how to debug fontconfig other than the
strace given in the debian bug report, but would be happy to try
different things.

Jamie

-- 
Email:        jstrand1@rochester.rr.com
GPG/PGP ID:   26384A3A
Fingerprint:  D9FF DF4A 2D46 A353 A289  E8F5 AA75 DCBE 2638 4A3A




