CLOSE SEARCH
POSTS TAGGED WITH: Font

[Snippet] Draw Font using Quartz

– (void)drawFont:(CGContextRef)context
{

CGContextSelectFont(context, “Georgia”, 24.0, kCGEncodingMacRoman);
CGContextSetTextDrawingMode(context, kCGTextFill);
CGContextSetRGBFillColor(context, 1.0, 1.0, 1.0, 1);

CGAffineTransform xForm = CGAffineTransformMake(1.0, 0.0, 0.0, -1.0, 0.0, 0.0);
CGContextSetTextMatrix(context, xForm);
CGContextShowTextAtPoint(context, 10, 30, “Georgia”, strlen(“Georgia”));

}

iPhone 내장 폰트


AppleGothic
Hiragino Kaku Gothic ProN
Arial Unicode MS
Heiti K
DB LCD Temp
Helvetica
Marker Felt
Times New Roman
Verdana
Georgia
Arial Rounded MT Bold
Trebuchet MS
Heiti TC
Geeza Pro
Courier
Arial
Heiti J
Arial Hebrew
Courier New
Zapfino
American Typewriter
Heiti SC
Helvetica Neue
Thonburi