Phil Endecott wrote: > Dear All, > > I am slowly working through all the places where small changes will be > needed to work with my text rotation feature. Mostly it is straightforward. > > Currently, I store the glyph advance as an (x,y) vector; the kerning > data already had (x,y) format; but I still have 1-dimensional values > for the ascender and descender and font-height values. > > Consider code that is displaying several lines of text. It needs to > know the line-to-line displacement, i.e. a vector form of the font > height. So should the modified API return the font height as a vector, > or should the user be responsible for doing the necessary geometry?
Instead of a modified GetHeight() API I'd prefer a new GetLineOffset() API or similar. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
