Re: is unaligned text possible?

Behdad Esfahbod <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 13-12-17 12:11 AM, David Vanderson wrote:
> Hello,
> 
> I'm trying to render text not aligned to pixel boundaries:
> 
> cairo_move_to (cr, 100.3, 100.3);
> cairo_show_text (cr, "hello");
> 
> It seems that regardless of the font options I set, the baseline (for
> instance) is always snapped to a whole pixel. I'm sorry if this is a known
> issue, but is this intentional?

It's a limitation of the current implementation.  Your best bet is to set the
right font options, then do a cairo_text_path();cairo_fill().

> Thanks,
> Dave

-- 
behdad
http://behdad.org/
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.