eaw_table.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. /* This file was generated by ext/mbstring/ucgendat/ucgendat.php.
  2. *
  3. * DO NOT EDIT THIS FILE!
  4. *
  5. * East Asian Width table
  6. *
  7. * Some characters in East Asian languages are intended to be displayed in a space
  8. * which is roughly square. (This contrasts with others such as the Latin alphabet,
  9. * which are taller than they are wide.) To display these East Asian characters
  10. * properly, twice the horizontal space is used. This must be taken into account
  11. * when doing things like wrapping text to a specific width.
  12. *
  13. * Each pair of numbers in the below table is a range of Unicode codepoints
  14. * which should be displayed as double-width.
  15. */
  16. static const struct {
  17. int begin;
  18. int end;
  19. } mbfl_eaw_table[] = {
  20. { 0x1100, 0x115f },
  21. { 0x231a, 0x231b },
  22. { 0x2329, 0x232a },
  23. { 0x23e9, 0x23ec },
  24. { 0x23f0, 0x23f0 },
  25. { 0x23f3, 0x23f3 },
  26. { 0x25fd, 0x25fe },
  27. { 0x2614, 0x2615 },
  28. { 0x2648, 0x2653 },
  29. { 0x267f, 0x267f },
  30. { 0x2693, 0x2693 },
  31. { 0x26a1, 0x26a1 },
  32. { 0x26aa, 0x26ab },
  33. { 0x26bd, 0x26be },
  34. { 0x26c4, 0x26c5 },
  35. { 0x26ce, 0x26ce },
  36. { 0x26d4, 0x26d4 },
  37. { 0x26ea, 0x26ea },
  38. { 0x26f2, 0x26f3 },
  39. { 0x26f5, 0x26f5 },
  40. { 0x26fa, 0x26fa },
  41. { 0x26fd, 0x26fd },
  42. { 0x2705, 0x2705 },
  43. { 0x270a, 0x270b },
  44. { 0x2728, 0x2728 },
  45. { 0x274c, 0x274c },
  46. { 0x274e, 0x274e },
  47. { 0x2753, 0x2755 },
  48. { 0x2757, 0x2757 },
  49. { 0x2795, 0x2797 },
  50. { 0x27b0, 0x27b0 },
  51. { 0x27bf, 0x27bf },
  52. { 0x2b1b, 0x2b1c },
  53. { 0x2b50, 0x2b50 },
  54. { 0x2b55, 0x2b55 },
  55. { 0x2e80, 0x2e99 },
  56. { 0x2e9b, 0x2ef3 },
  57. { 0x2f00, 0x2fd5 },
  58. { 0x2ff0, 0x2ffb },
  59. { 0x3000, 0x303e },
  60. { 0x3041, 0x3096 },
  61. { 0x3099, 0x30ff },
  62. { 0x3105, 0x312f },
  63. { 0x3131, 0x318e },
  64. { 0x3190, 0x31e3 },
  65. { 0x31f0, 0x321e },
  66. { 0x3220, 0x3247 },
  67. { 0x3250, 0x4dbf },
  68. { 0x4e00, 0xa48c },
  69. { 0xa490, 0xa4c6 },
  70. { 0xa960, 0xa97c },
  71. { 0xac00, 0xd7a3 },
  72. { 0xf900, 0xfaff },
  73. { 0xfe10, 0xfe19 },
  74. { 0xfe30, 0xfe52 },
  75. { 0xfe54, 0xfe66 },
  76. { 0xfe68, 0xfe6b },
  77. { 0xff01, 0xff60 },
  78. { 0xffe0, 0xffe6 },
  79. { 0x16fe0, 0x16fe4 },
  80. { 0x16ff0, 0x16ff1 },
  81. { 0x17000, 0x187f7 },
  82. { 0x18800, 0x18cd5 },
  83. { 0x18d00, 0x18d08 },
  84. { 0x1aff0, 0x1aff3 },
  85. { 0x1aff5, 0x1affb },
  86. { 0x1affd, 0x1affe },
  87. { 0x1b000, 0x1b122 },
  88. { 0x1b150, 0x1b152 },
  89. { 0x1b164, 0x1b167 },
  90. { 0x1b170, 0x1b2fb },
  91. { 0x1f004, 0x1f004 },
  92. { 0x1f0cf, 0x1f0cf },
  93. { 0x1f18e, 0x1f18e },
  94. { 0x1f191, 0x1f19a },
  95. { 0x1f200, 0x1f202 },
  96. { 0x1f210, 0x1f23b },
  97. { 0x1f240, 0x1f248 },
  98. { 0x1f250, 0x1f251 },
  99. { 0x1f260, 0x1f265 },
  100. { 0x1f300, 0x1f320 },
  101. { 0x1f32d, 0x1f335 },
  102. { 0x1f337, 0x1f37c },
  103. { 0x1f37e, 0x1f393 },
  104. { 0x1f3a0, 0x1f3ca },
  105. { 0x1f3cf, 0x1f3d3 },
  106. { 0x1f3e0, 0x1f3f0 },
  107. { 0x1f3f4, 0x1f3f4 },
  108. { 0x1f3f8, 0x1f43e },
  109. { 0x1f440, 0x1f440 },
  110. { 0x1f442, 0x1f4fc },
  111. { 0x1f4ff, 0x1f53d },
  112. { 0x1f54b, 0x1f54e },
  113. { 0x1f550, 0x1f567 },
  114. { 0x1f57a, 0x1f57a },
  115. { 0x1f595, 0x1f596 },
  116. { 0x1f5a4, 0x1f5a4 },
  117. { 0x1f5fb, 0x1f64f },
  118. { 0x1f680, 0x1f6c5 },
  119. { 0x1f6cc, 0x1f6cc },
  120. { 0x1f6d0, 0x1f6d2 },
  121. { 0x1f6d5, 0x1f6d7 },
  122. { 0x1f6dd, 0x1f6df },
  123. { 0x1f6eb, 0x1f6ec },
  124. { 0x1f6f4, 0x1f6fc },
  125. { 0x1f7e0, 0x1f7eb },
  126. { 0x1f7f0, 0x1f7f0 },
  127. { 0x1f90c, 0x1f93a },
  128. { 0x1f93c, 0x1f945 },
  129. { 0x1f947, 0x1f9ff },
  130. { 0x1fa70, 0x1fa74 },
  131. { 0x1fa78, 0x1fa7c },
  132. { 0x1fa80, 0x1fa86 },
  133. { 0x1fa90, 0x1faac },
  134. { 0x1fab0, 0x1faba },
  135. { 0x1fac0, 0x1fac5 },
  136. { 0x1fad0, 0x1fad9 },
  137. { 0x1fae0, 0x1fae7 },
  138. { 0x1faf0, 0x1faf6 },
  139. { 0x20000, 0x2fffd },
  140. { 0x30000, 0x3fffd },
  141. };