Gfx: Add some tests for TextFormatD2D