<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi I am really a newbye of Cairo and moreover I use the Perl binding to call Cairo.<div><br class="webkit-block-placeholder"></div><div>I am running Cairo on my OSX G4 laptop with Cairo installed with MacPorts.</div><div><br class="webkit-block-placeholder"></div><div>Running Cairo 1.4.10 (old version) I get a Segmentation Fault on calling the function cr_show_text on a PDF Surface ($cr -> show_text('HELLO') in the perl binding). To solve this problem (if anyone have it), I just upgrade MacPorts to 1.6 and I call: "sudo port upgrade cairo" to switch to the newer release 1.4.12.</div><div><br class="webkit-block-placeholder"></div><div><div>Example Script:</div><div><br class="webkit-block-placeholder"></div><div>my $pdfsurf = Cairo::PdfSurface->create($output, 256,256);</div><div><div>my $pdfcr = Cairo::Context->create ($pdfsurf);</div><div><div>$pdfcr -> select_font_face('monospace','normal','normal');</div><div>$pdfcr -> set_font_size (40);</div><div>$pdfcr->move_to(70,70);</div><div>$pdfcr->show_text('HELLO');</div><div><br class="webkit-block-placeholder"></div><div>Cheers</div></div></div></div><div><br><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>Davide Rambaldi, </div><div>Bioinformatics PhD student.</div><div>-----------------------------------------------------</div><div>Bioinformatic Group IFOM-IEO Campus</div><div>Via Adamello 16, Milano</div><div>I-20139 Italy</div><br class="khtml-block-placeholder"><div>[t] +39 02574303 066</div><div>[e] <a href="mailto:davide.rambaldi@ifom-ieo-campus.it">davide.rambaldi@ifom-ieo-campus.it</a></div><div>[i]<a href="%20http://ciccarelli.group.ifom-ieo-campus.it/fcwiki/DavideRambaldi"><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "> http://ciccarelli.group.ifom-ieo-campus.it/fcwiki/DavideRambaldi</span></span></span></span></span></a><span class="Apple-converted-space"> </span>(homepage)</div><div>[i] <a href="http://www.semm.it/"><font class="Apple-style-span" color="#002FD7"><span class="Apple-style-span" style="color: rgb(0, 47, 215); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 47, 215); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 47, 215); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 47, 215); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 47, 215); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 47, 215); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 47, 215); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 47, 215); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 47, 215); -khtml-text-decorations-in-effect: underline; ">http://www.semm.it</span></span></span></span></span></span></span></span></span></font></a> (PhD school)</div><p style="margin: 0.0px 0.0px 12.0px 0.0px">[i] <a href="http://www.btbs.unimib.it/"><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; ">http://www.btbs.unimib.it/</span></span></span></span></span></span></span></span></span></a> (Master)</p><p style="margin: 0.0px 0.0px 12.0px 0.0px">-----------------------------------------------------</p></span></span></span></span><br class="Apple-interchange-newline"></span></span></span></span></span></span></span></span> </div><br></div></body></html>