Hi, I don't know whether its a bug with freetype or my approch for vertical font layout is wrong. I am code given with tutorial-1. Only change is line "FT_Load_Char( face, text[n], FT_LOAD_VERTICAL_LAYOUT | FT_LOAD_RENDER);"
Out put is as follows. For char A: slot->bitmap_left 301 slot->bitmap_top 314 slot->advance.x 0 slot->advance.y 3200 For char b: slot->bitmap_left 302 slot->bitmap_top 266 slot->advance.x 0 slot->advance.y 3200 For char g: slot->bitmap_left 304 slot->bitmap_top 203 slot->advance.x 0 slot->advance.y 3200 For char q: slot->bitmap_left 303 slot->bitmap_top 153 slot->advance.x 0 slot->advance.y 3200 For char R: slot->bitmap_left 302 slot->bitmap_top 114 slot->advance.x 0 slot->advance.y 3200 Please tell me why I am getting +ve X bearing for vertical font with angle zero. Other Info: Freetype 2.2.1 font file: msmincho.ttc Thanks & Regards Paresh _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
