[cairo] printing text on to a PDF/PS document using cairo

Adrian Johnson ajohnson at redneon.com
Fri Oct 28 22:04:19 PDT 2005


rush ta wrote:
> hi...
> 
> I know this is a repeat question but have been stuck on this for 4-5 
> days... pls b considerate...
> 
> I have been trying to print text on to a PDF/PS document using 
> cairo..(Have attached my code below...)
> 
> Am using the code from the example of pdf-surface create..
> I have only substituted the arc code with text one...
> My code compiles & runs fine..
> 
> But the pdf doc created doesn't display any text...(its just plain white)...
> 
> Where am I going wrong...

You need to select a true type font as this is the
only font type currently supported in the PS/PDF backends.


More information about the cairo mailing list