Hi,

I am currently in the debugging stages of implementing the Freetype2 code in an embedded printer controller. I used INSTALL.ANY to select the C files to include in the build. I configured ftmodule.h as shown below.


//FT_USE_MODULE( FT_Module_Class, autofit_module_class )
FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class )
//FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class )
//FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class )
//FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class )
//FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class )
//FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class )
//FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class )
//FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )
//FT_USE_MODULE( FT_Module_Class, psaux_module_class )
FT_USE_MODULE( FT_Module_Class, psnames_module_class )
FT_USE_MODULE( FT_Module_Class, pshinter_module_class )
FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class )
FT_USE_MODULE( FT_Module_Class, sfnt_module_class )
//FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class )
//FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcd_renderer_class )
//FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcdv_renderer_class )
//FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )

/* EOF */

My goal is to configure a font system that only supports TrueType fonts on a monochrome printer.

My difficulty is in the module FT_Render_Glyph_Internal() in ftobjs.c. FT_Err_Unimplemented_Feature (0x07) gets set first and then Cannot_Render_Glyph (0x13) gets set with the call to renderer->render( renderer, slot, render_mode, NULL ).

Since I have a renderer selected in ftmodules.h, I am at a loss as to why the error codes are showing up.

Any help would be much appreciated,

Thanks,
Allen

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to