Ronald Florence wrote:
> The new fonts do get added, but for some reason, 
> the Debug::FONT code in this function does not get
> invoked.  I'd appreciate suggestions of how to get
> that to work.  Thanks,

Dunno. It all looks Ok to me. One question, can the enum in debug.h 
support 2^{23}?

Incidentally, you don't need 'lyxerr[Debug::FONT] << ...' here. 
'lyxerr << ...' will suffice.

+       if (lyxerr.debugging(Debug::FONT)) {
+               UInt8  buf[255];
+               CFURLGetFileSystemRepresentation(FontsURL, true, buf, 255);
+               lyxerr[Debug::FONT] << "Adding Fonts directory: " << buf << endl;
+       }

-- 
Angus

Reply via email to