dix: Remove -fn and -fc options to set default text/cursor fonts

I strongly suspect these never get used in the wild, and it's not an
especially useful thing to do in any case.
This commit is contained in:
Adam Jackson
2019-10-16 14:21:06 -04:00
committed by Adam Jackson
parent 4ebce1ed8b
commit 56ea4c769c
7 changed files with 4 additions and 30 deletions

View File

@@ -224,13 +224,12 @@ dix_main(int argc, char *argv[], char *envp[])
ErrorF("[dix] failed to set default font path '%s'",
defaultFontPath);
}
if (!SetDefaultFont(defaultTextFont)) {
FatalError("could not open default font '%s'", defaultTextFont);
if (!SetDefaultFont("fixed")) {
FatalError("could not open default font");
}
if (!(rootCursor = CreateRootCursor(NULL, 0))) {
FatalError("could not open default cursor font '%s'",
defaultCursorFont);
FatalError("could not open default cursor font");
}
#ifdef PANORAMIX