FontConstants.au3 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #include-once
  2. ; #INDEX# =======================================================================================================================
  3. ; Title .........: Font_Constants
  4. ; AutoIt Version : 3.3.14.5
  5. ; Language ......: English
  6. ; Description ...: Constants for Font functions.
  7. ; Author(s) .....: Gary Frost
  8. ; ===============================================================================================================================
  9. ; #CONSTANTS# ===================================================================================================================
  10. ; fonts
  11. Global Const $FW_DONTCARE = 0
  12. Global Const $FW_THIN = 100
  13. Global Const $FW_EXTRALIGHT = 200
  14. Global Const $FW_ULTRALIGHT = 200
  15. Global Const $FW_LIGHT = 300
  16. Global Const $FW_NORMAL = 400
  17. Global Const $FW_REGULAR = 400
  18. Global Const $FW_MEDIUM = 500
  19. Global Const $FW_SEMIBOLD = 600
  20. Global Const $FW_DEMIBOLD = 600
  21. Global Const $FW_BOLD = 700
  22. Global Const $FW_EXTRABOLD = 800
  23. Global Const $FW_ULTRABOLD = 800
  24. Global Const $FW_HEAVY = 900
  25. Global Const $FW_BLACK = 900
  26. ; Font Dialog constants
  27. Global Const $CF_EFFECTS = 0x100
  28. Global Const $CF_PRINTERFONTS = 0x2
  29. Global Const $CF_SCREENFONTS = 0x1
  30. Global Const $CF_NOSCRIPTSEL = 0x800000
  31. Global Const $CF_INITTOLOGFONTSTRUCT = 0x40
  32. Global Const $LOGPIXELSX = 88
  33. Global Const $LOGPIXELSY = 90
  34. ; Font Char sets
  35. Global Const $ANSI_CHARSET = 0
  36. Global Const $ARABIC_CHARSET = 178
  37. Global Const $BALTIC_CHARSET = 186
  38. Global Const $CHINESEBIG5_CHARSET = 136
  39. Global Const $DEFAULT_CHARSET = 1
  40. Global Const $EASTEUROPE_CHARSET = 238
  41. Global Const $GB2312_CHARSET = 134
  42. Global Const $GREEK_CHARSET = 161
  43. Global Const $HANGEUL_CHARSET = 129
  44. Global Const $HEBREW_CHARSET = 177
  45. Global Const $JOHAB_CHARSET = 130
  46. Global Const $MAC_CHARSET = 77
  47. Global Const $OEM_CHARSET = 255
  48. Global Const $RUSSIAN_CHARSET = 204
  49. Global Const $SHIFTJIS_CHARSET = 128
  50. Global Const $SYMBOL_CHARSET = 2
  51. Global Const $THAI_CHARSET = 222
  52. Global Const $TURKISH_CHARSET = 162
  53. Global Const $VIETNAMESE_CHARSET = 163
  54. ; Font Output Precision
  55. Global Const $OUT_CHARACTER_PRECIS = 2
  56. Global Const $OUT_DEFAULT_PRECIS = 0
  57. Global Const $OUT_DEVICE_PRECIS = 5
  58. Global Const $OUT_OUTLINE_PRECIS = 8
  59. Global Const $OUT_PS_ONLY_PRECIS = 10
  60. Global Const $OUT_RASTER_PRECIS = 6
  61. Global Const $OUT_STRING_PRECIS = 1
  62. Global Const $OUT_STROKE_PRECIS = 3
  63. Global Const $OUT_TT_ONLY_PRECIS = 7
  64. Global Const $OUT_TT_PRECIS = 4
  65. ; Font clipping precision
  66. Global Const $CLIP_CHARACTER_PRECIS = 1
  67. Global Const $CLIP_DEFAULT_PRECIS = 0
  68. Global Const $CLIP_DFA_DISABLE = 0x0030
  69. Global Const $CLIP_EMBEDDED = 128
  70. Global Const $CLIP_LH_ANGLES = 16
  71. Global Const $CLIP_MASK = 0xF
  72. Global Const $CLIP_DFA_OVERRIDE = 0x0040
  73. Global Const $CLIP_STROKE_PRECIS = 2
  74. Global Const $CLIP_TT_ALWAYS = 32
  75. ; Font Quality
  76. Global Const $ANTIALIASED_QUALITY = 4
  77. Global Const $DEFAULT_QUALITY = 0
  78. Global Const $DRAFT_QUALITY = 1
  79. Global Const $NONANTIALIASED_QUALITY = 3
  80. Global Const $PROOF_QUALITY = 2
  81. Global Const $CLEARTYPE_QUALITY = 5
  82. ; pitch and family of the font
  83. Global Const $DEFAULT_PITCH = 0
  84. Global Const $FIXED_PITCH = 1
  85. Global Const $VARIABLE_PITCH = 2
  86. Global Const $FF_DECORATIVE = 80
  87. Global Const $FF_DONTCARE = 0
  88. Global Const $FF_MODERN = 48
  89. Global Const $FF_ROMAN = 16
  90. Global Const $FF_SCRIPT = 64
  91. Global Const $FF_SWISS = 32
  92. Global Const $FS_REGULAR = 0x00
  93. Global Const $FS_BOLD = 0x01
  94. Global Const $FS_ITALIC = 0x02
  95. ; ===============================================================================================================================