290 {
295
299
300
302
305 {
308
309 if ( !psaux )
310 {
311 FT_ERROR((
"cid_face_init: cannot access `psaux' module\n" ));
314 }
315
317 }
318
321 {
324
325 face->pshinter = pshinter;
326 }
327
329
330
333
337
338
339 if ( face_index < 0 )
341
342
343
344 if ( ( face_index & 0xFFFF ) != 0 )
345 {
346 FT_ERROR((
"cid_face_init: invalid face index\n" ));
349 }
350
351
352
353
354
355
356 {
359
360
363
365
369
370 if (
info->is_fixed_pitch )
372
373
374
375
376
378
381 {
382 char* full =
info->full_name;
384
385
386 if ( full )
387 {
388 while ( *full )
389 {
390 if ( *full == *family )
391 {
392 family++;
393 full++;
394 }
395 else
396 {
397 if ( *full == ' ' || *full == '-' )
398 full++;
399 else if ( *family == ' ' || *family == '-' )
400 family++;
401 else
402 {
403 if ( !*family )
405 break;
406 }
407 }
408 }
409 }
410 }
411 else
412 {
413
414 if (
cid->cid_font_name )
416 }
417
418
420 if (
info->italic_angle )
423 {
427 }
428
429
432
435
436 cidface->
bbox.
xMax = (
cid->font_bbox.xMax + 0xFFFF ) >> 16;
437 cidface->
bbox.
yMax = (
cid->font_bbox.yMax + 0xFFFF ) >> 16;
438
441
444
448
451 }
452
455 }
cid_face_open(CID_Face face, FT_Int face_index)
#define FT_STYLE_FLAG_ITALIC
#define FT_FACE_FLAG_SCALABLE
#define FT_FACE_FLAG_HINTER
#define FT_FACE_FLAG_FIXED_WIDTH
#define FT_STYLE_FLAG_BOLD
#define FT_FACE_FLAG_HORIZONTAL
#define FT_ERROR(varformat)
#define FT_TRACE2(varformat)
#define FT_FACE_LIBRARY(x)
FT_Get_Module_Interface(FT_Library library, const char *mod_name)
#define FT_STREAM_SEEK(position)
GLenum const GLfloat * params
PSHinter_Interface * PSHinter_Service
struct PSAux_ServiceRec_ * PSAux_Service
FT_Bitmap_Size * available_sizes
FT_Short underline_thickness
FT_Short underline_position