[cairo] Text scaling and hinting
cworth at cworth.org
Wed May 4 06:02:19 PDT 2005
On Wed, 4 May 2005 18:06:24 +1200, Robert O'Callahan wrote:
> [1.1 <text/plain; WINDOWS-1252 (base64)>]
> [1.2 <text/html; WINDOWS-1252 (base64)>]
Will you please not send the text portions of your email as
base64-encoded parts? And dropping the HTML version of the text
would help as well.
For the sake of anyone else running into similar barriers as I did in
trying to get at Robert's message, here's a link to the archived
version on the web that was successfully[*] decoded:
[*] surprisingly enough, since pipermail loses so badly on useful
things like attached patches.
And here's a cut-and-paste of the mail's text:
On Wed, 4 May 2005 18:06:24 +1200, Robert O'Callahan tried to get across:
> I'm currently working on having Mozilla draw text through the new Cairo font
> APIs (the text in my blog screenshot was a hack based on Xft). The new Cairo
> font APIs have all metrics depending on the current transformation matrix
> because of hinting effects. That's fine, but we also need the ability to get
> a cairo_scaled_font_t and render those exact outlines under other
> transformation matrices.
> One obvious use case is animated rotation/scaling of a multi-line text
> object. If we allow the metrics to change during the animation, lines might
> break in different places during the animation, which is probably not what
> the author wants. Performance would also suffer because we'd have to run our
> layout algorithm at each and every step of the animation. Alternatively, we
> could just cross our fingers, hope that the metrics don't change much, and
> don't rerun the layout algorithm --- but that will lead to glyphs
> overlapping at the boundaries of text runs, and other ugliness.
> What do you think?
> ["Therefore, my dear friends, as you have always obeyed–not only in my
> presence, but now much more in my absence–continue to work out your
> salvation with fear and trembling, for it is God who works in you to will
> and to act according to his good purpose." Philippians 2:12-13.]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050504/05db7958/attachment.pgp
More information about the cairo