fix font registration, logging on linux