summaryrefslogtreecommitdiff
path: root/doc/public/tmpl/cairo-user-fonts.sgml
blob: 5b6dc5820db6ec0391f57741f7a166ae2e5fbea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!-- ##### SECTION Title ##### -->
User Fonts

<!-- ##### SECTION Short_Description ##### -->
Font support with font data provided by the user

<!-- ##### SECTION Long_Description ##### -->
<para>
The user-font feature allows the cairo user to provide drawings for glyphs
in a font.  This is most useful in implementing fonts in non-standard
formats, like SVG fonts and Flash fonts, but can also be used by games and
other application to draw "funky" fonts.

<!-- Include samples here -->
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### MACRO CAIRO_HAS_USER_FONT ##### -->
<para>
Defined if the user font backend is available.
This macro can be used to conditionally compile backend-specific code.
The user font backend is always built in versions of cairo that support
this feature (1.8 and later).
</para>

@Since: 1.8


<!-- ##### USER_FUNCTION cairo_user_scaled_font_init_func_t ##### -->
<para>

</para>

@scaled_font: 
@cr: 
@extents: 
@Returns: 


<!-- ##### USER_FUNCTION cairo_user_scaled_font_render_glyph_func_t ##### -->
<para>

</para>

@scaled_font: 
@glyph: 
@cr: 
@extents: 
@Returns: 


<!-- ##### USER_FUNCTION cairo_user_scaled_font_text_to_glyphs_func_t ##### -->
<para>

</para>

@scaled_font: 
@utf8: 
@utf8_len: 
@glyphs: 
@num_glyphs: 
@clusters: 
@num_clusters: 
@cluster_flags: 
@Returns: 


<!-- ##### USER_FUNCTION cairo_user_scaled_font_unicode_to_glyph_func_t ##### -->
<para>

</para>

@scaled_font: 
@unicode: 
@glyph_index: 
@Returns: 


<!-- ##### FUNCTION cairo_user_font_face_create ##### -->
<para>

</para>

@Returns: 


<!-- ##### FUNCTION cairo_user_font_face_set_init_func ##### -->
<para>

</para>

@font_face: 
@init_func: 


<!-- ##### FUNCTION cairo_user_font_face_get_init_func ##### -->
<para>

</para>

@font_face: 
@Returns: 


<!-- ##### FUNCTION cairo_user_font_face_set_render_glyph_func ##### -->
<para>

</para>

@font_face: 
@render_glyph_func: 


<!-- ##### FUNCTION cairo_user_font_face_get_render_glyph_func ##### -->
<para>

</para>

@font_face: 
@Returns: 


<!-- ##### FUNCTION cairo_user_font_face_set_unicode_to_glyph_func ##### -->
<para>

</para>

@font_face: 
@unicode_to_glyph_func: 


<!-- ##### FUNCTION cairo_user_font_face_get_unicode_to_glyph_func ##### -->
<para>

</para>

@font_face: 
@Returns: 


<!-- ##### FUNCTION cairo_user_font_face_set_text_to_glyphs_func ##### -->
<para>

</para>

@font_face: 
@text_to_glyphs_func: 


<!-- ##### FUNCTION cairo_user_font_face_get_text_to_glyphs_func ##### -->
<para>

</para>

@font_face: 
@Returns: