diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-11-28 15:07:03 +0100 |
---|---|---|
committer | Robin Watts <robin@peeves.(none)> | 2013-11-28 08:10:52 -0800 |
commit | d0d65fa2d6e1256d011982fe121ad0417e9014ca (patch) | |
tree | 085626d7c04445386df885ea108428c0cee40d0c /scripts/freetype | |
parent | 81a97d655e373d7371e70f6a2051a41f606c62dc (diff) | |
download | mupdf-d0d65fa2d6e1256d011982fe121ad0417e9014ca.tar.xz |
Put thirdparty config headers in separate directories.
Only -I the config header directory if building the thirdparty library,
not if using the system library.
Fix bug 694808.
Diffstat (limited to 'scripts/freetype')
-rw-r--r-- | scripts/freetype/slimftmodules.h | 20 | ||||
-rw-r--r-- | scripts/freetype/slimftoptions.h | 14 |
2 files changed, 34 insertions, 0 deletions
diff --git a/scripts/freetype/slimftmodules.h b/scripts/freetype/slimftmodules.h new file mode 100644 index 00000000..d03bbc59 --- /dev/null +++ b/scripts/freetype/slimftmodules.h @@ -0,0 +1,20 @@ +/* custom ftmodule.h which selects the minimum features required by mupdf */ + +// 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 ) diff --git a/scripts/freetype/slimftoptions.h b/scripts/freetype/slimftoptions.h new file mode 100644 index 00000000..066ee377 --- /dev/null +++ b/scripts/freetype/slimftoptions.h @@ -0,0 +1,14 @@ +/* custom ftoption.h which selects the minimum features needed by mupdf */ + +#include <freetype/config/ftoption.h> +#undef FT_CONFIG_OPTION_USE_LZW +#undef FT_CONFIG_OPTION_USE_ZLIB +#undef FT_CONFIG_OPTION_MAC_FONTS +#undef FT_CONFIG_OPTION_INCREMENTAL +#undef TT_CONFIG_OPTION_EMBEDDED_BITMAPS +#undef TT_CONFIG_OPTION_GX_VAR_SUPPORT +#undef TT_CONFIG_OPTION_BDF +#undef T1_CONFIG_OPTION_NO_AFM +#undef T1_CONFIG_OPTION_NO_MM_SUPPORT + +#undef FT_CONFIG_OPTION_OLD_INTERNALS |