summaryrefslogtreecommitdiff
path: root/devel
Commit message (Collapse)AuthorAgeFilesLines
* [truetype] Hide Infinality.Alexei Podtelezhnikov2023-02-171-40/+7
| | | | | | | | Remove Infinality as an option before its complete extraction. * include/freetype/ftoption.h: Remove the Infinality option. * devel/ftoption.h: Ditto. * include/freetype/ftdriver.h (TT_INTERPRETER_VERSION_38): Is 40 now.
* Avoid reserved identifiers that are globally defined.Werner Lemberg2023-02-081-4/+4
| | | | | | | | | | | This is mandated by the C99 standard, and clang 15 produces zillions of warnings otherwise. * devel/ftoption.h, include/freetype/config/ftoption.h, include/freetype/internal/ftmemory.h, src/autofit/afhints.h, src/autofit/afmodule.c, src/autofit/aftypes.h, src/base/ftadvanc.c, src/base/ftdbgmem.c, src/base/ftstream.c, src/bdf/bdflib.c, src/truetype/ttinterp.c: Replace identifiers of the form `_foo` with `foo_`.
* Update all copyright notices.Werner Lemberg2023-01-172-2/+2
|
* Add `TT_CONFIG_OPTION_NO_BORING_EXPANSION` configuration macro.Dominik Röttsches2022-11-121-0/+18
| | | | | | | | | | | This gives users a possibility to deactivate new features not (yet) in the OpenType standard. * include/freetype/config/ftoption.h, devel/ftoption.h (TT_CONFIG_OPTION_NO_BORING_EXPANSION): New macro. * src/truetype/ttgxvar.c (ft_var_load_avar): Use it to disable 'avar' version 2.0 support.
* Synchronize `ftoption.h` flavours.Werner Lemberg2022-10-101-4/+6
|
* Add flag `FT_CONFIG_OPTION_SVG`.Moazin Khatti2022-01-201-1/+15
| | | | | | | | | This flag is going to be used to conditionally compile support for OT-SVG glyphs. FreeType will do the parsing and rely on external hooks for rendering of OT-SVG glyphs. * devel/ftoption.h, include/freetype/config/ftoption.h (FT_CONFIG_OPTION_SVG): New flag.
* Update all copyright notices.Werner Lemberg2022-01-112-2/+2
|
* * builds/unix/configure.raw: Restore `SYSTEM_ZLIB` variable.Werner Lemberg2022-01-021-0/+4
| | | | This was accidentally removed with commit 93ebcbd0 almost eight years ago.
* Small clean-ups for the last few commits.Werner Lemberg2021-07-121-2/+1
| | | | * include/freetype/fttrace.h (afwarp): Removed.
* Remove experimental auto-hinting 'warp' mode.David Turner2021-07-121-18/+0
| | | | | | | This feature was always experimental, and probably nevery worked properly. This patch completely removes it from the source code, except for a documentation block describing it for historical purpose.
* Fix 'devel' build for COLR 'v1'.Werner Lemberg2021-06-081-0/+15
| | | | | * devel/ftoption.h: Synchronize with `include/freetype/config/ftoption.h`.
* Update all copyright notices.Werner Lemberg2021-01-172-2/+2
|
* Fix typos from last commit.Werner Lemberg2021-01-071-1/+1
|
* [dlg] Move the headers to include/dlg to simplify their use.Alexei Podtelezhnikov2021-01-071-1/+1
| | | | | | | | * autogen.sh, builds/toplevel.mk: Copy headers to incluide/dlg. * builds/freetype.mk, builds/windows/vc2010/freetype.vcxproj: Simplify included path. * include/freetype/internal/ftdebug.h: Simplify #include. * src/dlg/rules.mk, .gitignore: Updated.
* */*: s/FT_LOGGING/FT_DEBUG_LOGGING/.Werner Lemberg2020-12-071-1/+1
|
* [builds] Necessary changes to make 'dlg' compile.Priyesh Kumar2020-12-011-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | * autogen.sh (copy_submodule_files): New script to copy all the necessary source and include files from `submodules/dlg` to `src/dlg`. * src/dlg/dlgwrap.c: New wrapper file for `src/dlg.c`. It enables the build of 'dlg' if the `FT_LOGGING` macro is defined. * src/dlg/rules.mk: New sub-Makefile. * builds/freetype.mk (DLG_DIR): New variable to include the header files of the 'dlg' library. (INCLUDES): Add `DLG_DIR`. (FT_CFLAGS): Add `-std=c99' flag. Include `src/dlg/rules.mk` file to build 'dlg' library. (OBJ_S, OBJ_M): Add `DLG_OBJS_M` and `DLG_OBJS_S`. * builds/toplevel.mk: For builds directly from the git repository we need to copy files from `submodule/dlg` to `src/dlg`. * include/freetype/config/ftoption.h, devel/ftoption.h (FT_LOGGING): New macro to enable or disable the logging facility in FreeType.
* Minor typos, formatting.Werner Lemberg2020-08-041-1/+1
|
* Remove Jamfile files from the tree.David Turner2020-05-181-1/+1
| | | | | | | | These have not been used in a very, very long time, so better remove them. A corresponding patch will be submitted to the `freetype2-demos' repository. * src/Jamfile, src/*/Jamfile, Jamrules: Delete.
* [smooth] Turn on LCD filtering during FreeType initialization.Alexei Podtelezhnikov2020-05-121-4/+2
| | | | | | | | | * src/smooth/ftsmooth.c (ft_smooth_init): Enable LCD filtering. * include/freetype/ftlcdfil.h: Document it, remove patent warnings. * include/freetype/freetype.h (FT_Render_Mode): Updated. * include/freetype/config/ftoption.h, devel/ftoption.h [FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Do not mention patents.
* * devel/ft2build.h: Override FT_CONFIG_MODULES_H here as well.Alexei Podtelezhnikov2020-05-011-0/+1
|
* Update all copyright notices.Werner Lemberg2020-01-192-2/+2
|
* Fix handling of `AF_CONFIG_OPTION_INDIC'.Werner Lemberg2019-09-051-1/+3
| | | | | * devel/ftoption.h, include/freetype/config/ftoption.h: `AF_CONFIG_OPTION_INDIC' needs `AF_CONFIG_OPTION_CJK'.
* Add Brotli dependency and required checks.Nikhil Ramakrishnan2019-08-271-0/+16
| | | | | | | | | | | | Brotli is required for decompressing WOFF2 font directory streams. The library is thus being added as an optional dependency for FreeType. * builds/unix/configure.raw: Add checks for `libbrotlidec'. (REQUIRES_PRIVATE, LIBS_PRIVATE, LIBSSTATIC_CONFIG): Updated. * devel/ftoption.h, include/freetype/config/ftoption.h (FT_CONFIG_OPTION_USE_BROTLI): New macro.
* More documentation updates.Werner Lemberg2019-02-231-2/+2
| | | | In particular, mark the new behaviour of `FT_LOAD_COLOR' as experimental.
* Update all copyright notices.Werner Lemberg2019-02-232-2/+2
|
* s/`....`/'....'/ for SFNT table tags in documentation.Werner Lemberg2019-02-211-7/+7
|
* Update copyright years.Werner Lemberg2019-01-222-2/+2
|
* * devel/ftoption.h: Synchronize with master `ftoption.h'.Werner Lemberg2018-09-041-299/+297
|
* [errors] Introduce a macro to control `FT_Error_String'.Armin Hasitzka2018-08-301-0/+13
| | | | | | * devel/ftoption.h (FT_CONFIG_OPTION_ERROR_STRINGS), include/freetype/config/ftoption.h (FT_CONFIG_OPTION_ERROR_STRINGS): New macro.
* ftoption.h: s/precendence/precedence/ in documentation (#54586).Werner Lemberg2018-08-291-4/+4
|
* More comment formattings.Werner Lemberg2018-08-061-2/+11
| | | | This helps in the forthcoming transition to markdown syntax.
* * devel/ftoption.h: Synchronize with main `ftoption.h'.Werner Lemberg2018-08-061-25/+78
|
* Restore missing comment lines and other minor fixesNikhil Ramakrishnan2018-06-041-4/+1
|
* Restore accidentally removed, commented-out configuration options.Sender Ghost2018-06-041-1/+6
|
* [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style.Werner Lemberg2018-06-032-636/+636
| | | | | | | | | | | This second and final monster commit was created by applying Nikhil's scripts `docconverter.py' and `markify.py' to all C header and source files, followed up by minor manual clean-up. No change in functionality, of course. I used commit f7419907bc6044b9b7057f9789866426c804ba82 from https://github.com/nikramakrishnan/freetype-docs.git.
* [sfnt] Preliminary support of coloured layer outlines.Shao Yu Zhang2018-05-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit enables OpenType's COLR/CPAL table handling; a typical application are color emojis that can be scaled to any size. If the color palette does not exist or is invalid, the rendering step rasterizes the outline instead. The current implementation assumes that the foreground is black. Enable this by defining option TT_CONFIG_OPTION_COLOR_LAYERS. There are still some issues with metrics; additionally, an API to fetch color layers is missing. * devel/ftoption.h, include/freetype/config/ftoption.h (TT_CONFIG_OPTION_COLOR_LAYERS): New macro. * include/freetype/internal/ftobjs.h (FT_Glyph_LayerRec, FT_Colr_InternalRec): New structures. (FT_Slot_InternalRec): Add `color_layers' field. * include/freetype/internal/sfnt.h (TT_Load_Colr_Layer_Func, TT_Blend_Colr_Func): New function types. (SFNT_Interface): Add `load_colr', `free_colr', `load_colr_layer', and `colr_blend' fields. * include/freetype/internal/tttypes.h (TT_FaceRec): Add `colr_and_cpal' field. * include/freetype/internal/tttags. (TTAG_COLR, TTAG_CPAL): New macros. * src/sfnt/ttcolr.c, src/sfnt/ttcolr.h: New files. * src/base/ftobjs.c (ft_glyphslot_done, FT_Render_Glyph_Internal): Handle glyph color layers. * src/sfnt/Jamfile (_sources), src/sfnt/rules.mk (SFNT_DRV_SRC): Add `ttcolr.c'. * src/sfnt/sfdriver.c: Include `ttcolr.h'. (PUT_COLOR_LAYERS): New macro. Update call to `FT_DEFINE_SFNT_INTERFACE'. * src/sfnt/sfnt.c: Include `ttcolr.c'. * src/sfnt/sfobjs.c (sfnt_load_face): Load `COLR' and `CPAL' tables. (sfnt_done_face): Updated. * src/truetype/ttgload.c (TT_Load_Glyph): Handle color layers.
* Remove FT_CONFIG_OPTION_PIC and related code.Werner Lemberg2018-05-021-29/+0
| | | | | | | | | | | | | | | | | */* [FT_CONFIG_OPTION_PIC]: Remove all code guarded by this preprocessor symbol. */*: Replace `XXX_GET' macros (which could be either a function in PIC mode or an array in non-PIC mode) with `xxx' arrays. * include/freetype/internal/ftpic.h, src/autofit/afpic.c, src/autofit/afpic.h, src/base/basepic.c, src/base/basepic.h, src/base/ftpic.c, src/cff/cffpic.c, src/cff/cffpic.h, src/pshinter/pshpic.c, src/pshinter/pshpic.h, src/psnames/pspic.c, src/psnames/pspic.h, src/raster/rastpic.c, src/raster/rastpic.h, src/sfnt/sfntpic.c, src/sfnt/sfntpic.h, src/smooth/ftspic.c, src/smooth/ftspic.h, src/truetype/ttpic.c, src/truetype/ttpic.h: Removed.
* Update copyright year.Werner Lemberg2018-01-022-2/+2
|
* Update or fix links to use the https protocol instead of http.Werner Lemberg2017-12-041-2/+2
|
* * devel/ftoption.h: Enable T1_CONFIG_OPTION_OLD_ENGINE by default.Ewald Hew2017-10-121-1/+1
|
* Add T1_CONFIG_OPTION_OLD_ENGINE configuration option.Ewald Hew2017-10-121-0/+10
| | | | | | | | | | | | | | | | | | This controls whether the old Type 1 engine gets compiled into FreeType. It is disabled by default. * devel/ftoption.h, include/freetype/config/ftoption.h (T1_CONFIG_OPTION_OLD_ENGINE): New macro. * include/freetype/internal/psaux.h (PS_Decoder): Remove unused field. * include/freetype/internal/psaux.h, src/cid/cidgload.c (cid_load_glyph), src/psaux/psauxmod.c, src/psaux/psobjs.c (ps_builder_add_point), src/psaux/t1decode.c (t1_lookup_glyph_by_stdcharcode, t1_decoder_parse_glyph, t1operator_seac, t1_decoder_parse_charstrings), src/psaux/t1decode.h, src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Surround relevant code with macro. Minor code changes.
* [build] Fix DLL builds in Visual C++ project.Alexei Podtelezhnikov2017-09-191-42/+0
| | | | | | | * build/windows/vc2010/freetype.vcxproj: Use DynamicLibrary in Debug and Release configurations. * include/freetype/config/ftconfig.h (FT_EXPORT, FT_EXPORT_DEF) [_DLL]: Use Visual C++ extensions.
* [smooth] Harmony LCD rendering.Alexei Podtelezhnikov2017-08-081-12/+9
| | | | | | | | | | | | | | | | | This is a new technology for LCD-optimized rendering. It capitalizes on the fact that each color channel grid is shifted by a third of a pixel. Therefore it is logical to render 3 separate monochrome bitmaps shifting the outline by 1/3 pixel, and then combine them. Importantly, the resulting output does not require additional LCD filtering. * src/smooth/ftsmooth.c (ft_smooth_render_generic) [!FT_CONFIG_OPTION_SUBPIXEL_RENDERING]: Implement new LCD-optimized rendering. * include/freetype/ftlcdfil.h, include/freetype/freetype.h, include/freetype/config/ftoption.h, devel/ftoption.h: Updated documentation.
* [sfnt] Synthesize a Unicode charmap if one is missing.Alexei Podtelezhnikov2017-06-211-1/+1
| | | | | | | | | | | | | | | | * src/sfnt/ttcmap.h (tt_cmap_unicode_class_rec): Declare it. * src/sfnt/ttcmap.c (tt_get_glyph_name, tt_cmap_unicode_init, tt_cmap_unicode_done, tt_cmap_unicode_char_index, tt_cmap_unicode_char_next, tt_cmap_unicode_class_rec): Implement synthetic Unicode charmap class. (tt_get_cmap_info): Make sure the callback is available. * src/sfnt/sfobjs.c (sfnt_load_face) [FT_CONFIG_OPTION_POSTSCRIPT_NAMES]: If Unicode charmap is missing, synthesize one. * include/freetype/config/ftoption.h: Document it. * devel/ftoption.h: Ditto.
* Fix preprocessor warning.Werner Lemberg2017-03-171-0/+2
| | | | | | * devel/ftoption.h, include/freetype/config/ftoption.h: Test whether TT_CONFIG_OPTION_SUBPIXEL_HINTING is defined before checking its value.
* [pcf] Make long family names configurable.Werner Lemberg2017-01-091-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change from 2016-09-29 was too radical (except for people using the openSuSE GNU/Linux distribution). To ameliorate the situation, PCF_CONFIG_OPTION_LONG_FAMILY_NAMES gets introduced which controls the feature; if set, a new PCF property option `no-long-family-names' can be used to switch this feature off. * include/freetype/config/ftoption.h, devel/ftoption.h (PCF_CONFIG_OPTION_LONG_FAMILY_NAMES): New option. * include/freetype/ftpcfdrv.h: New header file (only containing comments currently, used for building the documentation). * include/freetype/config/ftheader.h (FT_PCF_DRIVER_H): New macro. * src/pcf/pcf.h (PCF_Driver): Add `no_long_family_names' field. * src/pcf/pcfdrivr.c: Include FT_SERVICE_PROPERTIES_H and FT_PCF_DRIVER_H. (pcf_property_set, pcf_property_get): New functions. (pcf_service_properties): New service. (pcf_servives): Updated. (pcf_driver_init) [PCF_CONFIG_OPTION_LONG_FAMILY_NAMES]: Handle `no_long_family_names'. * src/pcf/pcfread.c (pcf_load_font): Handle `no_long_family_names' and PCF_CONFIG_OPTION_LONG_FAMILY_NAMES. * docs/CHANGES: Updated.
* Update copyright year.Werner Lemberg2017-01-042-2/+2
|
* Synchronize `ftoption.h' comments.Werner Lemberg2016-09-021-1/+15
|
* Implement handling of `FREETYPE_PROPERTIES' environment variable.Werner Lemberg2016-07-111-0/+30
| | | | | | | | | | | | | Recognizing properties follows in another commit. * devel/ftoption.h, include/freetype/config/ftoption.h (FT_CONFIG_OPTION_ENVIRONMENT_PROPERTIES): New macro. * include/freetype/config/ftstdlib.h (ft_getenv): New macro. * src/base/ftinit.c (ft_set_default_properties): New function to parse `FREETYPE_PROPERTIES' and calling `ft_property_string_set'. (FT_Init_FreeType): Updated.
* Parentheses.Alexei Podtelezhnikov2016-05-201-1/+1
|