CGContextShowText is rendering upside down text (mirror image)
问题 Without my doing anything to request upside down text, CGContextShowText is drawing it in that fashion. It is a mirror image vertically of what it should be. float font_size = 19.; CGContextSelectFont (context, "Helvetica", font_size, kCGEncodingMacRoman); CGContextSetTextDrawingMode (context, kCGTextFill); CGContextSetRGBStrokeColor (context, 255, 0, 0, 0); CGContextSetRGBFillColor (context, 255, 0, 0, 0); CGContextSetTextPosition (context, x, y); CGContextShowText (context, cstring, strlen