Commit 26882817 authored by Glen Low's avatar Glen Low

Fix missing CoreText symbol in Leopard builds

parent 7c7f9c3d
......@@ -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