Split font and geometry classes into their own source files.