fix CustomLayoutManager and FontTest