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.

49 lines
701 B

  1. //
  2. // size of the byte aligned DIB bitmap
  3. //
  4. #define CJ_DIB8_SCAN(cx) ((((cx) + 7) & ~7) >> 3)
  5. #define CJ_DIB8( cx, cy ) (CJ_DIB8_SCAN(cx) * (cy))
  6. //
  7. // Public functions in jpnfont.c
  8. //
  9. BOOLEAN
  10. FEDbcsFontInitGlyphs(
  11. IN PCWSTR BootDevicePath,
  12. IN PCWSTR DirectoryOnBootDevice,
  13. IN PVOID BootFontImage,
  14. IN ULONG BootFontImageLength
  15. );
  16. VOID
  17. FEDbcsFontFreeGlyphs(
  18. VOID
  19. );
  20. PBYTE
  21. DbcsFontGetDbcsFontChar(
  22. USHORT Word
  23. );
  24. PBYTE
  25. DbcsFontGetSbcsFontChar(
  26. UCHAR Char
  27. );
  28. PBYTE
  29. DbcsFontGetGraphicsChar(
  30. UCHAR Char
  31. );
  32. BOOLEAN
  33. DbcsFontIsGraphicsChar(
  34. UCHAR Char
  35. );
  36. BOOLEAN
  37. DbcsFontIsDBCSLeadByte(
  38. IN UCHAR c
  39. );