[cairo] null stream pdf surface

Behdad Esfahbod behdad at behdad.org
Wed Aug 25 14:57:35 PDT 2010


On 08/25/10 17:49, Arjen Nienhuis wrote:
> 
>     You shouldn't do that.  You should measure it at a nominal size,
>     scale, and
>     draw to the target.  If you do that, you still find that your text
>     doesn't
>     quite fit in.  That's because (unfortunately) cairo doesn't do fully
>     linearly
>     scalable text yet :(.  What I suggest you do is to get the path for
>     the text
>     at the nominal size, scale, append path, fill.
> 
> If you draw text like that it looks a lot better. Especially if the text
> is slightly rotated or skewed.
> 
> Why is there no setting to draw all text like that?

Fixing the cairo text implementation to do that internally has been on my
plate for way too long.  Would appreciate if someone takes it over.

http://lists.freedesktop.org/archives/cairo/2008-May/014146.html

behdad


> Groeten, Arjen


More information about the cairo mailing list