Go to the source code of this file.
|
| | FT_Get_Multi_Master (FT_Face face, FT_Multi_Master *amaster) |
| |
| | FT_Get_MM_Var (FT_Face face, FT_MM_Var **amaster) |
| |
| | FT_Done_MM_Var (FT_Library library, FT_MM_Var *amaster) |
| |
| | FT_Set_MM_Design_Coordinates (FT_Face face, FT_UInt num_coords, FT_Long *coords) |
| |
| | FT_Set_Var_Design_Coordinates (FT_Face face, FT_UInt num_coords, FT_Fixed *coords) |
| |
| | FT_Get_Var_Design_Coordinates (FT_Face face, FT_UInt num_coords, FT_Fixed *coords) |
| |
| | FT_Set_MM_Blend_Coordinates (FT_Face face, FT_UInt num_coords, FT_Fixed *coords) |
| |
| | FT_Get_MM_Blend_Coordinates (FT_Face face, FT_UInt num_coords, FT_Fixed *coords) |
| |
| | FT_Set_Var_Blend_Coordinates (FT_Face face, FT_UInt num_coords, FT_Fixed *coords) |
| |
| | FT_Get_Var_Blend_Coordinates (FT_Face face, FT_UInt num_coords, FT_Fixed *coords) |
| |
| | FT_Set_MM_WeightVector (FT_Face face, FT_UInt len, FT_Fixed *weightvector) |
| |
| | FT_Get_MM_WeightVector (FT_Face face, FT_UInt *len, FT_Fixed *weightvector) |
| |
| | FT_Get_Var_Axis_Flags (FT_MM_Var *master, FT_UInt axis_index, FT_UInt *flags) |
| |
| | FT_Set_Named_Instance (FT_Face face, FT_UInt instance_index) |
| |
◆ FT_VAR_AXIS_FLAG_HIDDEN
| #define FT_VAR_AXIS_FLAG_HIDDEN 1 |
◆ FT_MM_Axis
◆ FT_MM_Var
◆ FT_Multi_Master
◆ FT_Var_Axis
◆ FT_Var_Named_Style
◆ FT_Done_MM_Var()
Definition at line 150 of file ftmm.c.
152 {
154
155
157 return FT_THROW( Invalid_Library_Handle );
158
161
163 }
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
static char memory[1024 *256]
◆ FT_Get_MM_Blend_Coordinates()
Definition at line 440 of file ftmm.c.
443 {
445 FT_Service_MultiMasters service;
446
447
448
449
451 return FT_THROW( Invalid_Argument );
452
455 {
457 if ( service->get_mm_blend )
459 }
460
462 }
static FT_Error ft_face_get_mm_service(FT_Face face, FT_Service_MultiMasters *aservice)
GLenum GLuint GLint GLenum face
◆ FT_Get_MM_Var()
Definition at line 123 of file ftmm.c.
125 {
127 FT_Service_MultiMasters service;
128
129
130
131
132 if ( !amaster )
133 return FT_THROW( Invalid_Argument );
134
137 {
139 if ( service->get_mm_var )
140 error = service->get_mm_var(
face, amaster );
141 }
142
144 }
◆ FT_Get_MM_WeightVector()
Definition at line 237 of file ftmm.c.
240 {
242 FT_Service_MultiMasters service;
243
244
245
246
247 if (
len && !weightvector )
248 return FT_THROW( Invalid_Argument );
249
252 {
254 if ( service->get_mm_weightvector )
255 error = service->get_mm_weightvector(
face,
len, weightvector );
256 }
257
259 }
◆ FT_Get_Multi_Master()
Definition at line 96 of file ftmm.c.
98 {
100 FT_Service_MultiMasters service;
101
102
103
104
105 if ( !amaster )
106 return FT_THROW( Invalid_Argument );
107
110 {
112 if ( service->get_mm )
113 error = service->get_mm(
face, amaster );
114 }
115
117 }
◆ FT_Get_Var_Axis_Flags()
Definition at line 499 of file ftmm.c.
502 {
504
505
506 if ( !master || !
flags )
507 return FT_THROW( Invalid_Argument );
508
509 if ( axis_index >= master->
num_axis )
510 return FT_THROW( Invalid_Argument );
511
512
514 *
flags = axis_flags[axis_index];
515
517 }
◆ FT_Get_Var_Blend_Coordinates()
Definition at line 471 of file ftmm.c.
474 {
476 FT_Service_MultiMasters service;
477
478
479
480
482 return FT_THROW( Invalid_Argument );
483
486 {
488 if ( service->get_mm_blend )
490 }
491
493 }
◆ FT_Get_Var_Design_Coordinates()
Definition at line 313 of file ftmm.c.
316 {
318 FT_Service_MultiMasters service;
319
320
321
322
324 return FT_THROW( Invalid_Argument );
325
328 {
330 if ( service->get_var_design )
332 }
333
335 }
◆ FT_Set_MM_Blend_Coordinates()
Definition at line 341 of file ftmm.c.
344 {
346 FT_Service_MultiMasters service_mm =
NULL;
347 FT_Service_MetricsVariations service_mvar =
NULL;
348
349
350
351
352 if ( num_coords && !
coords )
353 return FT_THROW( Invalid_Argument );
354
357 {
359 if ( service_mm->set_mm_blend )
361
362
365 }
366
368 {
370
371 if ( service_mvar && service_mvar->metrics_adjust )
372 service_mvar->metrics_adjust(
face );
373 }
374
375
376 if ( !
error &&
face->autohint.finalizer )
377 {
378 face->autohint.finalizer(
face->autohint.data );
380 }
381
383 }
static FT_Error ft_face_get_mvar_service(FT_Face face, FT_Service_MetricsVariations *aservice)
◆ FT_Set_MM_Design_Coordinates()
Definition at line 169 of file ftmm.c.
172 {
174 FT_Service_MultiMasters service;
175
176
177
178
179 if ( num_coords && !
coords )
180 return FT_THROW( Invalid_Argument );
181
184 {
186 if ( service->set_mm_design )
188 }
189
190
191 if ( !
error &&
face->autohint.finalizer )
192 {
193 face->autohint.finalizer(
face->autohint.data );
195 }
196
198 }
◆ FT_Set_MM_WeightVector()
Definition at line 204 of file ftmm.c.
207 {
209 FT_Service_MultiMasters service;
210
211
212
213
214 if (
len && !weightvector )
215 return FT_THROW( Invalid_Argument );
216
219 {
221 if ( service->set_mm_weightvector )
222 error = service->set_mm_weightvector(
face,
len, weightvector );
223 }
224
225
226 if ( !
error &&
face->autohint.finalizer )
227 {
228 face->autohint.finalizer(
face->autohint.data );
230 }
231
233 }
◆ FT_Set_Named_Instance()
Definition at line 523 of file ftmm.c.
525 {
527
528 FT_Service_MultiMasters service_mm =
NULL;
529 FT_Service_MetricsVariations service_mvar =
NULL;
530
531
532
533
536 {
538 if ( service_mm->set_instance )
539 error = service_mm->set_instance(
face, instance_index );
540 }
541
543 {
545
546 if ( service_mvar && service_mvar->metrics_adjust )
547 service_mvar->metrics_adjust(
face );
548 }
549
550
551 if ( !
error &&
face->autohint.finalizer )
552 {
553 face->autohint.finalizer(
face->autohint.data );
555 }
556
558 {
559 face->face_index = ( instance_index << 16 ) |
560 (
face->face_index & 0xFFFFL );
561 face->face_flags &= ~FT_FACE_FLAG_VARIATION;
562 }
563
565 }
◆ FT_Set_Var_Blend_Coordinates()
Definition at line 392 of file ftmm.c.
395 {
397 FT_Service_MultiMasters service_mm =
NULL;
398 FT_Service_MetricsVariations service_mvar =
NULL;
399
400
401
402
403 if ( num_coords && !
coords )
404 return FT_THROW( Invalid_Argument );
405
408 {
410 if ( service_mm->set_mm_blend )
412
413
416 }
417
419 {
421
422 if ( service_mvar && service_mvar->metrics_adjust )
423 service_mvar->metrics_adjust(
face );
424 }
425
426
427 if ( !
error &&
face->autohint.finalizer )
428 {
429 face->autohint.finalizer(
face->autohint.data );
431 }
432
434 }
◆ FT_Set_Var_Design_Coordinates()
Definition at line 265 of file ftmm.c.
268 {
270 FT_Service_MultiMasters service_mm =
NULL;
271 FT_Service_MetricsVariations service_mvar =
NULL;
272
273
274
275
276 if ( num_coords && !
coords )
277 return FT_THROW( Invalid_Argument );
278
281 {
283 if ( service_mm->set_var_design )
285
286
289 }
290
292 {
294
295 if ( service_mvar && service_mvar->metrics_adjust )
296 service_mvar->metrics_adjust(
face );
297 }
298
299
300 if ( !
error &&
face->autohint.finalizer )
301 {
302 face->autohint.finalizer(
face->autohint.data );
304 }
305
307 }