Lines Matching refs:driver
237 FT_Driver driver = slot->face->driver;
238 FT_Driver_Class clazz = driver->clazz;
239 FT_Memory memory = driver->root.memory;
244 slot->library = driver->root.library;
251 if ( FT_DRIVER_USES_OUTLINES( driver ) )
347 FT_Driver driver = slot->face->driver;
348 FT_Driver_Class clazz = driver->clazz;
349 FT_Memory memory = driver->root.memory;
362 if ( FT_DRIVER_USES_OUTLINES( driver ) )
380 FT_Driver driver;
386 if ( !face || !face->driver )
389 driver = face->driver;
390 clazz = driver->clazz;
391 memory = driver->root.memory;
429 FT_Driver driver = slot->face->driver;
430 FT_Memory memory = driver->root.memory;
568 FT_Driver driver;
585 driver = face->driver;
586 library = driver->root.library;
624 FT_DRIVER_IS_SCALABLE( driver ) &&
625 FT_DRIVER_USES_OUTLINES( driver ) &&
634 !FT_DRIVER_HAS_HINTER( driver ) )
665 error = driver->clazz->load_glyph( slot, face->size,
694 error = driver->clazz->load_glyph( slot,
831 FT_Driver driver )
838 if ( driver->clazz->done_size )
839 driver->clazz->done_size( size );
879 FT_Driver driver )
881 FT_Driver_Class clazz = driver->clazz;
897 driver );
928 Destroy_Driver( FT_Driver driver )
930 FT_List_Finalize( &driver->faces_list,
932 driver->root.memory,
933 driver );
935 /* check whether we need to drop the driver's glyph loader */
936 if ( FT_DRIVER_USES_OUTLINES( driver ) )
937 FT_GlyphLoader_Done( driver->glyph_loader );
1108 open_face( FT_Driver driver,
1122 clazz = driver->clazz;
1123 memory = driver->root.memory;
1134 face->driver = driver;
1328 /* Create a new FT_Face given a buffer and a driver name. */
1360 args.driver = FT_Get_Module( library, driver_name );
1396 /* driver is loaded unconditially, we must parse the font by */
1531 /* one lump which gets passed on to the type1 driver. */
1676 /* pass it on the the truetype driver and return it. */
2000 FT_Driver driver;
2026 /* If the font driver is specified in the `args' structure, use */
2028 if ( ( args->flags & FT_OPEN_DRIVER ) && args->driver )
2030 driver = FT_DRIVER( args->driver );
2033 if ( FT_MODULE_IS_DRIVER( driver ) )
2045 error = open_face( driver, stream, face_index,
2058 /* check each font driver for an appropriate format */
2072 driver = FT_DRIVER( cur[0] );
2080 error = open_face( driver, stream, face_index,
2138 /* no driver is able to handle this format */
2153 /* add the face object to its driver's list */
2158 /* don't assume driverdriver, so use */
2159 /* face->driver instead. */
2160 FT_List_Add( &face->driver->faces_list, node );
2279 FT_Driver driver;
2289 driver = face->driver;
2290 if ( !driver )
2293 error = FT_Stream_New( driver->root.library, parameters, &stream );
2297 /* we implement FT_Attach_Stream in each driver through the */
2301 clazz = driver->clazz;
2332 FT_Driver driver;
2338 if ( face && face->driver )
2345 driver = face->driver;
2346 memory = driver->root.memory;
2348 /* find face in driver's list */
2349 node = FT_List_Find( &driver->faces_list, face );
2352 /* remove face object from the driver's list */
2353 FT_List_Remove( &driver->faces_list, node );
2357 destroy_face( memory, face, driver );
2375 FT_Driver driver;
2388 if ( !face->driver )
2393 driver = face->driver;
2394 clazz = driver->clazz;
2434 FT_Driver driver;
2447 driver = face->driver;
2448 if ( !driver )
2451 memory = driver->root.memory;
2467 destroy_size( memory, size, driver );
2771 clazz = face->driver->clazz;
2785 FT_TRACE5(( "FT_Select_Size (font driver's `select_size'):\n" ));
2825 clazz = face->driver->clazz;
2839 FT_TRACE5(( "FT_Request_Size (font driver's `request_size'):\n" ));
2857 * The reason that a driver doesn't have `request_size' defined is
2970 FT_Driver driver;
2979 driver = face->driver;
2984 if ( driver->clazz->get_kerning )
2986 error = driver->clazz->get_kerning( face,
3763 if ( face == NULL || face->driver == NULL )
4092 /* module :: A handle to the target driver object. */
4095 /* The driver _must_ be LOCKED! */
4112 /* if the module is a font driver, add some steps */
4199 /* if the module is a font driver */
4203 FT_Driver driver = FT_DRIVER( module );
4206 driver->clazz = (FT_Driver_Class)module->clazz;
4207 if ( FT_DRIVER_USES_OUTLINES( driver ) )
4209 error = FT_GlyphLoader_New( memory, &driver->glyph_loader );
4231 FT_Driver driver = FT_DRIVER( module );
4234 if ( FT_DRIVER_USES_OUTLINES( driver ) )
4235 FT_GlyphLoader_Done( driver->glyph_loader );
4521 * - the cff font driver uses the pshinter module in cff_size_done
4522 * - if the pshinter module is destroyed before the cff font driver,
4523 * opened FT_Face objects managed by the driver are not properly
4664 FT_Driver driver = size->face->driver;
4667 if ( driver->clazz->request_size )
4685 return driver->clazz->request_size( size, &req );
4698 FT_Driver driver = size->face->driver;
4701 if ( driver->clazz->request_size )
4709 return driver->clazz->request_size( size, &req );