Added len param to get_string_width.
Added type template param to vertex attributes.