SDL2: Replace SDL1 with SDL2. Remove all references to Xlib and Xft. Use freetype and fontconfig instead. Let SDL take care of more things now that it has additional functionality.