摘要: 渲染UTF8字体的时候,发现取字体是按偏移量的而不是第几个字 ALLEGRO_USTR_INFO info; const ALLEGRO_USTR *ustr = al_ref_cstr(&info, str.c_str()); int words = al_ustr_length(ustr); f 阅读全文
posted @ 2021-11-06 18:31 开学五年级了 阅读(32) 评论(0) 推荐(0) 编辑