Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
611 B

  1. /*
  2. * Adobe Universal Font Library
  3. *
  4. * Copyright (c) 1996 Adobe Systems Inc.
  5. * All Rights Reserved
  6. *
  7. * UFLVM.h
  8. *
  9. *
  10. * $Header:
  11. */
  12. #ifndef _H_UFLVM
  13. #define _H_UFLVM
  14. // Guestimate factor for a font VM Usage.
  15. #define VMRESERVED(x) (((x) * 12) / 10)
  16. #define VMT42RESERVED(x) (((x) * 15) / 10)
  17. /* VM Guestimation for type 1 */
  18. #define kVMTTT1Header 10000
  19. #define kVMTTT1Char 500
  20. /* Type 3 */
  21. #define kVMTTT3Header 15000 // synthetic Type 3 header vm usage
  22. #define kVMTTT3Char 100 // synthetic Type 3 character vm usage
  23. #endif