/*
- * "$Id: cupstestppd.c 11558 2014-02-06 18:33:34Z msweet $"
+ * "$Id: cupstestppd.c 12412 2015-01-19 15:18:02Z msweet $"
*
* PPD test program for CUPS.
*
- * Copyright 2007-2013 by Apple Inc.
+ * Copyright 2007-2015 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
* PostScript is a trademark of Adobe Systems, Inc.
*
* This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Main entry for test program.
- * check_basics() - Check for CR LF, mixed line endings, and blank
- * lines.
- * check_constraints() - Check UIConstraints in the PPD file.
- * check_case() - Check that there are no duplicate groups, options,
- * or choices that differ only by case.
- * check_defaults() - Check default option keywords in the PPD file.
- * check_duplex() - Check duplex keywords in the PPD file.
- * check_filters() - Check filters in the PPD file.
- * check_profiles() - Check ICC color profiles in the PPD file.
- * check_sizes() - Check media sizes in the PPD file.
- * check_translations() - Check translations in the PPD file.
- * show_conflicts() - Show option conflicts in a PPD file.
- * test_raster() - Test PostScript commands for raster printers.
- * usage() - Show program usage.
- * valid_path() - Check whether a path has the correct capitalization.
- * valid_utf8() - Check whether a string contains valid UTF-8 text.
*/
/*
pwg_media = pwgMediaForSize(width_2540ths, length_2540ths);
if (pwg_media &&
- (fabs(pwg_media->width - width_2540ths) > 34 ||
- fabs(pwg_media->length - length_2540ths) > 34))
+ (abs(pwg_media->width - width_2540ths) > 34 ||
+ abs(pwg_media->length - length_2540ths) > 34))
pwg_media = NULL; /* Only flag matches within a point */
if (pwg_media && pwg_media->ppd &&
/*
- * End of "$Id: cupstestppd.c 11558 2014-02-06 18:33:34Z msweet $".
+ * End of "$Id: cupstestppd.c 12412 2015-01-19 15:18:02Z msweet $".
*/