This will be useful to find the fonts during testing and we can also reduce our use of magic environment variables in some places.
Created attachment 117232 [details] Patch
Created attachment 117234 [details] Patch sans debug fprintf
Carlos Garcia pointed out that something like this is necessary in WebCore as well. I'll change WebCore to call this version of the function and add fallbacks for BSDs.
Created attachment 117398 [details] Patch
Comment on attachment 117398 [details] Patch OK!
Committed r101710: <http://trac.webkit.org/changeset/101710>