Change logic when loading custom font