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.

55 lines
1.3 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: fontsub.hxx
  3. *
  4. * Declarations for font substitution support routines.
  5. *
  6. * Created: 28-Jan-1992 10:35:24
  7. * Author: Gilman Wong [gilmanw]
  8. *
  9. * Copyright (c) 1990-1999 Microsoft Corporation
  10. *
  11. \**************************************************************************/
  12. #if 0
  13. // this code is really in mapfile.h
  14. // FACE_CHARSET structure represents either value name or the value data
  15. // of an entry in the font substitution section of "win.ini".
  16. // this flag describes one of the old style entries where char set is not
  17. // specified.
  18. #define FJ_NOTSPECIFIED 1
  19. // this flag indicates that the charset is not one of those that the
  20. // system knows about. Could be garbage or application defined charset.
  21. #define FJ_GARBAGECHARSET 2
  22. typedef struct _FACE_CHARSET
  23. {
  24. WCHAR awch[LF_FACESIZE];
  25. BYTE jCharSet;
  26. BYTE fjFlags;
  27. } FACE_CHARSET;
  28. #endif
  29. typedef struct _FONTSUB {
  30. WCHAR awchOriginal[LF_FACESIZE];
  31. FACE_CHARSET fcsFace;
  32. FACE_CHARSET fcsAltFace;
  33. } FONTSUB, *PFONTSUB;
  34. extern PFONTSUB gpfsTable;
  35. extern COUNT gcfsTable;
  36. extern COUNT gcfsCharSetTable;
  37. FONTSUB * pfsubAlternateFacename(const WCHAR *);
  38. FONTSUB * pfsubGetFontSub(const WCHAR *,BYTE);