summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Split off ChangeLog.28.Werner Lemberg2018-02-172-3120/+3137
| |
| * s/sub-pixel/subpixel/.Werner Lemberg2018-02-179-20/+20
| |
| * [truetype] Integer overflow issues.Werner Lemberg2018-02-062-7/+44
| | | | | | | | | | | | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6027 * src/truetype/ttinterp.c (Ins_MSIRP, Ins_MIAP, Ins_MIRP): Use SUB_LONG; avoid FT_ABS.
| * [unix] Use -fvisibility=hidden.Alexei Podtelezhnikov2018-02-045-33/+80
| | | | | | | | | | | | | | | | | | | | | | | | It is now widely recommended that ELF shared libraries hide symbols except those with explicit __attribute__((visibility("default"))). This is supported by all major compilers and should rather be an option in libtool. * builds/unix/configure.raw: Add -fvisibility=hidden to CFLAGS. * builds/unix/ftconfig.in, builds/vms/ftconfig.h, include/freetype/config/ftconfig.h (FT_EXPORT): Use visibility attribute.
| * [truetype] Minor typo.Werner Lemberg2018-01-281-1/+1
| |
| * [truetype] Better protection against invalid VF data.Werner Lemberg2018-01-272-2/+16
| | | | | | | | | | | | | | | | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5739 Bug introduced in commit 08cd62deedefe217f2ea50e392923ce8b5bc7ac7. * src/truetype/ttgxvar.c (TT_Set_Var_Design): Always initialize `normalizedcoords'.
| * * src/truetype/ttinterp.c (Ins_GETVARIATION): Avoid NULL reference.Werner Lemberg2018-01-272-2/+18
| | | | | | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5736
| * * src/truetype/ttgxvar.c (tt_set_mm_blend): Minor.Werner Lemberg2018-01-272-2/+7
| |
| * [truetype] Better trace VF instances.Werner Lemberg2018-01-272-5/+59
| | | | | | | | | | | | | | * src/truetype/ttgxvar.c (ft_var_to_normalized): Don't emit number of coordinates. (TT_Get_MM_Var): Trace instance indices names. (TT_Set_Var_Design): Updated.
| * Fix comment.Werner Lemberg2018-01-271-2/+2
| |
| * [truetype] Beautify tracing of VF axis records.Werner Lemberg2018-01-272-9/+31
| | | | | | | | | | * src/truetype/ttgxvar.c (TT_Get_MM_Var): Show axis records in a table-like manner.
| * [truetype] Fix multiple calls of `FT_Get_MM_Var' (#52955).Werner Lemberg2018-01-262-1/+10
| | | | | | | | | | | | * src/truetype/ttgxvar.c (TT_Get_MM_Var): Set `face->blend->num_axis' in case we have to initialize the `face->blend'.
| * [apinames] Anonymous version map for GNU linker.Alexei Podtelezhnikov2018-01-232-2/+27
| | | | | | | | | | | | | | | | * src/tools/apinames.c (PROGRAM_VERSION): Set to 0.3. (OutputFormat): Add `OUTPUT_GNU_VERMAP'. (names_dump): Handle it. (usage): Updated. (main): Handle new command line flag `-wL'.
| * [unix] Call libtool to clean up.Alexei Podtelezhnikov2018-01-213-9/+14
| | | | | | | | | | | | * builds/unix/install.mk (clean_project_unix, distclean_project_unix): Use libtool. * builds/freetype.mk: Minor.
| * * src/base/ftver.rc: Fix mingw-w64 compilation.Alexei Podtelezhnikov2018-01-182-2/+6
| |
| * [build] Enable VERSIONINFO resource for Cygwin/MinGW.Alexei Podtelezhnikov2018-01-185-2/+52
| | | | | | | | | | | | | | * builds/unix/configure.raw: Check for resource compiler. * builds/unix/unix-cc.in: Conditionally set up resource compiler. * builds/freetype.mk: Add conditional rule for `ftver.rc'. * src/base/ftver.rc: Copyright notice and year update.
| * [build] Move VERSIONINFO resource.Alexei Podtelezhnikov2018-01-183-1/+9
| | | | | | | | | | | | * builds/windows/vc2010/freetype.vcxproj: Updated. * builds/windows/ftver.rc: Move file from here... * src/base/ftver.rc: ... to here.
| * [build] Expand dllexport/dllimport to Cygwin/MinGW.Alexei Podtelezhnikov2018-01-124-2/+34
| | | | | | | | | | | | | | * include/freetype/config/ftconfig.h: Respect DLL_EXPORT, s/_MSC_VER/_WIN32/. * builds/unix/ftconfig.in: Replicate here. * builds/vms/ftconfig.h: Replicate here.
| * [build] Improve and document MSVC build.Alexei Podtelezhnikov2018-01-123-28/+25
| | | | | | | | | | | | * include/freetype/config/ftconfig.h: Guard dllexport/dllimport attributes with _DLL and FT2_DLLIMPORT. * builds/windows/vc2010/index.html: Update documentation.
| * * CMakeLists.txt [win32]: Suppress warnings for POSIX functions.Steve Robinson2018-01-102-0/+7
| |
| * [psaux] Correctly handle Flex features (#52846).Ewald Hew2018-01-102-2/+11
| | | | | | | | | | * src/psaux/psintrp.c (cf2_interpT2CharString) <cf2_cmdVMOVETO, cf2_cmdHMOVETO>: Do not move if doing Flex.
| * * builds/windows/vc2010/freetype.sln: Synchronize with the project.Alexei Podtelezhnikov2018-01-092-24/+16
| |
| * * Version 2.9 released.VER-2-9Werner Lemberg2018-01-0824-207/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ======================= Tag sources with `VER-2-9'. * docs/VERSION.TXT: Add entry for version 2.9. * README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj, builds/windows/vc2005/index.html, builds/windows/vc2008/freetype.vcproj, builds/windows/vc2008/index.html, builds/windows/vc2010/freetype.vcxproj, builds/windows/vc2010/index.html, builds/windows/visualc/freetype.dsp, builds/windows/visualc/freetype.vcproj, builds/windows/visualc/index.html, builds/windows/visualce/freetype.dsp, builds/windows/visualce/freetype.vcproj, builds/windows/visualce/index.html, builds/windows/ftver.rc, builds/wince/vc2005-ce/freetype.vcproj, builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/freetype.vcproj, builds/wince/vc2008-ce/index.html: s/2.8.1/2.9/, s/281/29/. * include/freetype/freetype.h (FREETYPE_MINOR): Set to 9. (FREETYPE_PATCH): Set to 0. * builds/unix/configure.raw (version_info): Set to 22:0:16. * CMakeLists.txt (VERSION_PATCH): Set to 1.
| * Next release will be 2.9.Werner Lemberg2018-01-087-32/+31
| |
| * Add check for librt, needed for `ftbench' (#52824).Werner Lemberg2018-01-073-1/+26
| | | | | | | | | | | | | | * builds/unix/configure.raw: Call AC_USE_SYSTEM_EXTENSIONS. (LIB_CLOCK_GETTIME): Define; this will hold `-lrt' if necessary. * builds/unix/unix-cc.in (LIB_CLOCK_GETTIME): New variable.
| * [psaux] Fix Type 1 glyphs with too many stem hints.Ewald Hew2018-01-072-0/+21
| | | | | | | | | | | | | | | | | | | | | | According to the CFF specification, charstrings can have up to 96 stem hints. Due to hint replacement routines in Type 1 charstrings, some glyphs are rejected by the Adobe engine, which implements the above limit. This fix turns off hinting for such glyphs. * src/psaux/pshints.c (cf2_hintmap_build): Reset the error from calling `cf2_hintmask_setAll' on a problematic Type 1 charstring and turn off hinting.
| * Add `FT_Done_MM_Var'.Werner Lemberg2018-01-064-1/+56
| | | | | | | | | | | | | | | | | | | | | | This is necessary in case the application's memory routines differ from FreeType. A typical example is a Python application on Windows that calls FreeType compiled as a DLL via the `ctypes' interface. * include/freetype/ftmm.h, src/base/ftmm.c (FT_Done_MM_Var): Declare and define. * docs/CHANGES: Updated.
| * Minor doc fixes.Werner Lemberg2018-01-062-5/+2
| |
| * [truetype] Round offsets of glyph components only if hinting is on.Werner Lemberg2018-01-032-2/+29
| | | | | | | | | | * src/truetype/ttgload.c (TT_Process_Composite_Component): Implement it.
| * * src/truetype/ttgxvar.c (ft_var_to_design): Remove dead code.Werner Lemberg2018-01-032-12/+11
| | | | | | | | | | This is a better fix than the previous commit, which is now reverted.
| * Move internal LCD-related declarations.Alexei Podtelezhnikov2018-01-023-21/+29
| | | | | | | | | | | | * include/freetype/ftlcdfil.h (ft_lcd_padding, ft_lcd_filter_fir): Move from here... * include/freetype/internal/ftobjs.h: ... to here.
| * * include/freetype/config/ftconfig.h (FT_EXPORT, FT_EXPORT_DEF)Alexei Podtelezhnikov2018-01-022-6/+16
| | | | | | | | [_MSC_VER]: Limit Visual C++ attributes.
| * [truetype] Make blend/design coordinate round-tripping work.Werner Lemberg2018-01-032-2/+12
| | | | | | | | | | | | | | | | Behdad reported that setting blend coordinates, then getting design coordinates did incorrectly return the default instance's coordinates. * src/truetype/ttgxvar.c (tt_set_mm_blend): Fix it.
| * Update copyright year.Werner Lemberg2018-01-02589-590/+590
| |
| * Update `CHANGES' file with demo program news.Werner Lemberg2017-12-311-0/+12
| |
| * * src/sfnt/ttcmap.c (tt_cmap2_char_next): Fix endless loop.Werner Lemberg2017-12-312-0/+12
| | | | | | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4838
| * Synchronize other Windows project files.Werner Lemberg2017-12-317-0/+58
| | | | | | | | * builds/windows/*: Add missing files.
| * Update Visual C 2010 project files.Werner Lemberg2017-12-313-56/+76
| | | | | | | | | | | | | | | | | | | | Problem reported by Hin-Tak. * builds/windows/vc2010/freetype.vcxproj: Add files `ftbdf.c' and `ftcid.c'. Sort entries. * builds/windows/vc2010/freetype.vcxproj.filter: Ditto. Fix members of `FT_MODULE' group.
| * Updated `CHANGES' file.Werner Lemberg2017-12-303-2/+82
| |
| * * builds/vms/ftconfig.h: Synchronize with unix `ftconfig.in' file.Werner Lemberg2017-12-302-9/+85
| |
| * * builds/unix/ftconfig.in: Synchronize with main `ftconfig.h' file.Werner Lemberg2017-12-282-1/+68
| | | | | | | | Reported by Nikolaus.
| * Fix compiler warnings.Werner Lemberg2017-12-273-16/+24
| | | | | | | | | | | | | | * src/base/ftbitmap.c (ft_bitmap_assure_buffer): Make `pitch' and `new_pitch' unsigned. * src/base/ftpsprop.c: Include FT_INTERNAL_POSTSCRIPT_PROPS_H.
| * Fixes for `make multi'.Werner Lemberg2017-12-274-6/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/freetype/internal/ftpsprop.h: Use `FT_BASE_CALLBACK'. (ps_property_get): Harmonize declaration with corresponding function typedef. * include/freety[e/internal/fttrace.h: Add `trace_psprops'. * src/base/ftpsprop.c: Include necessary header files. (FT_COMPONENT): Define. (ps_property_set): Tag with `FT_BASE_CALLBACK_DEF'. (ps_property_get): Tag with `FT_BASE_CALLBACK_DEF'. Harmonize declaration with corresponding function typedef.
| * Provide support for intra-module callback functions.Werner Lemberg2017-12-272-1/+43
| | | | | | | | | | | | | | This is needed especially for `make multi' with C++. * include/freetype/config/ftconfig.h (FT_BASE_CALLBACK, FT_BASE_CALLBACK_DEF): New macros.
| * Add missing ChangeLog entry, copyright notices, whitespace, formatting.Werner Lemberg2017-12-276-5/+59
| |
| * Move PostScript drivers' property handlers to `base'Ewald Hew2017-12-259-666/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces the amount of duplicated code across PostScript drivers. * src/cff/cffdrivr.c, src/cid/cidriver.c, src/type1/t1driver.c ({cff,cid,t1}_property_{get,set}): Moved to... * include/freetype/internal/ftpsprop.h: ...this new file. (ps_property_{get,set}): New functions to replace moved ones. * src/base/ftpsprop.c: Implement above functions. * include/freetype/internal/internal.h (FT_INTERNAL_POSTSCRIPT_PROPS_H): New macro. * src/cff/cffdrivr.c, src/cid/cidriver.c, src/type1/t1driver.c: Updated. * src/base/Jamfile, src/base/rules.mk, src/base/ftbase.c: Updated.
| * Speed up FT_Set_Var_{Design,Blend}_Coordinates if curr == new.Werner Lemberg2017-12-205-12/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We exit early if the current design or blend coordinates are identical to the new ones. * src/truetype/ttgxvar.c (tt_set_mm_blend, TT_Set_Var_Design): Implement it, returning internal error code -1 if there will be no variation change. * src/type1/t1load.c (t1_set_mm_blend): Ditto. * src/base/ftmm.c (FT_Set_Var_Design_Coordinates, FT_Set_MM_Blend_Coordinates, FT_Set_Var_Blend_Coordinates): Updated.
| * Update incorrect ChangeLog entry.Werner Lemberg2017-12-182-3/+3
| |
| * [sfnt] Fix charmap type 2 iterator (#52646).Werner Lemberg2017-12-182-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The subsetted demo font of the report that exhibits the bug has a very unusual type 2 cmap for Unicode(!): It contains only two sub-headers, one for one-byte characters (covering the range 0x20 to 0xFA), and a second one for higher byte 0x01 (just for character code U+0131). Before this commit, the iterator wasn't able to correctly handle a sub-header for higher byte 0x01. * src/sfnt/ttcmap.c (tt_cmap2_char_next): Fix character increment for outer loop.
| * [truetype] Minor code beautification.Matthias Clasen2017-12-182-3/+13
| | | | | | | | | | | | * src/truetype/ttgxvar.c (ft_var_to_normalized): Trace number of design coordinates. Simplify code.