[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Mac Developer - good news

In message <44DC9A76.3050406@xxxxxxxxx>
          Cristian Bortes <cristian.bortes@xxxxxxxxx> wrote:

> I'm running on PowerPC.
> Hi Ben,
> I load xara-lx-gold-no-bevels-no-fractals.xar and the aplication exits
> without any warrning or error. Attached is the log file for this crash.

This is a text rendering crash, which is not surprising because text 
rendering has not been implemented for MacOS, only for Linux. Linux 
text rendering uses Pango and FreeType, which are available for MacOS, 
but not installed by default. On MacOS one would normally use the 
ATSUI interface, support for which should not be too difficult to add 
(but is still a fair amount of work).

LX should run fine without text rendering capabilities (a lot of code 
is disabled automatically if _WXGTK_ is not defined). The code where 
the crash is should not actually be enabled on your system. So, is 
your wxWidgets actually wxGTK?

To fix your problem, go to wxOil/fontbase.h and change the logic to 


> Alex Bligh wrote:
>> Cristian,
>> Cristian Bortes wrote:
>>> Hi,
>>> This is the daily status regarding XaraLX XCode project.
>>> First I want to say that I successfully completed to compile and run
>>> for the first time XaraLX XCode project.
>>> The menus are working, you can select tools
>> Great!
>> > but it crashes when trying to load a project.
>> Less good. Are you running on PowerPC or i386?
>>> Also when starting the application I get an error that could not find
>>> ImageMagic 6.0.0.
>> That's harmless, and you will only get warned about it once (assuming
>> you achieve a successful quit, so prefs are saved). Alternatively,
>> just install the imagemagick binary ( http://www.imagemagick.org ).
>> It says you can build for Mac OS X though they only seem to have a
>> PowerPC binary.
>> Alex