fix font weight issues for non-osx systems