Move font loading in layout