2

When trying to install Humor Sans as per this thread, I run

font_import(".")

and receive the following warning:

Found FontName for 1 fonts.
Scanning afm files in C:/Program Files/R/R-2.15.2/library/extrafontdb/metrics
Writing font table in C:/Program Files/R/R-2.15.2/library/extrafontdb/fontmap/fonttable.csv
Writing Fontmap to C:/Program Files/R/R-2.15.2/library/extrafontdb/fontmap/Fontmap...
Warning message:
In readLines(fd, 30) :
  seek on a gzfile connection returned an internal error

I've tried several different ways to get the font to work, but I think this must be the error. Does anyone have any suggestions for how to remedy this?

I'm running Windows XP.

Community
  • 1
  • 1
Chris M
  • 75
  • 7
  • why not use the defaults: font_import()? – EDi Feb 20 '13 at 13:49
  • @EDi that command doesn't find the Humor-Sans.tff file, it only loads in the existing windows fonts. – Chris M Feb 20 '13 at 14:21
  • You're not going crazy (or at least if you are, you've got company)! I'm also on Windows XP, and have *never* been able to get those fonts properly loaded, despite trying several times and despite [this additional post](http://stackoverflow.com/questions/13989644/xkcd-style-graph-error-with-registered-fonts?lq=1) which helped some Windows users... – Josh O'Brien Feb 20 '13 at 14:26
  • I am not on windows, perhabs ttf_import() may also do the job? – EDi Feb 20 '13 at 14:28
  • @EDi -- Thanks, but nope. `ttf_import()` exhibits the same error. – Josh O'Brien Feb 20 '13 at 14:38
  • @JoshO'Brien thanks, there must be a way to do this! – Chris M Feb 20 '13 at 14:55

0 Answers0