implented windows-based text extents and text path for cairo