Fix for working custom font

Fix for working custom font