1 Aug 2004 01:01
2 Aug 2004 20:12
libfreetype.a
Miro <miro.doma <at> post.sk>
2004-08-02 18:12:54 GMT
2004-08-02 18:12:54 GMT
Hi there,
I'm currently running xorg as my xserver. I compiled freetype and installed it in /usr and /usr/X11R6 as
suggested in Upgrade.unx. When loading the freetype module xorg complains about freetypeModuleData
missing. I have backed up my libFreetype.a from the freetype lib that came with my distro. It does have the
freetypeModuleData function listed under ftmodule.o in libfreetype.a. (this is completly missing
from the new libfreetype.a) So my question is what can I do? is this a Xserver problem or a compilation
problem or...
With best regards
Miro P.
________
Bezplatny mail, forum, PaciNepaci a viac - http://www.post.sk
5 Aug 2004 13:42
Re: libfreetype.a
Werner LEMBERG <wl <at> gnu.org>
2004-08-05 11:42:47 GMT
2004-08-05 11:42:47 GMT
> I'm currently running xorg as my xserver. I compiled freetype and
> installed it in /usr and /usr/X11R6 as suggested in Upgrade.unx.
> When loading the freetype module xorg complains about
> freetypeModuleData missing. I have backed up my libFreetype.a from
> the freetype lib that came with my distro. It does have the
> freetypeModuleData function listed under ftmodule.o in
> libfreetype.a. (this is completly missing from the new
> libfreetype.a) So my question is what can I do? is this a Xserver
> problem or a compilation problem or...
This seems to be an Xserver problem: Vanilla FreeType 2 never had a
function or data structure called `freetypeModuleData'.
Werner
5 Aug 2004 14:00
Re: mkfontscale and freetype2
Werner LEMBERG <wl <at> gnu.org>
2004-08-05 12:00:51 GMT
2004-08-05 12:00:51 GMT
> When people launch mkfontscale, I am wondering what API(s) in
> freetype2 is called to acquire the slant/weight/name for the fonts
> in the current directory? Thank you.
Doing
grep 'FT_*.('
in mkfontscale.c (from XFree86 4.3.0), I get the following functions:
FT_Init_FreeType
FT_Get_Sfnt_Name
FT_New_Face
FT_Get_PS_Font_Info
FT_Has_PS_Glyph_Names
FT_Get_Name_Index
FT_Get_Char_Index
FT_Set_Charmap
You might check the X source tree yourself; uou can find the program
in
xc/programs/mkfontscale
Werner
5 Aug 2004 14:44
Re: linking libz.a - problems building freetype2 on solaris 7
Werner LEMBERG <wl <at> gnu.org>
2004-08-05 12:44:36 GMT
2004-08-05 12:44:36 GMT
> I cannot seem to compile freetype 2 on solaris 7 due to a problem
> with linking in my system zlib (/usr/local/lib/libz.a). This is the
> output from ./configure [...]
In case you can't solve the problem, I suggest you only build a static
library with
./configure --disable-shared --enable-static
Werner
5 Aug 2004 16:02
Re: linking libz.a - problems building freetype2 on solaris 7
Veeresh Khanorkar <veeresh_khanorkar <at> hotmail.com>
2004-08-05 14:02:00 GMT
2004-08-05 14:02:00 GMT
Please recollect I had send a mail with Subj: Compiling problem: Freetype2 on Solaris. I described about problem compiling freetype 2 on solaris. My compilation also resulted in same kind error as shown here. I will as well like to fix the problem. Thanks -Veeresh Paul Tregoing wrote: > Hi there, > > I cannot seem to compile freetype 2 on solaris 7 due to a problem with > linking in my system zlib (/usr/local/lib/libz.a). This is the output > from ./configure > > root# ./configure --prefix=/apache/modules/freetype/2.1.9 > cd builds/unix; ./configure --prefix=/apache/modules/freetype/2.1.9 > checking build system type... sparc-sun-solaris2.7 > checking host system type... sparc-sun-solaris2.7 > checking target system type... sparc-sun-solaris2.7 > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking how to run the C preprocessor... gcc -E(Continue reading)
6 Aug 2004 08:00
Re: linking libz.a - problems building freetype2 on solaris 7
David Turner <david <at> freetype.org>
2004-08-06 06:00:35 GMT
2004-08-06 06:00:35 GMT
Hello, it seems you're trying to generate a DLL (shared object on Unix) using a static library (libz.a). This cannot work, since you need the shared version of zlib (i.e. libz.so) to do that... Hope this helps, - David Turner - The FreeType Project (www.freetype.org) Veeresh Khanorkar wrote: > Please recollect I had send a mail with Subj: Compiling problem: > Freetype2 on Solaris. I described about problem compiling freetype 2 on > solaris. My compilation also resulted in same kind error as shown here. > I will as well like to fix the problem. > > Thanks > -Veeresh > Paul Tregoing wrote: > >> Hi there, >> >> I cannot seem to compile freetype 2 on solaris 7 due to a problem with >> linking in my system zlib (/usr/local/lib/libz.a). This is the output >> from ./configure >> >> root# ./configure --prefix=/apache/modules/freetype/2.1.9 >> cd builds/unix; ./configure --prefix=/apache/modules/freetype/2.1.9 >> checking build system type... sparc-sun-solaris2.7(Continue reading)
6 Aug 2004 12:59
Re: linking libz.a - problems building freetype2 on solaris 7
Paul Tregoing <pjt <at> bas.ac.uk>
2004-08-06 10:59:32 GMT
2004-08-06 10:59:32 GMT
Problem (sort of) solved: I removed support for compressed font files by commenting out the following lines from freetype/include/freetype/config/ftoption.h /* #define FT_CONFIG_OPTION_USE_LZW */ /* #define FT_CONFIG_OPTION_USE_ZLIB */ /* #define FT_CONFIG_OPTION_SYSTEM_ZLIB */ I know its not a fix per se, but since I don't need support for compressed font files on this system I'm not going to worry about it :) Paul David Turner wrote: > Hello, > > it seems you're trying to generate a DLL (shared object on Unix) > using a static library (libz.a). This cannot work, since you need > the shared version of zlib (i.e. libz.so) to do that... > > Hope this helps, > > - David Turner > - The FreeType Project (www.freetype.org) > > > Veeresh Khanorkar wrote: > >> Please recollect I had send a mail with Subj: Compiling problem:(Continue reading)
7 Aug 2004 17:46
GPLed fonts
Werner LEMBERG <wl <at> gnu.org>
2004-08-07 15:46:37 GMT
2004-08-07 15:46:37 GMT
A few weeks ago there was a question where to find GPLed fonts. Here is such a site: http://www.dustismo.com/site/fonts.html Werner
9 Aug 2004 07:08
RSS Feed