[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Cairo and SVG not working
From:       "Snider, Charles J" <cjsnide () sandia ! gov>
Date:       2010-12-17 21:11:56
Message-ID: 98EBB542F32B9D4CBB1EC5FE1D93D45B23F85C9C06 () ES02SNLNT ! srn ! sandia ! gov
[Download RAW message or body]

I turns out that the markup I was using in the pango layout was not implemented until \
1.21 (font and font_size, for example).  I'm using 1.14, which still allows font_desc \
instead of font, so changing the markup to use font_desc fixed the text problem I was \
having.

As far as SVG, I'm still convinced it is something simple, but for now cairo-image \
will work fine.

-----Original Message-----
Sent: Thursday, December 16, 2010 1:36 PM
To: 'cairo@cairographics.org'
Subject: RE: [cairo] Cairo and SVG not working

Ok, so the problem is that I assume most people will be familiar with the C \
implementation, so I provided C example code to mimic bits and pieces of what I am \
doing. I am using ruby-cairo and ruby-pango.  C examples with simple font (show_text) \
work when using cairo-image. But ruby examples using pango do not work font-wise.

I am giving up on SVG for now and just offering a one size fits all solution.
So now I am left with a pango layout/text problem, which is likely not a question \
meant for this forum.

--
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic