I've been trying to rotate a font loaded as a opentype font through the freetype plugin.
context.DrawString(drawFont, playerName, new Vector2(100, 100 ), Color.White,(float)Math.PI/2,new Vector2(0,0 ),1f,SpriteEffects.None,100f);
Produces a very wild movement of the text so it is no longer on screen, where if I understand origin that should be relative to the drawn text itself. If i move origin to 100,100 it produces the text half way off the edge of the screen
Swapping origin and position provides more the result i'd expect (if the items were unflipped), but the actual drawing seems broken with text overlapping and absolute position changing for the individual symbols.
I've been trying to rotate a font loaded as a opentype font through the freetype plugin.
Produces a very wild movement of the text so it is no longer on screen, where if I understand origin that should be relative to the drawn text itself. If i move origin to 100,100 it produces the text half way off the edge of the screen
Swapping origin and position provides more the result i'd expect (if the items were unflipped), but the actual drawing seems broken with text overlapping and absolute position changing for the individual symbols.
vs