Displaying 2 results from an estimated 2 matches for "fcfontsetdestroy".
2014 Jan 06
4
2 bugs in R's grDevices, and fixes.
...ro/cairoFns.c around line 720 =====
/* some FreeType versions have broken index support,
fall back to index 0 */
if (!FT_New_Face(ft_library,
(const char *) file, index, &face) ||
(index && !FT_New_Face(ft_library,
(const char *) file, 0, &face))) {
FcFontSetDestroy (fs);
#ifdef __APPLE__
/* FreeType is broken on OS X in that face index
is often wrong (unfortunately even for Helvetica!)
- we try to find the best match through enumeration.
And italic and bold are swapped */
if (style == 2) style = 1; else if (style == 1)...
2014 Jan 06
4
2 bugs in R's grDevices, and fixes.
...ro/cairoFns.c around line 720 =====
/* some FreeType versions have broken index support,
fall back to index 0 */
if (!FT_New_Face(ft_library,
(const char *) file, index, &face) ||
(index && !FT_New_Face(ft_library,
(const char *) file, 0, &face))) {
FcFontSetDestroy (fs);
#ifdef __APPLE__
/* FreeType is broken on OS X in that face index
is often wrong (unfortunately even for Helvetica!)
- we try to find the best match through enumeration.
And italic and bold are swapped */
if (style == 2) style = 1; else if (style == 1)...