Commit dfeae970 authored by Emden R. Gansner's avatar Emden R. Gansner

Merge pull request #11 from pixelglow/fix-missing-coretext-symbol-in-leopard

Fix missing CoreText symbol in Leopard builds
parents 7c7f9c3d 26882817
......@@ -27,6 +27,11 @@
/* symbol defined in 10.5.x dylib but not in headers */
extern const CFStringRef kCTForegroundColorFromContextAttributeName;
void *quartz_new_layout(char* fontname, double fontsize, char* text)
CFStringRef fontnameref = CFStringCreateWithBytes(kCFAllocatorDefault, (const UInt8 *)fontname, strlen(fontname), kCFStringEncodingUTF8, FALSE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment