[cairo] is unaligned text possible?

David Vanderson david.vanderson at gmail.com
Tue Dec 17 07:38:58 PST 2013


Thanks very much!

On 12/17/2013 12:18 AM, Behdad Esfahbod wrote:
> 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



More information about the cairo mailing list