[Cairo] Re: [xsvg] cairo_text_extents ?

Bill Spitzak spitzak at d2.com
Wed Dec 3 12:17:02 PST 2003


On Wednesday 03 December 2003 12:38 am, Turner David wrote:

> Unfortunately, you cannot have a single advance value, since certain
> scripts really require both x and y. For example, have a look at the
> Nastaliq screenshots at the following page:
>
>   http://www.freetype.org/opentype/index.html

Nonsense. In the example shown the "baseline" is horizontal. However there 
are complex kerning rules that cause the position of letters to be moved 
vertically depending on neighboring letters. This cannot be described by just 
a fixed y_advance (if it did the example would move the words up, not just 
the letters in the words). Therefore I do not see this as any argument for a 
y_advance.

-- 
                   ,~,~,~,~ ~ ~ ~ ~
     /\_       _|_========___         Bill Spitzak
 ~~~/\/\\~~~~~~\____________/~~~~~~~~ spitzak at d2.com




More information about the cairo mailing list