size-adjustable draw_string function