[cairo] Underlining text, etc?

Dominic Lachowicz domlachowicz at gmail.com
Thu Oct 1 09:58:42 PDT 2009


Hi Ian,

Cairo doesn't support font markup. Pango does support the few features
you mentioned, though.

http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html

Cheers,
Dom

On Thu, Oct 1, 2009 at 12:32 PM, Ian Britten <britten at caris.com> wrote:
> Hi all,
> Can someone confirm that Cairo has no support for extra font
> markups (Such as underline, strike-through, etc), that there is
> no plan to add support, and thus it's stuff I'll have to handle
> in my rendering code?
>
> Assuming I have to do it myself, does anyone have any experience,
> suggestions, or pitfalls?  I can imagine numerous upcoming
> questions about this, regarding path/stroke handling, alphas,
> vector output considerations (PDF, SVG, etc), and figured I
> might as well try to save myself from some problems, if there's
> a preferred technique to doing this.
>
> Although I can probably kludge some drawing instructions
> together, I'd like to do things 'right' (If there is such a thing)
>
> Many thanks for any info!
> Ian
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>



-- 
"I like to pay taxes. With them, I buy civilization." --  Oliver Wendell Holmes


More information about the cairo mailing list