summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [tfm] Fixes.parthw-pk-vfParth Wazurkar2018-12-203-182/+137
|
* [tfm] Fixes.Parth Wazurkar2018-12-202-1/+2
| | | | | Conflicts: include/freetype/internal/tfm.h
* [tfm] Fixes.Parth Wazurkar2018-12-206-52/+79
|
* [tfm] Define the `tfm_interface' functions.Parth Wazurkar2018-12-203-0/+470
| | | | * src/tfm/tfmobjs.c: Do it.
* [tfm] Initialise makefiles.Parth Wazurkar2018-12-203-0/+124
|
* [tfm] Define `tfm_module_class' and `tfm_interface'.Parth Wazurkar2018-12-204-0/+134
| | | | * src/tfm/tfmmod.c: Do it.
* [tfm] Add new `tfm' auxiliary module.Parth Wazurkar2018-12-202-0/+140
| | | | | | | | * include/freetype/internal/tfm.h: - Add TFM_FontInfoRec to accomodate TFM metric data. - Define TFM_ParserRec to parse the metric data from input `tfm' file. - Define TFM_ServiceRec to provide functions to do it.
* [vf] Register `vf' services.Parth Wazurkar2018-12-192-0/+2
|
* [vf] Add `vf_driver_class' functions.Parth Wazurkar2018-12-191-6/+245
| | | | Note: Does not compile.
* [vf] Add DVI interpreter functions.Parth Wazurkar2018-12-182-0/+324
|
* [vf] Add `vf' utility and `dvi' stack functions.Parth Wazurkar2018-12-072-2/+220
| | | | | * src/vf/vflib.c: Add `vf_dv_stack' utility functions and `vf_read_info' function.
* [vf] Minor.Parth Wazurkar2018-12-062-47/+47
|
* [vf] Modify makefiles.Parth Wazurkar2018-12-062-28/+28
|
* [vf] Add utility functions.Parth Wazurkar2018-12-061-1/+115
| | | | * src/vf/vflib.c: Do it.
* [vf] Define `vf_cmap_class' functions.Parth Wazurkar2018-08-051-6/+44
| | | | * src/vf/vfdrivr.c: Do it.
* [vf] Define VF_FaceRec and other format specific structures.Parth Wazurkar2018-07-251-1/+75
| | | | | | * src/vf/vfdrivr.h: Define VF_Bitmap, VF, and TFM and other structures to hold `vf' format specific values and define VF_FaceRec to accomodate them.
* [vf] Add vf format opcodes.Parth Wazurkar2018-07-251-1/+66
| | | | * src/vf/vf.h: Add opcodes used for vf driver.
* [pk] Minor Fixes.Parth Wazurkar2018-07-191-53/+53
|
* [pk] Add pk services.Parth Wazurkar2018-07-196-13/+86
|
* [pk] Improve error checking in font file.Parth Wazurkar2018-07-131-1/+21
| | | | | * src/pk/pklib.c (pk_load_font): Add check for `PK_ID' and `PK_PRE' command in the font file.
* [pk] Fixes.Parth Wazurkar2018-07-134-71/+87
|
* [pk] Define `pk_driver_class' functions.Parth Wazurkar2018-07-131-5/+256
| | | | | * src/pk/pkdrivr.c: Define all the `pk_driver_class' functions.
* [pk] Define `pk_cmap_class' functions.Parth Wazurkar2018-07-121-5/+43
|
* [pk] Define `pk' font loader functions.Parth Wazurkar2018-07-122-3/+511
| | | | | | | * src/pk/pk.h: Add `pk' format specific opcodes. * src/pk/pklib.c: Define `pk_font_load', `pk_free_font' and other format specific utility functions.
* [pk] Define PK_FaceRec and other format specific structures.Parth Wazurkar2018-07-121-2/+11
| | | | | | * src/pk/pkdrivr.h: Define PK_Bitmap and PK_Glyph structures to hold `pk' format specific values and define PK_FaceRec to accomodate them.
* [vf] Initialise vf driver files and Makefiles.Parth Wazurkar2018-07-109-1/+492
|
* [pk] Initialise pk driver files and Makefiles.Parth Wazurkar2018-07-108-0/+491
|
* [pk,vf] Initialise pk and vf driver repositories.Parth Wazurkar2018-07-102-0/+0
|
* Fix typo (#54238).Werner Lemberg2018-07-052-1/+11
| | | | | * src/base/ftcolor.c (FT_Palette_Set_Foreground_Color) [!TT_CONFIG_OPTION_COLOR_LAYERS]: Add return value.
* Adjust table size comparisons (#54242).Werner Lemberg2018-07-052-1/+13
| | | | * src/sfnt/ttcpal.c (tt_face_load_cpal): Implement it.
* Fix more 32bit issues (#54208)Werner Lemberg2018-07-053-5/+22
| | | | | | | | * src/cff/cffload.c (cff_blend_build_vector): Convert assertion into run-time error. * src/truetype/ttgxvar.c (ft_var_to_normalized): Protect against numeric overflow.
* Fix 32bit build warnings (#54239).Werner Lemberg2018-07-043-7/+16
| | | | | | | * src/base/ftbitmap.c (FT_Bitmap_Blend): Add casts to avoid signed vs. unsigned comparisons. * srb/sfnt/ttcolr.c (tt_face_get_colr_layer): Ditto.
* * src/psnames/psmodule.c (ps_unicodes_init): Fix alloc debugging.Jeff Carey2018-07-022-1/+7
|
* s/xxx specific foo/xxx-specific foo/.Werner Lemberg2018-07-027-34/+26
|
* s/palette_types/palette_flags/.Werner Lemberg2018-07-026-9/+15
| | | | Suggested by Behdad.
* Make `FT_Get_Color_Glyph_Layer' return FT_Bool.Werner Lemberg2018-07-026-42/+71
| | | | | | | | | * include/freetype/freetype.h, src/base/ftobjs.c (FT_Get_Color_Glyph_Layer, FT_Render_Glyph_Internal): Updated. * include/freetype/internal/sfnt.h (TT_Get_Colr_Layer_Func), src/sfnt/ttcolr.h, src/sfnt/ttcolr.c (tt_face_get_colr_layer): Updated.
* * src/base/ftobjs.c (FT_Get_Color_Glyph_Layer): Guard SFNT function.Werner Lemberg2018-07-012-4/+17
| | | | Reported by Behdad.
* * src/base/fttrigon.c (FT_Tan): Improve accuracy.Alexei Podtelezhnikov2018-06-282-12/+9
| | | | (FT_Vector_Rotate): Simplify.
* * src/base/ftobjs.c (FT_Set_Charmap): Robustify.Alexei Podtelezhnikov2018-06-282-4/+6
|
* [truetype] Fix memory leak.Werner Lemberg2018-06-252-18/+36
| | | | | | | | | * src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Add initializers. Fix typo in `goto' destination. Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9071
* * src/truetype/ttgxvar.c (tt_face_vary_cvt): Add initializers.Werner Lemberg2018-06-252-15/+31
| | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9070
* [truetype] Increase precision while applying VF deltas.Werner Lemberg2018-06-242-63/+140
| | | | | | | | | | | | | | | | | | | | It turned out that we incorrectly round CVT and glyph point deltas before accumulation, leading to severe positioning errors if there are many delta values to sum up. Problem reported by Akiem Helmling <akiem@underware.nl> and analyzed by Behdad. * src/truetype/ttgxvar.c (ft_var_readpackeddelta): Return deltas in 16.16 format. (tt_face_var_cvt): Collect deltas in `cvt_deltas', which is a 16.16 format array, and add the accumulated values to the CVT at the end of the function. (TT_Vary_Apply_Glyph_Deltas): Store data in `points_org' and `points_out' in 16.16 format. Collect deltas in `point_deltas_x' and `point_deltas_y', which are 16.16 format arrays, and add the accumulated values to the glyph coordinates at the end of the function.
* New base function `FT_Matrix_Check' (#54019).Werner Lemberg2018-06-247-17/+140
| | | | | | | | | | | | * src/base/ftcalc.c (FT_Matrix_Check): New base function to properly reject degenerate font matrices. * include/freetype/internal/ftcalc.h: Updated. * src/cff/cffparse.c (cff_parse_font_matrix), src/cid/cidload.c (cid_parse_font_matrix), src/type1/t1load.c (t1_parse_font_matrix), src/type42/t42parse.c (t42_parse_font_matrix): Use `FT_Matrix_Check'.
* Fix typo.Werner Lemberg2018-06-232-1/+10
| | | | | | | Reported by Behdad. * src/base/ftcolor.c (FT_Palette_Data_Get) [!TT_CONFIG_OPTION_COLOR_LAYERS]: s/apalette/apalette_data/.
* s/FT_PALETTE_USABLE_WITH_/FT_PALETTE_FOR_/.Werner Lemberg2018-06-214-11/+17
| | | | | * include/freetype/ftcolor.h, include/freetype/internal/sfnt.h, src/sfnt/ttcolr.c: Do it.
* [sfnt] Fix CPAL heap buffer overflow.Werner Lemberg2018-06-192-0/+14
| | | | | | | | | Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8968 * src/sfnt/ttcpal.c (tt_face_load_cpal): Guard CPAL version 1 offsets.
* Doh. Don't use CPAL or COLR data if tables are missing.Werner Lemberg2018-06-193-1/+16
| | | | | | | | | | Reported by Alexei. * src/sfnt/ttcolr.c (tt_face_get_colr_layer): Return immediately if `colr' is NULL. * src/sfnt/ttcpal.c (tt_face_palette_set): Return immediately, if `cpal' is NULL.
* Oops!Werner Lemberg2018-06-181-1/+1
|
* Some more minor doc fixes.Nikhil Ramakrishnan2018-06-181-3/+3
|
* More minor doc fixes.Werner Lemberg2018-06-185-12/+42
|