[gccsdk] [Bug 184] New: RISC OS version of Pango, Cairo, fontconfig

Peter Naulls peter at chocky.org
Wed Jan 13 08:34:49 PST 2010


Michael Gerbracht wrote:
> In article <4B4CFBC5.1020503 at care4free.net>, Chris Gransden
> <chrisg at care4free.net> wrote:
>> Michael Gerbracht wrote:
>>> In article <bug-184-73 at http.www.riscos.info/bugzilla3/>,
>>>    <bugzilla-daemon at riscos.info> wrote:
>>>   
>>>> pango, cairo and fontconfig all build on RISC OS, but ultimately,
>>>> fontconfig makes assumptions about font resources and files that don't
>>>> meaningfully exist on RISC OS, so any such program will fail quickly.
>>>> [...] Some stuff I did is here, but where it is still useful is unknown:
>>> That sounds good! I think there is also some use of cairo not connected
>>> to porting.

Well, cairo itself is the port in question, so the question strictly
speaking doesn't make sense.  But it is possible that there is some
non-font usage that might work now.  But I don't know enough about
cairo to commemt further.

  Is it currently possible to run some of the test files and
>>> generate e.g. a PDF document with it on RISC OS? If this is possible, can
>>> you give me a hint on how to do this? 
>>>
>>>   

>> I don't know if this helps. The other way round works. I successfully
>> compiled and ran the sample program from here,
>> http://cairographics.org/renderpdf/
>> All I had to do was copy '/etc/fonts' and '/usr/share/fonts' from ubuntu.
> 
> Thanks, but I guess you are over-estimating my knowledge by a factor of 100
> or so ;-)
> 
> My confusion already starts with the content of the cairo tar archive. It
> contains a directory "cairo-1/5/12" and a file "cairo-1/5/12/tar/gz". If I
> unpack the file the content seems to be almost identical but I do not
> understand where the difference is.

I'm not sure what we're talking about here.  Perhaps you should 
familiarize yourself with the GCCSDK autobuilder before proceeding. That
is the crucial piece here.

> I would like to use cairo to output vector graphics that make use of
> transparency and colour fades etc. which can not be handled by the draw
> format. So instead I would like to produce a cairo script, process it with
> cairo and save it as pdf/svg/png or any other supported format. Will this
> probably work with this port of cairo or am I to optimistic?

My expectation is that would almost certainly involve the use of fonts, 
so really the problem needs to be solved properly.







More information about the gcc mailing list