Henrik antialising

John M McIntosh johnmci at smalltalkconsulting.com
Wed Mar 22 02:01:43 UTC 2006


That's in "Multilingual-Display"

a sophie package


On 21-Mar-06, at 4:02 PM, Andrew Tween wrote:

> After much fiddling about, I have now compiled a VM with an internal
> FT2Plugin.
> (I had to rename freetype.a to libfreetype.a and put it in the  
> compiler's
> lib folder.
> Then add a -lfreetype to the make .
> Then copy the definition of sqFilenameFromString from sq,h into the  
> top of
> sqPlatformSpecific.h )
>
> Many thanks for everyone's help.
>
> I am now trying to install Freetype-Fonts-JMM.8.mcz and I get this
> Warning...
>     This package depends on the following classes:
>          VectorFont
>             You must resolve these dependencies before you will be  
> able to
> load these definitions:
>                   FreetypeFont
>                  FreetypeFont
> class>>colorMapForegroundColor:backgroundColor:
>      etc....
>
> If I proceed then there are no further errors, but the FreetypeFont  
> class is
> absent.
> Do you know where the VectorFont can be installed from?
> Cheers,
> Andy
>
> ----- Original Message -----
> From: "John M McIntosh" <johnmci at smalltalkconsulting.com>
> Newsgroups: gmane.comp.lang.smalltalk.squeak.general
> Sent: Tuesday, March 21, 2006 7:37 PM
> Subject: Re: Henrik antialising
>
>
>> Those are the FreeType api entry points, you need to ensure the
>> linker can find the
>> libfreetype.a, likely you need a -lfreetype on  your unix linker cmd
>> line.
>>
>> Can't speak for windows at this point.
>>
>> I will note on OS-X I downloaded and compiled freetype-2.1.10 then
>> built it for PPC and MacIntel then linked them into a universal
>> binary for the FreeType2 plugin for Sophie. Although you can link as
>> weak references and have the entry points resolved at run time this
>> only works if the OS-X user has installed X-11 on his machine, an
>> optional choice.
>>
>>
>> On 21-Mar-06, at 11:10 AM, Andrew Tween wrote:
>>
>>> : undefined reference to `FT_Init_FreeType'
>>> FT2Plugin.o: In function `shutdownModule':
>>> //E/squeaks/Squeak-Win32-3.7.1-src/3.7.1/win32/plugins/FT2Plugin/
>>> FT2Plugin.c
>>> :106
>>> 3: undefined reference to `FT_Done_FreeType'
>>> dllwrap: gcc exited with status 1
>>> make[1]: *** [makedll] Error 1
>>> make[1]: Leaving directory
>>> `E:/squeaks/Squeak-Win32-3.7.1-src/3.7.1/win32/plugin
>>> s/FT2Plugin'
>>> make: *** [FT2Plugin.dll] Error 2
>>>
>>> ---
>>> I think I may have the wrong freetype files in the wrong place.
>>> Do you know what I am doing wrong?
>>
>> --
>> ===================================================================== 
>> ===
>> ===
>> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
>> Corporate Smalltalk Consulting Ltd.  http:// 
>> www.smalltalkconsulting.com
>> ===================================================================== 
>> ===
>> ===
>>
>>
>>
>

--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===




More information about the Squeak-dev mailing list