From f9a4fa3bb3176ff8c843ff7c8164327d5c4fb393 Mon Sep 17 00:00:00 2001 From: Deron Johnson Date: Fri, 18 Feb 2005 17:37:21 +0000 Subject: More 682 merge --- xlsfonts.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'xlsfonts.c') diff --git a/xlsfonts.c b/xlsfonts.c index 4e2be2b..9718c93 100644 --- a/xlsfonts.c +++ b/xlsfonts.c @@ -93,7 +93,6 @@ void usage(void) fprintf (stderr, " -1 force single column\n"); fprintf (stderr, " -u keep output unsorted\n"); #ifdef BUILD_PRINTSUPPORT - fprintf (stderr, " -r resolution set print resolution\n"); fprintf (stderr, " -b list printer builtin fonts\n"); fprintf (stderr, " -B do not list printer builtin fonts\n"); fprintf (stderr, " -g list glyph fonts\n"); @@ -174,29 +173,6 @@ int main(int argc, char **argv) sort_output = False; break; #ifdef BUILD_PRINTSUPPORT - case 'r': - { - const char *resname; - XpuResolutionList rlist; - int num_rlist; - XpuResolutionRec *res; - - if (--argc <= 0) usage (); - argv++; - resname = argv[0]; - - if (!printer_output) - Fatal_Error("Option '%c' only supported for printers.", argv[0][i]); - rlist = XpuGetResolutionList(dpy, pcontext, &num_rlist); - if (!rlist) - Fatal_Error("Could not get list of supported resolutions (Server configuration error ?)."); - res = XpuFindResolutionByName(rlist, num_rlist, resname); - if (!res) - Fatal_Error("Could not find resolution '%s'.", resname); - XpuSetDocResolution(dpy, pcontext, res); - XpuFreeResolutionList(rlist); - } - goto next; case 'b': mode = "xp-list-internal-printer-fonts"; if (!printer_output) -- cgit v1.2.3