nanogui: Re: freetype font


Previous by date: 14 Aug 2001 13:38:04 -0000 mwin on win32 (using cygwin), Rudi De Vos
Next by date: 14 Aug 2001 13:38:04 -0000 Re: Patch for Shared Memory Pixmaps, Jordan Crouse
Previous in thread:
Next in thread: 14 Aug 2001 13:38:04 -0000 Re: freetype font, Girija Deo

Subject: Re: freetype font
From: "Gary James" ####@####.####
Date: 14 Aug 2001 13:38:04 -0000
Message-Id: <3B78F1EE.16373.1A77B8@localhost>

Hi Girija,

It looks like you are mixing libraries. Are you cross compiling for 
an ARM processor? The libraries in the /usr/lical/lib directory are 
for runnning FreeType on your host machine. You will need to cross 
compile the FreeType libraries for your target platform and link 
those into your target application. I don't discuss cross compiling 
on my tutorials, they are all targeted to the X11 simulator to get 
people started with nano-X on a common platform.

Gary James



Date sent:      	Tue, 14 Aug 2001 14:16:16 +0530
From:           	Girija Deo ####@####.####
Organization:   	Cirrus Logic Software Pvt. Ltd.
To:             	####@####.####
Subject:        	freetype font

> Hello,
> 
> I have downloaded and installed freetype fonts as directed in the site
> http://home.twcny.rr.com/embedded/microwin/install/index.html
> 
> But when I rcompiled microwindows with FREETYPE_SUPPORT = Y and setting proper
> paths
> for libs, I got following errors saying "multiple definations".
> Here is the logfile....
> 
> /usr/local/lib/libttf.so: In function `Get_Class2':
> /home/girija/demo/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c:1287:
> mult
> iple definition of `_DYNAMIC'
> /home/girija/armx/arm-linux/lib/libm.so(.dynamic+0x0): first defined here
> /usr/local/lib/libttf.so: In function `Get_Device':
> /home/girija/demo/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c(.init+0x0)
> 
> : multiple definition of `_init'
> /home/girija/armx/arm-linux/lib/crti.o(.init+0x0): first defined here
> /usr/local/lib/libttf.so: In function `Get_Class2':
> /home/girija/demo/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c:1287:
> mult
> iple definition of `_fini'
> /home/girija/armx/arm-linux/lib/crti.o(.fini+0x0): first defined here
> /usr/local/lib/libttf.so: In function `Get_Class2':
> /home/girija/demo/freetype-1.3.1/lib/arch/unix/../../extend/ftxopen.c:1287:
> mult
> iple definition of `_GLOBAL_OFFSET_TABLE_'
> /home/girija/armx/arm-linux/lib/libm.so(.got.plt+0x0): first defined here
> collect2: ld returned 1 exit status
> make[2]: *** [/home/girija/demo/microwin/src/bin/nanowm] Error 1
> 
> 
> What needs to be done ?
> Thanks,
> Girija
> 
> 
> Gary James wrote:
> 
> > > You are using built in fonts here, and unless a font of size 50 has been
> > > built in to microwindows, you won't be able to resize to a 50 point
> > > font. The only way around this is to either use true-type fonts (i
> > > think), or build in a 50 point times font. A previous post of mine
> > > describes how to do this - you should be able to find it in the archive.
> >
> > Here are some detailed instructions on setting up and using TrueType
> > fonts in nano-X.
> >
> > http://home.twcny.rr.com/embedded/microwin/install/ch3.html
> >
> > Gary James
> > ####@####.####
> > http://home.twcny.rr.com/embedded/
> >
> > >
> > > Cheers,
> > > Dunk.
> > >
> > > --
> > > Duncan Palmer
> > > ####@####.####
> > > Software Design Engineer                          Phone:
> > > +353-1-2911561
> > > Silicon and Software Systems                      Fax:
> > > +353-1-2911001
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: ####@####.####
> > > For additional commands, e-mail: ####@####.####
> > >
> > >
> >
> > --
> > Gary A James, Critical Link, LLC
> > Voice:  315.425.4045 x218
> > Fax:    315.425.4048
> > E-Mail: ####@####.####
> > WEB:    http://www.criticallink.com
> 
> 



--
Gary A James, Critical Link, LLC         
Voice:  315.425.4045 x218  
Fax:    315.425.4048    
E-Mail: ####@####.####
WEB:    http://www.criticallink.com

Previous by date: 14 Aug 2001 13:38:04 -0000 mwin on win32 (using cygwin), Rudi De Vos
Next by date: 14 Aug 2001 13:38:04 -0000 Re: Patch for Shared Memory Pixmaps, Jordan Crouse
Previous in thread:
Next in thread: 14 Aug 2001 13:38:04 -0000 Re: freetype font, Girija Deo


Powered by ezmlm-browse 0.20.