freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] configuring freetype for only truetype support


From: mpsuzuki
Subject: Re: [ft] configuring freetype for only truetype support
Date: Fri, 26 Feb 2010 12:26:04 +0900

On Thu, 25 Feb 2010 19:21:39 +0100 (CET)
Werner LEMBERG <address@hidden> wrote:
>> Hmm, docs/CUSTOMIZE recommends to edit ftmodule.h directly, but the
>> description of each line is not so easy in comparison with
>> module.cfg.
>
>Any improvements are highly welcomed.

As the first step, I propose following insertion of
comments. audioboy 77, give me comment.

The order would be arguable:
  bottom-up style (showing required before requester: e.g. sfnt before tt)
  top-down style (showing requester before required: e.g. tt before sfnt)
In this proposal, I ordered top-down style.

In next step, I will have to describe how to enable
& disable gzip, lzw, cache modules.

Also it would be possible to write some cpp macros
to make the compilation abort if essential dependency
is not satisfied.

Regards,
mpsuzuki

----------------------------------------------------
/*
 *  This file registers the FreeType modules compiled into the library.
 *
 *  If you use GNU make, this file IS NOT USED!  Instead, it is created in
 *  the objects directory (normally `<topdir>/objs/') based on information
 *  from `<topdir>/modules.cfg'.
 *
 *  Please read `docs/INSTALL.ANY' and `docs/CUSTOMIZE' how to compile
 *  FreeType without GNU make.
 *
 */

/* file format drivers */
FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class )     /* TrueType */
FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class )     /* PS Type1 */
FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class )    /* TrueType in PS/PDF, 
needs tt */
FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class )    /* CFF font, OpenType 
*/
FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class )  /* CID-keyed PS font */
FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )    /* PCF font */
FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class )    /* BDF font */
FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class )    /* PFR font */
FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class ) /* Windows bitmap */

/* bitmap glyph renderer, at least 1 renderer is required */
FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class )     /* monochrome 
scaler */
FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class )      /* grayscale 
scaler */
FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcd_renderer_class )  /* horiz. LCD 
scaler */
FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcdv_renderer_class ) /* vert. LCD 
scaler */

/* outline hinters */
FT_USE_MODULE( FT_Module_Class, autofit_module_class )  /* FT2 auto hinter */
FT_USE_MODULE( FT_Module_Class, pshinter_module_class ) /* used by t1, cff, 
t1cid */ 

/* shared components */
FT_USE_MODULE( FT_Module_Class, sfnt_module_class )    /* used by tt, cff */
FT_USE_MODULE( FT_Module_Class, psaux_module_class )   /* used by sfnt, t1, 
t1cid */
FT_USE_MODULE( FT_Module_Class, psnames_module_class ) /* used by sfnt, t1, 
t1cid */

#if 0 /* extra modules */
FT_USE_MODULE( FT_Module_Class, gxv_module_class ) /* TrueType GX validator */
FT_USE_MODULE( FT_Module_Class, otv_module_class ) /* OpenType validator */
#endif

/* EOF */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]