Added a way to measure the text's length in pixels for a given font.
Added sampler states for textures/