Hi, Do you have such sample code which I can use for vertical layout without FT_LOAD_VERTICAL_LAYOUT? For few Japanese and Chinese characters vertical and horizontal layout differs how to handle that.
Thanks & Regards Paresh > > Hi, > > On Sat, May 27, 2006 at 06:31:57AM +0000, Paresh Deshmukh wrote: > > Yes +ve mean positive. Problem is I am expecting "bitmap_left " negative but > > getting all positive. > Please don't use FT_LOAD_VERTICAL_LAYOUT. It is not well-defined > (currently). > > For vertical layout, you instead have to translate the rendered bitmaps > manually: > > slot->bitmap_left += (metrics->vertBearingX - metrics->horiBearingX) / 64; > slot->bitmap_top += (-metrics->vertBearingY - metrics->horiBearingY) / 64; > > -- > Regards, > olv _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
