pango 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. checksums.yaml +7 -0
  2. data/README +2 -2
  3. data/Rakefile +7 -5
  4. data/ext/pango/extconf.rb +4 -4
  5. data/ext/pango/rbpango.c +0 -9
  6. data/ext/pango/rbpango.h +2 -10
  7. data/ext/pango/rbpangoanalysis.c +0 -4
  8. data/ext/pango/rbpangoattribute.c +1 -26
  9. data/ext/pango/rbpangoattrlist.c +0 -4
  10. data/ext/pango/rbpangocairo.c +13 -12
  11. data/ext/pango/rbpangocairocontext.c +6 -26
  12. data/ext/pango/rbpangocontext.c +2 -14
  13. data/ext/pango/rbpangofont.c +0 -12
  14. data/ext/pango/rbpangofontdescription.c +0 -5
  15. data/ext/pango/rbpangofontface.c +0 -6
  16. data/ext/pango/rbpangofontfamily.c +0 -3
  17. data/ext/pango/rbpangofontmap.c +0 -4
  18. data/ext/pango/rbpangofontmetrics.c +1 -4
  19. data/ext/pango/rbpangofontset.c +0 -4
  20. data/ext/pango/rbpangoglyphitem.c +0 -8
  21. data/ext/pango/rbpangoglyphstring.c +0 -4
  22. data/ext/pango/rbpangoitem.c +0 -16
  23. data/ext/pango/rbpangolanguage.c +0 -5
  24. data/ext/pango/rbpangolayout.c +36 -19
  25. data/ext/pango/rbpangolayoutline.c +0 -33
  26. data/ext/pango/rbpangologattr.c +0 -5
  27. data/ext/pango/rbpangomatrix.c +0 -10
  28. data/ext/pango/rbpangoprivate.h +0 -4
  29. data/ext/pango/rbpangorenderer.c +0 -6
  30. data/ext/pango/rbpangoscript.c +0 -4
  31. data/ext/pango/rbpangoscriptiter.c +0 -5
  32. data/lib/1.9/pango.so +0 -0
  33. data/lib/2.0/pango.so +0 -0
  34. data/test/{test_layout.rb → test-layout.rb} +14 -0
  35. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  36. data/vendor/local/bin/hb-shape.exe +0 -0
  37. data/vendor/local/bin/hb-view.exe +0 -0
  38. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  39. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  40. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  41. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  42. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  43. data/vendor/local/bin/libstdc++-6.dll +0 -0
  44. data/vendor/local/bin/pango-querymodules.exe +0 -0
  45. data/vendor/local/bin/pango-view.exe +0 -0
  46. data/vendor/local/include/harfbuzz/hb-buffer.h +10 -10
  47. data/vendor/local/include/harfbuzz/hb-common.h +147 -131
  48. data/vendor/local/include/harfbuzz/{hb-uniscribe.h → hb-deprecated.h} +15 -13
  49. data/vendor/local/include/harfbuzz/hb-face.h +117 -0
  50. data/vendor/local/include/harfbuzz/hb-font.h +130 -77
  51. data/vendor/local/include/harfbuzz/hb-ot-layout.h +6 -0
  52. data/vendor/local/include/harfbuzz/hb-set.h +2 -0
  53. data/vendor/local/include/harfbuzz/hb-unicode.h +97 -9
  54. data/vendor/local/include/harfbuzz/hb-version.h +2 -2
  55. data/vendor/local/include/harfbuzz/hb.h +2 -0
  56. data/vendor/local/include/pango-1.0/pango/pango-attributes.h +213 -4
  57. data/vendor/local/include/pango-1.0/pango/pango-break.h +53 -0
  58. data/vendor/local/include/pango-1.0/pango/pango-coverage.h +21 -0
  59. data/vendor/local/include/pango-1.0/pango/pango-engine.h +46 -0
  60. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  61. data/vendor/local/include/pango-1.0/pango/pango-font.h +234 -0
  62. data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +68 -0
  63. data/vendor/local/include/pango-1.0/pango/pango-fontset.h +42 -0
  64. data/vendor/local/include/pango-1.0/pango/pango-glyph-item.h +64 -0
  65. data/vendor/local/include/pango-1.0/pango/pango-glyph.h +55 -0
  66. data/vendor/local/include/pango-1.0/pango/pango-item.h +28 -0
  67. data/vendor/local/include/pango-1.0/pango/pango-language.h +5 -0
  68. data/vendor/local/include/pango-1.0/pango/pango-layout.h +43 -0
  69. data/vendor/local/include/pango-1.0/pango/pango-modules.h +11 -0
  70. data/vendor/local/include/pango-1.0/pango/pango-ot.h +149 -0
  71. data/vendor/local/include/pango-1.0/pango/pango-script.h +102 -0
  72. data/vendor/local/include/pango-1.0/pango/pango-tabs.h +11 -0
  73. data/vendor/local/include/pango-1.0/pango/pango-types.h +102 -2
  74. data/vendor/local/include/pango-1.0/pango/pango-utils.h +44 -0
  75. data/vendor/local/include/pango-1.0/pango/pangocairo.h +14 -0
  76. data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +2 -2
  77. data/vendor/local/include/pango-1.0/pango/pangoft2.h +13 -0
  78. data/vendor/local/include/pango-1.0/pango/pangowin32.h +6 -0
  79. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  80. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  81. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  82. data/vendor/local/lib/libharfbuzz.la +5 -5
  83. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  84. data/vendor/local/lib/libpango-1.0.la +2 -2
  85. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  86. data/vendor/local/lib/libpangocairo-1.0.la +4 -4
  87. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  88. data/vendor/local/lib/libpangoft2-1.0.la +3 -3
  89. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  90. data/vendor/local/lib/libpangowin32-1.0.la +2 -2
  91. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  92. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  93. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  94. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  95. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +1 -1
  96. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  97. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  98. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  99. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  100. data/vendor/local/lib/pkgconfig/harfbuzz.pc +5 -5
  101. data/vendor/local/lib/pkgconfig/pango.pc +1 -1
  102. data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
  103. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  104. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  105. data/vendor/local/share/gir-1.0/Pango-1.0.gir +1824 -1434
  106. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +109 -103
  107. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +18 -15
  108. data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +71 -0
  109. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +1419 -0
  110. data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +98 -0
  111. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +48 -0
  112. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +415 -0
  113. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1045 -0
  114. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +1073 -0
  115. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +67 -0
  116. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +90 -0
  117. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +344 -0
  118. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +1617 -0
  119. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +130 -0
  120. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +75 -0
  121. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +52 -0
  122. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +76 -0
  123. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +75 -0
  124. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +544 -0
  125. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +105 -0
  126. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +67 -0
  127. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +540 -0
  128. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +264 -0
  129. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +194 -0
  130. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1180 -0
  131. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +67 -0
  132. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +156 -0
  133. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +52 -0
  134. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +591 -0
  135. data/vendor/local/share/gtk-doc/html/harfbuzz/home.png +0 -0
  136. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +105 -0
  137. data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +650 -0
  138. data/vendor/local/share/gtk-doc/html/harfbuzz/left-insensitive.png +0 -0
  139. data/vendor/local/share/gtk-doc/html/harfbuzz/left.png +0 -0
  140. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +32 -0
  141. data/vendor/local/share/gtk-doc/html/harfbuzz/right-insensitive.png +0 -0
  142. data/vendor/local/share/gtk-doc/html/harfbuzz/right.png +0 -0
  143. data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +321 -0
  144. data/vendor/local/share/gtk-doc/html/harfbuzz/up-insensitive.png +0 -0
  145. data/vendor/local/share/gtk-doc/html/harfbuzz/up.png +0 -0
  146. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +3 -4
  147. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +3 -4
  148. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +2 -2
  149. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +4 -9
  150. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +8 -13
  151. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +2 -2
  152. data/vendor/local/share/gtk-doc/html/pango/{pango-pango-renderer.html → PangoRenderer.html} +99 -102
  153. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +20 -29
  154. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +2 -2
  155. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +2 -2
  156. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +2 -2
  157. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +6 -2
  158. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +2 -2
  159. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +2 -2
  160. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +4 -11
  161. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +3 -3
  162. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +15 -4
  163. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +4 -4
  164. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +6 -6
  165. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +42 -0
  166. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +58 -0
  167. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +6 -5
  168. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +41 -0
  169. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +2 -2
  170. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +2 -2
  171. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +19 -19
  172. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +2 -2
  173. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +31 -27
  174. data/vendor/local/share/gtk-doc/html/pango/index.html +7 -5
  175. data/vendor/local/share/gtk-doc/html/pango/index.sgml +38 -38
  176. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +5 -5
  177. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +6 -9
  178. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +113 -66
  179. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +2 -2
  180. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +8 -12
  181. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +5 -8
  182. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +90 -53
  183. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +10 -10
  184. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +21 -8
  185. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +44 -15
  186. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +2 -2
  187. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +2 -2
  188. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +12 -12
  189. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +87 -90
  190. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +2 -5
  191. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +38 -31
  192. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +10 -18
  193. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +10 -11
  194. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +4 -6
  195. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +3 -4
  196. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +12 -12
  197. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +4 -4
  198. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +2 -2
  199. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +34 -31
  200. data/vendor/local/share/gtk-doc/html/pango/pango.html +2 -2
  201. data/vendor/local/share/gtk-doc/html/pango/rendering.html +2 -2
  202. data/vendor/local/share/gtk-doc/html/pango/tools.html +2 -2
  203. data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
  204. data/vendor/local/share/man/man1/pango-view.1 +2 -2
  205. metadata +57 -24
  206. data/vendor/local/bin/libgcc_s_sjlj-1.dll +0 -0
  207. data/vendor/local/include/harfbuzz/hb-gobject.h +0 -69
  208. data/vendor/local/share/gtk-doc/html/pango/api-index-1-28.html +0 -31
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright © 2011 Google, Inc.
2
+ * Copyright © 2013 Google, Inc.
3
3
  *
4
4
  * This is part of HarfBuzz, a text shaping library.
5
5
  *
@@ -24,26 +24,28 @@
24
24
  * Google Author(s): Behdad Esfahbod
25
25
  */
26
26
 
27
- #ifndef HB_UNISCRIBE_H
28
- #define HB_UNISCRIBE_H
27
+ #ifndef HB_H_IN
28
+ #error "Include <hb.h> instead."
29
+ #endif
29
30
 
30
- #include "hb.h"
31
+ #ifndef HB_DEPRECATED_H
32
+ #define HB_DEPRECATED_H
31
33
 
32
- #ifndef _WIN32_WINNT
33
- #define _WIN32_WINNT 0x0600
34
- #endif
35
- #include <windows.h>
34
+ #include "hb-common.h"
35
+ #include "hb-unicode.h"
36
+ #include "hb-font.h"
36
37
 
37
38
  HB_BEGIN_DECLS
38
39
 
40
+ #ifndef HB_DISABLE_DEPRECATED
39
41
 
40
- LOGFONTW *
41
- hb_uniscribe_font_get_logfontw (hb_font_t *font);
42
+ #define HB_SCRIPT_CANADIAN_ABORIGINAL HB_SCRIPT_CANADIAN_SYLLABICS
42
43
 
43
- HFONT
44
- hb_uniscribe_font_get_hfont (hb_font_t *font);
44
+ #define HB_BUFFER_FLAGS_DEFAULT HB_BUFFER_FLAG_DEFAULT
45
+ #define HB_BUFFER_SERIALIZE_FLAGS_DEFAULT HB_BUFFER_SERIALIZE_FLAG_DEFAULT
45
46
 
47
+ #endif
46
48
 
47
49
  HB_END_DECLS
48
50
 
49
- #endif /* HB_UNISCRIBE_H */
51
+ #endif /* HB_DEPRECATED_H */
@@ -0,0 +1,117 @@
1
+ /*
2
+ * Copyright © 2009 Red Hat, Inc.
3
+ *
4
+ * This is part of HarfBuzz, a text shaping library.
5
+ *
6
+ * Permission is hereby granted, without written agreement and without
7
+ * license or royalty fees, to use, copy, modify, and distribute this
8
+ * software and its documentation for any purpose, provided that the
9
+ * above copyright notice and the following two paragraphs appear in
10
+ * all copies of this software.
11
+ *
12
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14
+ * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15
+ * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16
+ * DAMAGE.
17
+ *
18
+ * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19
+ * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21
+ * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23
+ *
24
+ * Red Hat Author(s): Behdad Esfahbod
25
+ */
26
+
27
+ #ifndef HB_H_IN
28
+ #error "Include <hb.h> instead."
29
+ #endif
30
+
31
+ #ifndef HB_FACE_H
32
+ #define HB_FACE_H
33
+
34
+ #include "hb-common.h"
35
+ #include "hb-blob.h"
36
+
37
+ HB_BEGIN_DECLS
38
+
39
+
40
+ /*
41
+ * hb_face_t
42
+ */
43
+
44
+ typedef struct hb_face_t hb_face_t;
45
+
46
+ hb_face_t *
47
+ hb_face_create (hb_blob_t *blob,
48
+ unsigned int index);
49
+
50
+ typedef hb_blob_t * (*hb_reference_table_func_t) (hb_face_t *face, hb_tag_t tag, void *user_data);
51
+
52
+ /* calls destroy() when not needing user_data anymore */
53
+ hb_face_t *
54
+ hb_face_create_for_tables (hb_reference_table_func_t reference_table_func,
55
+ void *user_data,
56
+ hb_destroy_func_t destroy);
57
+
58
+ hb_face_t *
59
+ hb_face_get_empty (void);
60
+
61
+ hb_face_t *
62
+ hb_face_reference (hb_face_t *face);
63
+
64
+ void
65
+ hb_face_destroy (hb_face_t *face);
66
+
67
+ hb_bool_t
68
+ hb_face_set_user_data (hb_face_t *face,
69
+ hb_user_data_key_t *key,
70
+ void * data,
71
+ hb_destroy_func_t destroy,
72
+ hb_bool_t replace);
73
+
74
+
75
+ void *
76
+ hb_face_get_user_data (hb_face_t *face,
77
+ hb_user_data_key_t *key);
78
+
79
+ void
80
+ hb_face_make_immutable (hb_face_t *face);
81
+
82
+ hb_bool_t
83
+ hb_face_is_immutable (hb_face_t *face);
84
+
85
+
86
+ hb_blob_t *
87
+ hb_face_reference_table (hb_face_t *face,
88
+ hb_tag_t tag);
89
+
90
+ hb_blob_t *
91
+ hb_face_reference_blob (hb_face_t *face);
92
+
93
+ void
94
+ hb_face_set_index (hb_face_t *face,
95
+ unsigned int index);
96
+
97
+ unsigned int
98
+ hb_face_get_index (hb_face_t *face);
99
+
100
+ void
101
+ hb_face_set_upem (hb_face_t *face,
102
+ unsigned int upem);
103
+
104
+ unsigned int
105
+ hb_face_get_upem (hb_face_t *face);
106
+
107
+ void
108
+ hb_face_set_glyph_count (hb_face_t *face,
109
+ unsigned int glyph_count);
110
+
111
+ unsigned int
112
+ hb_face_get_glyph_count (hb_face_t *face);
113
+
114
+
115
+ HB_END_DECLS
116
+
117
+ #endif /* HB_FACE_H */
@@ -32,86 +32,13 @@
32
32
  #define HB_FONT_H
33
33
 
34
34
  #include "hb-common.h"
35
- #include "hb-blob.h"
35
+ #include "hb-face.h"
36
36
 
37
37
  HB_BEGIN_DECLS
38
38
 
39
39
 
40
- typedef struct hb_face_t hb_face_t;
41
40
  typedef struct hb_font_t hb_font_t;
42
41
 
43
- /*
44
- * hb_face_t
45
- */
46
-
47
- hb_face_t *
48
- hb_face_create (hb_blob_t *blob,
49
- unsigned int index);
50
-
51
- typedef hb_blob_t * (*hb_reference_table_func_t) (hb_face_t *face, hb_tag_t tag, void *user_data);
52
-
53
- /* calls destroy() when not needing user_data anymore */
54
- hb_face_t *
55
- hb_face_create_for_tables (hb_reference_table_func_t reference_table_func,
56
- void *user_data,
57
- hb_destroy_func_t destroy);
58
-
59
- hb_face_t *
60
- hb_face_get_empty (void);
61
-
62
- hb_face_t *
63
- hb_face_reference (hb_face_t *face);
64
-
65
- void
66
- hb_face_destroy (hb_face_t *face);
67
-
68
- hb_bool_t
69
- hb_face_set_user_data (hb_face_t *face,
70
- hb_user_data_key_t *key,
71
- void * data,
72
- hb_destroy_func_t destroy,
73
- hb_bool_t replace);
74
-
75
-
76
- void *
77
- hb_face_get_user_data (hb_face_t *face,
78
- hb_user_data_key_t *key);
79
-
80
- void
81
- hb_face_make_immutable (hb_face_t *face);
82
-
83
- hb_bool_t
84
- hb_face_is_immutable (hb_face_t *face);
85
-
86
-
87
- hb_blob_t *
88
- hb_face_reference_table (hb_face_t *face,
89
- hb_tag_t tag);
90
-
91
- hb_blob_t *
92
- hb_face_reference_blob (hb_face_t *face);
93
-
94
- void
95
- hb_face_set_index (hb_face_t *face,
96
- unsigned int index);
97
-
98
- unsigned int
99
- hb_face_get_index (hb_face_t *face);
100
-
101
- void
102
- hb_face_set_upem (hb_face_t *face,
103
- unsigned int upem);
104
-
105
- unsigned int
106
- hb_face_get_upem (hb_face_t *face);
107
-
108
- void
109
- hb_face_set_glyph_count (hb_face_t *face,
110
- unsigned int glyph_count);
111
-
112
- unsigned int
113
- hb_face_get_glyph_count (hb_face_t *face);
114
-
115
42
 
116
43
  /*
117
44
  * hb_font_funcs_t
@@ -212,54 +139,180 @@ typedef hb_bool_t (*hb_font_get_glyph_from_name_func_t) (hb_font_t *font, void *
212
139
 
213
140
  /* func setters */
214
141
 
142
+ /**
143
+ * hb_font_funcs_set_glyph_func:
144
+ * @ffuncs: font functions.
145
+ * @func: (closure user_data) (destroy destroy) (scope notified):
146
+ * @user_data:
147
+ * @destroy:
148
+ *
149
+ *
150
+ *
151
+ * Since: 1.0
152
+ **/
215
153
  void
216
154
  hb_font_funcs_set_glyph_func (hb_font_funcs_t *ffuncs,
217
- hb_font_get_glyph_func_t glyph_func,
155
+ hb_font_get_glyph_func_t func,
218
156
  void *user_data, hb_destroy_func_t destroy);
219
157
 
158
+ /**
159
+ * hb_font_funcs_set_glyph_h_advance_func:
160
+ * @ffuncs: font functions.
161
+ * @func: (closure user_data) (destroy destroy) (scope notified):
162
+ * @user_data:
163
+ * @destroy:
164
+ *
165
+ *
166
+ *
167
+ * Since: 1.0
168
+ **/
220
169
  void
221
170
  hb_font_funcs_set_glyph_h_advance_func (hb_font_funcs_t *ffuncs,
222
171
  hb_font_get_glyph_h_advance_func_t func,
223
172
  void *user_data, hb_destroy_func_t destroy);
173
+
174
+ /**
175
+ * hb_font_funcs_set_glyph_v_advance_func:
176
+ * @ffuncs: font functions.
177
+ * @func: (closure user_data) (destroy destroy) (scope notified):
178
+ * @user_data:
179
+ * @destroy:
180
+ *
181
+ *
182
+ *
183
+ * Since: 1.0
184
+ **/
224
185
  void
225
186
  hb_font_funcs_set_glyph_v_advance_func (hb_font_funcs_t *ffuncs,
226
187
  hb_font_get_glyph_v_advance_func_t func,
227
188
  void *user_data, hb_destroy_func_t destroy);
228
189
 
190
+ /**
191
+ * hb_font_funcs_set_glyph_h_origin_func:
192
+ * @ffuncs: font functions.
193
+ * @func: (closure user_data) (destroy destroy) (scope notified):
194
+ * @user_data:
195
+ * @destroy:
196
+ *
197
+ *
198
+ *
199
+ * Since: 1.0
200
+ **/
229
201
  void
230
202
  hb_font_funcs_set_glyph_h_origin_func (hb_font_funcs_t *ffuncs,
231
203
  hb_font_get_glyph_h_origin_func_t func,
232
204
  void *user_data, hb_destroy_func_t destroy);
205
+
206
+ /**
207
+ * hb_font_funcs_set_glyph_v_origin_func:
208
+ * @ffuncs: font functions.
209
+ * @func: (closure user_data) (destroy destroy) (scope notified):
210
+ * @user_data:
211
+ * @destroy:
212
+ *
213
+ *
214
+ *
215
+ * Since: 1.0
216
+ **/
233
217
  void
234
218
  hb_font_funcs_set_glyph_v_origin_func (hb_font_funcs_t *ffuncs,
235
219
  hb_font_get_glyph_v_origin_func_t func,
236
220
  void *user_data, hb_destroy_func_t destroy);
237
221
 
222
+ /**
223
+ * hb_font_funcs_set_glyph_h_kerning_func:
224
+ * @ffuncs: font functions.
225
+ * @func: (closure user_data) (destroy destroy) (scope notified):
226
+ * @user_data:
227
+ * @destroy:
228
+ *
229
+ *
230
+ *
231
+ * Since: 1.0
232
+ **/
238
233
  void
239
234
  hb_font_funcs_set_glyph_h_kerning_func (hb_font_funcs_t *ffuncs,
240
235
  hb_font_get_glyph_h_kerning_func_t func,
241
236
  void *user_data, hb_destroy_func_t destroy);
237
+
238
+ /**
239
+ * hb_font_funcs_set_glyph_v_kerning_func:
240
+ * @ffuncs: font functions.
241
+ * @func: (closure user_data) (destroy destroy) (scope notified):
242
+ * @user_data:
243
+ * @destroy:
244
+ *
245
+ *
246
+ *
247
+ * Since: 1.0
248
+ **/
242
249
  void
243
250
  hb_font_funcs_set_glyph_v_kerning_func (hb_font_funcs_t *ffuncs,
244
251
  hb_font_get_glyph_v_kerning_func_t func,
245
252
  void *user_data, hb_destroy_func_t destroy);
246
253
 
254
+ /**
255
+ * hb_font_funcs_set_glyph_extents_func:
256
+ * @ffuncs: font functions.
257
+ * @func: (closure user_data) (destroy destroy) (scope notified):
258
+ * @user_data:
259
+ * @destroy:
260
+ *
261
+ *
262
+ *
263
+ * Since: 1.0
264
+ **/
247
265
  void
248
266
  hb_font_funcs_set_glyph_extents_func (hb_font_funcs_t *ffuncs,
249
267
  hb_font_get_glyph_extents_func_t func,
250
268
  void *user_data, hb_destroy_func_t destroy);
269
+
270
+ /**
271
+ * hb_font_funcs_set_glyph_contour_point_func:
272
+ * @ffuncs: font functions.
273
+ * @func: (closure user_data) (destroy destroy) (scope notified):
274
+ * @user_data:
275
+ * @destroy:
276
+ *
277
+ *
278
+ *
279
+ * Since: 1.0
280
+ **/
251
281
  void
252
282
  hb_font_funcs_set_glyph_contour_point_func (hb_font_funcs_t *ffuncs,
253
283
  hb_font_get_glyph_contour_point_func_t func,
254
284
  void *user_data, hb_destroy_func_t destroy);
255
285
 
286
+ /**
287
+ * hb_font_funcs_set_glyph_name_func:
288
+ * @ffuncs: font functions.
289
+ * @func: (closure user_data) (destroy destroy) (scope notified):
290
+ * @user_data:
291
+ * @destroy:
292
+ *
293
+ *
294
+ *
295
+ * Since: 1.0
296
+ **/
256
297
  void
257
298
  hb_font_funcs_set_glyph_name_func (hb_font_funcs_t *ffuncs,
258
- hb_font_get_glyph_name_func_t glyph_func,
299
+ hb_font_get_glyph_name_func_t func,
259
300
  void *user_data, hb_destroy_func_t destroy);
301
+
302
+ /**
303
+ * hb_font_funcs_set_glyph_from_name_func:
304
+ * @ffuncs: font functions.
305
+ * @func: (closure user_data) (destroy destroy) (scope notified):
306
+ * @user_data:
307
+ * @destroy:
308
+ *
309
+ *
310
+ *
311
+ * Since: 1.0
312
+ **/
260
313
  void
261
314
  hb_font_funcs_set_glyph_from_name_func (hb_font_funcs_t *ffuncs,
262
- hb_font_get_glyph_from_name_func_t glyph_func,
315
+ hb_font_get_glyph_from_name_func_t func,
263
316
  void *user_data, hb_destroy_func_t destroy);
264
317
 
265
318
 
@@ -41,6 +41,7 @@ HB_BEGIN_DECLS
41
41
  #define HB_OT_TAG_GDEF HB_TAG('G','D','E','F')
42
42
  #define HB_OT_TAG_GSUB HB_TAG('G','S','U','B')
43
43
  #define HB_OT_TAG_GPOS HB_TAG('G','P','O','S')
44
+ #define HB_OT_TAG_JSTF HB_TAG('J','S','T','F')
44
45
 
45
46
 
46
47
  /*
@@ -179,6 +180,11 @@ hb_ot_layout_feature_get_lookups (hb_face_t *face,
179
180
  unsigned int *lookup_count /* IN/OUT */,
180
181
  unsigned int *lookup_indexes /* OUT */);
181
182
 
183
+ unsigned int
184
+ hb_ot_layout_table_get_lookup_count (hb_face_t *face,
185
+ hb_tag_t table_tag);
186
+
187
+
182
188
  void
183
189
  hb_ot_layout_collect_lookups (hb_face_t *face,
184
190
  hb_tag_t table_tag,