summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tt_apply_mvar: apply typo deltas to current metricsuse-typo-metricsNikolaus Waxweiler2019-01-271-19/+41
|
* Use sTypo* metrics if fsSelection bit 7 is setNikolaus Waxweiler2019-01-271-50/+68
|
* Update copyright years.Werner Lemberg2019-01-22567-569/+569
|
* [sfnt] Handle TT fonts having two PostScript font names (#55471).John Tytgat2019-01-182-2/+9
| | | | | * src/sfnt/sfdriver.c (sfnt_get_name_id): Prefer English over any other language found for PostScript font names.
* [psaux, type1] Align tracing.Alexei Podtelezhnikov2019-01-081-2/+2
|
* [psaux] Fix closepath (#55414).Chris Liddell2019-01-082-1/+14
| | | | | | | | | | | All of the Type 1 path building is done with code common to the revised CFF engine, with the exception of closepath, which was still calling ps_builder_close_contour(), thus previously cached segments were not always written to the path, and glyph corruption, or even invalid outlines were possible. * src/psauc/psinterp.c (cf2_interpT2CharString) <cf2_cmdCLOSEPATH>: Switch to calling `cf2_glyphpath_closeOpenPath'.
* Minor documentation fix.Nikhil Ramakrishnan2018-12-301-0/+2
|
* * src/autofit/aflatin2.c: Some fixes from `aflatin.c' (#55310).Werner Lemberg2018-12-292-1/+6
|
* * builds/mac/README: Fix a hyperlink to defunct www.gyve.org.suzuki toshiya2018-12-261-1/+1
|
* Fix links (mostly http -> https).Werner Lemberg2018-12-2522-33/+33
|
* * src/psaux/cffdecode.c (cff_operaor_seac): Fix numeric overflow.Werner Lemberg2018-12-252-2/+10
| | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11915
* [gxvalid] Fix compiler warnings.Werner Lemberg2018-12-123-0/+10
| | | | | * src/gxvalid/gxvjust.c (gxv_just_check_max_gid), src/gxvalid/gxvmort.c (gxv_mort_coverage_validate): Use `FT_UNUSED'.
* Fix documentation of TrueType bytecode interpreter debug hook.Werner Lemberg2018-12-122-14/+53
|
* Minor documentation fixes.Werner Lemberg2018-12-122-9/+1
|
* * src/truetype/ttgload.c (TT_Hint_Glyph): Remove useless test.Werner Lemberg2018-12-112-6/+8
| | | | | | `control_len' only gets its value from `n_ins' (and vice versa), which is always read as `unsigned short' and thus can't be larger than 0xFFFF.
* Minor documentation updates and fixes.Werner Lemberg2018-12-103-3/+49
|
* Important doc fix.Alexei Podtelezhnikov2018-12-061-1/+1
|
* [bdf] Ignore data after `ENDFONT'.Werner Lemberg2018-12-042-2/+35
| | | | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10798 * src/bdf/bdflib.c (_bdf_parse_end): New function. (_bdf_parse_glyphs): Switch to `_bdf_parse_end' after `ENDFONT' has been encountered.
* * builds/windows/visualc/freetype.dsp: Dust off.Alexei Podtelezhnikov2018-12-022-104/+79
|
* * include/freetype/ftmm.h: Minor.Nikhil Ramakrishnan2018-11-291-1/+1
|
* * builds/windows/vc2010/freetype.vcxproj: Simplify.Alexei Podtelezhnikov2018-11-272-97/+8
|
* [type1,cff] Add FT_{Set,Get}_MM_WeightVector API calls.Chris Liddell2018-11-279-66/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For multiple master fonts, common usage (in Postscript) is to modify the WeightVector of an existing font instance, this addition supports that use. * include/freetype/ftmm.h, src/base/ftmm.c (FT_Set_MM_WeightVector, FT_Get_MM_WeightVector): New API functions. * include/freetype/internalservices/svmm.h (FT_Set_MM_WeightVector_Func, FT_Get_MM_WeightVector_Func): New function types. (MultiMasters): Add `set_mm_weightvector' and `get_mm_weightvector' members. (FT_DEFINE_SERVICE_MULTIMASTERSREC): Updated. * src/cffcffdrivr.c (cff_set_mm_weightvector, cff_get_mm_weightvector): New functions. (cff_service_multi_masters): Register them. * src/truetype/ttdriver.c (tt_service_gx_multi_masters): Updated. This driver doesn't use the new interface. * src/type1/t1load.c (T1_Set_MM_WeightVector, T1_Get_MM_WeightVector): New functions. * src/type1/t1driver.c (t1_service_multi_masters): Register them. * src/type1/t1load.h: Updated.
* [cff] Fix compiler warning (#55105).Ben Wagner2018-11-272-1/+10
| | | | | * src/cff/cffparse.c (cff_parser_run): Guard label only used if CFF_CONFIG_OPTION_OLD_ENGINE is active.
* [truetype] Fix numeric overflow (#55103).Ben Wagner2018-11-272-1/+7
| | | | * src/truetype/ttgload.c (compute_glyph_metrics): Use `SUB_LONG'.
* [builds] Belated DLL support with vc2002-vc2008.Alexei Podtelezhnikov2018-11-2510-1332/+97
| | | | | | | | | The solution and project files should be automatically upgraded for the approriate Visual C++ version. * builds/windows/visualc/freetype.{sln,vcproj}: Major upgrades. * builds/windows/visualc/index.html: Document the change. * builds/windows/vc2005, builds/windows/vc2008: Removed as redundant.
* * src/cff/cffparse.c: Please the compiler.Armin Hasitzka2018-11-222-0/+5
|
* [cff] Fix memory overflow.Armin Hasitzka2018-11-222-13/+57
| | | | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9869 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10869 * src/cff/cffparse.c (destruct_t2s_item, cff_parser_run): Store evaluated T2 charstrings in separately allocated memory.
* * builds/windows/{visualc,vc2005,vc2008}/freetype.vcproj: Fix it.Alexei Podtelezhnikov2018-11-184-3/+106
|
* Clarification.Alexei Podtelezhnikov2018-11-101-2/+3
|
* [smooth] Placeholder only for library-enabled LCD filtering.Alexei Podtelezhnikov2018-11-102-0/+11
| | | | | * src/smooth/ftsmooth.c (ft_smooth_init): Add disabled `FT_Library_SetLcdFilter' call.
* [psaux] Add safety guard (#54985).Werner Lemberg2018-11-092-0/+14
| | | | * src/psaux/psobjs.c (cff_builder_close_contour): Do it.
* * builds/unix/configure.raw: Require `windows.h' for windres.Alexei Podtelezhnikov2018-11-082-1/+5
|
* [ftstroke] Fix unpredictable failures (#54986).Alexei Podtelezhnikov2018-11-082-2/+8
| | | | * src/base/ftstroke.c (ft_sroke_border_lineto): Fix lineto check.
* [ftstroke] Fix unpredictable failures (#54976).Alexei Podtelezhnikov2018-11-082-0/+7
| | | | * src/base/ftstroke.c (ft_sroke_border_close): Set the start tags.
* [truetype] Fix VF check from 2018-09-12 (#54973).Ben Wagner2018-11-072-2/+9
| | | | | * src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Use correct offsets for estimates.
* [pshinter] Fix numeric overflow.Werner Lemberg2018-11-062-1/+11
| | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11242 * src/pshinter/pshrec.c (ps_dimension_add_t1stem): Implement it.
* [psaux] Fix timeout in old CFF engine.Werner Lemberg2018-11-062-1/+16
| | | | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11260 * src/psaux/cffdecode.c (cff_decoder_parse_charstrings) <cff_op_sqrt> [CFF_CONFIG_OPTION_OLD_ENGINE]: Fix potential endless loop.
* Minor.Alexei Podtelezhnikov2018-11-041-2/+2
|
* * src/truetype/ttgxvar.c: Use enum definitions.Alexei Podtelezhnikov2018-11-042-7/+13
|
* * src/truetype/ttgxvar.c (ft_var_apply_tuple): Adjust condition.Alexei Podtelezhnikov2018-11-032-2/+6
|
* * src/truetype/ttgxvar.c (ft_var_apply_tuple): Tracing tweaks.Alexei Podtelezhnikov2018-11-032-23/+14
|
* Revert due to specs: [truetype] Speed up variation IUP.Alexei Podtelezhnikov2018-11-031-3/+2
| | | | This reverts commit 1e4496c54c010843c1bac56e5d344115d1a49620.
* Revert "[truetype] Speed up variation IUP."Alexei Podtelezhnikov2018-11-032-18/+7
| | | | This reverts commit 1e4496c54c010843c1bac56e5d344115d1a49620.
* * src/truetype/ttgxvar.c (ft_var_get_item_delta): Fixed logic.Alexei Podtelezhnikov2018-11-022-6/+10
| | | | Reported and tested by Behdad.
* [autofit] Prevent SEGV.Shailesh Mistry2018-11-022-4/+22
| | | | | | | | | | | See https://bugs.ghostscript.com/show_bug.cgi?id=697545 for more details on how the bug was found. * src/autofit/afloader.c (af_loader_load_glyph): Propagate error code.
* [truetype] Speed up variation IUP.Alexei Podtelezhnikov2018-10-312-3/+25
| | | | | * src/truetype/ttgxvar.c (tt_delta_interpolate): Separate trivial snapping to the same position from true interpolation.
* * src/type1/t1load.c (t1_set_mm_blend): Optimized.Alexei Podtelezhnikov2018-10-312-9/+20
|
* * src/truetype/ttgxvar.c (ft_var_get_item_delta): Optimized.Alexei Podtelezhnikov2018-10-312-24/+24
|
* [base] Fix numeric overflow.Werner Lemberg2018-10-292-1/+12
| | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11080 * src/base/ftoutln.c (FT_Outline_Get_Orientation): Use `MUL_LONG'.
* [cff] Fix numeric overflow.Werner Lemberg2018-10-292-1/+12
| | | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10988 * src/cff/cffparse.c (cff_parser_run) [CFF_CONFIG_OPTION_OLD_ENGINE]: Use `NEG_LONG'.