xkbprint.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #ifndef _XKBPRINT_H_
  2. #define _XKBPRINT_H_ 1
  3. /************************************************************
  4. Copyright (c) 1995 by Silicon Graphics Computer Systems, Inc.
  5. Permission to use, copy, modify, and distribute this
  6. software and its documentation for any purpose and without
  7. fee is hereby granted, provided that the above copyright
  8. notice appear in all copies and that both that copyright
  9. notice and this permission notice appear in supporting
  10. documentation, and that the name of Silicon Graphics not be
  11. used in advertising or publicity pertaining to distribution
  12. of the software without specific prior written permission.
  13. Silicon Graphics makes no representation about the suitability
  14. of this software for any purpose. It is provided "as is"
  15. without any express or implied warranty.
  16. SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
  17. SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  18. AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
  19. GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
  20. DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  21. DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  22. OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
  23. THE USE OR PERFORMANCE OF THIS SOFTWARE.
  24. ********************************************************/
  25. #define LABEL_AUTO -1
  26. #define LABEL_NONE 0
  27. #define LABEL_KEYNAME 1
  28. #define LABEL_KEYCODE 2
  29. #define LABEL_SYMBOLS 3
  30. #define NO_SYMBOLS 0
  31. #define COMMON_SYMBOLS 1
  32. #define ALL_SYMBOLS 2
  33. typedef struct _XKBPrintArgs {
  34. int copies;
  35. int grid;
  36. int label;
  37. int baseLabelGroup;
  38. int nLabelGroups;
  39. int nTotalGroups;
  40. int nKBPerPage;
  41. int labelLevel;
  42. int wantSymbols;
  43. Bool wantKeycodes;
  44. Bool wantDiffs;
  45. Bool scaleToFit;
  46. Bool wantColor;
  47. Bool level1;
  48. Bool wantEPS;
  49. } XKBPrintArgs;
  50. extern Bool
  51. DumpInternalFont(
  52. FILE * /* out */ ,
  53. const char * /* fontName */
  54. );
  55. extern Bool
  56. GeometryToPostScript(
  57. FILE * /* out */ ,
  58. XkbFileInfo * /* result */ ,
  59. XKBPrintArgs * /* args */
  60. );
  61. #endif /* _XKBPRINT_H_ */