@Override
	public void writeState(SaveState saveState) {
		String family = font.getFamily();
		int pos = family.indexOf(".");
		if (pos > 0) {
			family = family.substring(0, pos);
		}
		saveState.putString(FAMILY, family);
		saveState.putInt(SIZE, font.getSize());
		saveState.putInt(STYLE, font.getStyle());
	}
Saves the Font information so that it can be reconstructed.
Ghidra/Framework/Gui/src/main/java/ghidra/framework/options/WrappedFont.java