conditional for fonts on ubuntu and macos