diff options
author | Deron Johnson <deron.johnson@sun.com> | 2005-02-18 17:37:21 +0000 |
---|---|---|
committer | Deron Johnson <deron.johnson@sun.com> | 2005-02-18 17:37:21 +0000 |
commit | f9a4fa3bb3176ff8c843ff7c8164327d5c4fb393 (patch) | |
tree | ea2372b45431af32f94bf08516c1d6298615fd24 /xlsfonts.c | |
parent | 105875357c72e58dea0fa50c3746f8f62e2b4243 (diff) |
Diffstat (limited to 'xlsfonts.c')
-rw-r--r-- | xlsfonts.c | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -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) |