Commit f3d1007f authored by Felix Paul Kühne's avatar Felix Paul Kühne

freetype: enable font fallback on Darwin

parent c1678d6a
......@@ -70,9 +70,9 @@ void addNewFontToFamily(filter_t *p_filter, CTFontDescriptorRef iter, char *path
CFNumberGetValue(trait, kCFNumberFloatType, &traitValue);
b_italic = traitValue > 0.03;
//#ifndef NDEBUG
#ifndef NDEBUG
msg_Dbg(p_filter, "New font: bold %i italic %i path '%s'", b_bold, b_italic, path);
//#endif
#endif
NewFont(path, 0, b_bold, b_italic, p_family);
CFRelease(fontTraits);
......
......@@ -84,6 +84,11 @@
# define HAVE_FONT_FALLBACK
#endif
/* Darwin */
#ifdef __APPLE__
# define HAVE_FONT_FALLBACK
#endif
/**
* Within a paragraph, run_desc_t represents a run of characters
* having the same font face, size, and style, Unicode script
......
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