summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * Version 2.6.4 released.VER-2-6-4Werner Lemberg2016-07-0525-215/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ========================= Tag sources with `VER-2-6-4'. * docs/VERSION.TXT: Update documentation and bump version number to 2.6.4. * 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/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.6.3/2.6.4/, s/263/264/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 4. * builds/unix/configure.raw (version_info): Set to 18:4:12. * CMakeLists.txt (VERSION_PATCH): Set to 4. * docs/CHANGES: Updated.
* * src/pfr/pfrsbit.c (pfr_lookup_bitmap_data): Fix compiler warning.Werner Lemberg2016-07-052-1/+5
|
* [smooth] Variable type revision (part 2).Alexei Podtelezhnikov2016-07-042-5/+22
| | | | | | | * src/smooth/ftgrays.c (TArea): Restore original definition as `int'. (gray_render_line) [FT_LONG64]: Updated. (gray_convert_glyph): 32-bit band bisection stack should be 32 bands. (gray_convert_glyph_inner): Trace successes and failures.
* [autofit] Handle single-point contours as segments.Werner Lemberg2016-07-042-5/+80
| | | | | | | | | | | | Doing so allows us to link them to edges – some fonts like `NotoSansGurmukhi-Regular' have such isolated points sitting exactly on other outlines. * src/autofit/aflatin.c (af_latin_hints_compute_segments): Don't ignore one-point contours but handle them specially as one-point segments. (af_latin_hints_compute_edges): Append one-point segments to edges if possible.
* [autofit] Remove unused structure members.Werner Lemberg2016-07-023-5/+9
| | | | | | | * src/autofit/afhints.h (AF_SegmentRec, AF_EdgeRec): Remove `num_linked'. * src/autofit/afcjk.c (af_cjk_hints_link_segments): Updated.
* [autofit] Update to Unicode 9.0.0.Werner Lemberg2016-07-022-0/+9
| | | | | * src/autofit/afranges.c (af_arab_nonbase_uniranges, af_cyrl_uniranges): Add new data.
* [smooth] Variable type revision (part 1).Alexei Podtelezhnikov2016-07-012-46/+60
| | | | | | | | | | This patch restores original `TCoord' definition as `int' so that the rendering pool is used more efficiently on LP64 platforms (unix). * src/smooth/ftgrays.c (gray_TWorker, TCell, gray_TBand): Switch some fields to `TCoord'. (gray_find_cell, gray_render_scanline, gray_render_line, gray_hline, gray_sweep, gray_convert_glyph): Updated.
* [smooth] Minor clean-ups.Alexei Podtelezhnikov2016-06-282-10/+13
| | | | | * src/smooth/ftgrays.c (gray_TWorker): Remove redundant `ycount'. (gray_sweep, gray_convert_glyph, gray_dump_cells): Updated.
* [smooth] Minor clean-ups.Alexei Podtelezhnikov2016-06-282-12/+18
| | | | | | | * src/smooth/ftgrays.c (gray_convert_glyph): Do not use volatile qualifier. (gray_raster_render): Move span initializations from here. (gray_sweep): ... to here and remove unused `target' argument.
* [pcf] Fix handling of very large fonts (#47708).Alexei Podtelezhnikov2016-06-262-6/+18
| | | | | | * src/pcf/pcfread.c (pcf_get_encodings): Make `encodingOffset' an unsigned short. Only reject `0xFFFF' as an invalid encoding offset.
* [truetype] Really fix deallocation in case of error (#47726).Werner Lemberg2016-06-252-0/+8
| | | | | * src/truetype/ttgload.c (load_truetype_glyph): Thinko; initialize `outline.points' also.
* More info on `FT_Err_Glyph_Too_Big'.Werner Lemberg2016-06-251-0/+4
|
* [smooth] Consolidate memory management.Alexei Podtelezhnikov2016-06-232-37/+15
| | | | | | | * src/smooth/ftgrays.c (gray_init_cells): Remove function. (gray_TWorker): Remove fields that become local variables. (gray_raster_render): Move rendering buffer declaration from here. (gray_convert_glyph): ... to here and update accordingly.
* [smooth] Consolidate boundary checks.Alexei Podtelezhnikov2016-06-222-55/+46
| | | | | | | | | | Removing the checks from `gray_hline' shaves 1% off rendering speed. * src/smooth/ftgrays.c [STANDALONE_]: Duplicate `FT_MIN' and `FT_MAX'. (gray_TWorker): No need to store `clip_box'. (gray_hline): Remove unnecessary boundary checks. (gray_convert_glyph): Move boundary checks from here. (gray_raster_render): ... to here and consolidate.
* [smooth] Use `FT_Outline_Get_CBox'.Alexei Podtelezhnikov2016-06-222-33/+78
| | | | | | * src/smooth/ftgrays.c [STANDALONE_]: Duplicate `FT_Outline_Get_CBox'. (gray_compute_cbox): Remove this function. (gray_convert_glyph): Update to use `FT_Outline_Get_CBox'.
* Typos.Alexei Podtelezhnikov2016-06-213-6/+6
|
* [smooth] Remove compiler warnings.Werner Lemberg2016-06-212-6/+12
| | | | * src/smooth/ftgrays.c (gray_convert_glyph): Fix reports from clang.
* Typos.Alexei Podtelezhnikov2016-06-204-6/+6
|
* Typos.Alexei Podtelezhnikov2016-06-206-9/+9
|
* [smooth] Sanitize memory managenent.Alexei Podtelezhnikov2016-06-202-21/+19
| | | | * src/smooth/ftgrays.c (gray_convert_glyph): Cleaned up.
* [smooth] Remove `band_shoot' that never worked.Alexei Podtelezhnikov2016-06-182-9/+7
| | | | | * src/smooth/ftgrays.c (gray_TWorker): Remove `band_shoot'. (gray_convert_glyph): Updated.
* Fresh typos.Alexei Podtelezhnikov2016-06-182-2/+2
|
* [raster, smooth] Handle FT_RENDER_POOL_SIZE better.Alexei Podtelezhnikov2016-06-173-14/+30
| | | | | | | * src/raster/ftraster.c (FT_MAX_BLACK_POOL): New macro. (ft_black_render): Updated. * src/smooth/ftgrays.c (FT_MAX_GRAY_POOL): New macro. (gray_raster_render): Updated.
* Encoding tweaks.Alexei Podtelezhnikov2016-06-166-6/+3
|
* * src/base/md5.c: Updated to recent version.Werner Lemberg2016-06-162-31/+30
|
* Move function.Alexei Podtelezhnikov2016-06-141-44/+44
|
* * src/smooth/ftgrays.c (gray_hline): Optimize if-condition.Alexei Podtelezhnikov2016-06-142-5/+9
|
* [autofit] Add support for Cherokee script.Werner Lemberg2016-06-137-112/+192
| | | | | | | | | | | | * src/autofit/afblue.dat: Add blue zone data for Cherokee. * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated. * src/autofit/afscript.h: Add Cherokee standard characters. * src/autofit/afranges.c: Add Cherokee data. * src/autofit/afstyles.h: Add Cherokee data.
* [cmake] Avoid modifying `ftconfig.h' and `ftoption.h' files.David Capello2016-06-092-3/+18
| | | | | | | * CMakeLists.txt: Each time cmake is run those files are modified and the whole FreeType library is recompiled. With this change we change the files only if there are real modifications, so we can avoid recompilations.
* [bdf] Check number of properties (#48166).Werner Lemberg2016-06-092-1/+17
| | | | * src/bdf/bdflib.c (_bdf_parse_start): Implement.
* [smooth] Re-enable new line renderer on 64-bit archs.Alexei Podtelezhnikov2016-06-082-1/+8
| | | | | * src/smooth/ftgrays (gray_render_line): Conditionally re-enable new implementation, where it is safe from overflows.
* [smooth] Minor clean-ups.Alexei Podtelezhnikov2016-06-082-45/+47
| | | | | * src/smooth/ftgrays.c (gray_dump_cells): Move out of the way. (gray_render_span): Remove spurious casts and streamline.
* [autofit] Add support for Ethiopic script.Werner Lemberg2016-06-077-99/+162
| | | | | | | | | | | | * src/autofit/afblue.dat: Add blue zone data for Ethiopic. * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated. * src/autofit/afscript.h: Add Ethiopic standard characters. * src/autofit/afranges.c: Add Ethiopic data. * src/autofit/afstyles.h: Add Ethiopic data.
* [autofit] Fix compilation with VS2016 (#48126).Werner Lemberg2016-06-072-2/+11
| | | | | | | This compiler doesn't recognize the end-of-comment sequence `*/' if it immediately follows non-ASCII characters. * src/autofit/afscript.h: Ensure whitespace before `*/'.
* ChangeLog fixes.Alexei Podtelezhnikov2016-06-047-38/+38
|
* Comment.Werner Lemberg2016-06-041-2/+5
|
* [truetype] Fix missed test for named instances (#48122).Werner Lemberg2016-06-042-3/+9
| | | | * src/truetype/ftobjs.c (Mac_Read_sfnt_Resource): Implement.
* [truetype] Let SHPIX move points in the twilight zone in v40.Nikolaus Waxweiler2016-05-312-5/+25
| | | | | | | | * src/truetype/ttinterp.c (Ins_SHPIX): Allow SHPIX to move points in the twilight zone. Otherwise, treat SHPIX the same as DELTAP. Unbreaks various fonts such as older versions of Rokkitt and DTL Argo T Light that would glitch severly after calling ALIGNRP after a blocked SHPIX.
* [type42] Support `CharStrings' entry format as created by LilyPond.Werner Lemberg2016-05-302-4/+24
| | | | | | | * src/type42/t42parse.c (t42_parse_charstrings): Handle entries having the format (foo) cvn 12345 def
* * src/autofit/afranges.c: Remove `UL' postfix from hex numbers.Werner Lemberg2016-05-282-326/+335
| | | | | | | Suggested by Alexei. `UL' is only needed for 16bit compilers, but it seems noone is using this anymore (and we no longer test whether FreeType compiles in such an environment). Otherwise, it is easy to add the postfix to the `AF_UNICODE_RANGE' macro.
* [smooth] Shrink bisection stack.Alexei Podtelezhnikov2016-05-262-62/+80
| | | | | | | | | | | | | | | The convergence of Bézier flatteners is fast with the deviation from straight line being assymptotically cut 4-fold on each bisection. This justifies smaller bisection stack size. * src/smooth/ftgrays.c (gray_TWorker): Remove common `bez_stack'. (gray_render_conic): Create and use conic `bez_stack'. Move back the band analysis from... (gray_conic_to): ... here. (gray_render_cubic): Create and use cubic `bez_stack'. Move back the band analysis from... (gray_cubic_to): ... here. (gray_move_to): Updated.
* [autofit] Fixes for Armenian and Gujarati ranges.Werner Lemberg2016-05-252-3/+9
| | | | | * src/autofit/afranges.c (af_armn_uniranges): Corrected. (af_guru_nonbase_uniranges): Make U+0A3E a base character.
* [autofit] Ordering, whitespace.Werner Lemberg2016-05-243-48/+48
|
* [autofit] Add support for Armenian script.Werner Lemberg2016-05-247-112/+204
| | | | | | | | | | | | * src/autofit/afblue.dat: Add blue zone data for Armenian. * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated. * src/autofit/afscript.h: Add Armenian standard characters. * src/autofit/afranges.c: Add Armenian data. * src/autofit/afstyles.h: Add Armenian data.
* * builds/unix/unix-cc.in (LINK_LIBRARY): Use `-export-symbols'.Werner Lemberg2016-05-232-1/+13
| | | | | | | | | | This was commented about 10 years ago – I think the reason then to disable libtool's `-export-symbols' option was to give some badly programmed applications access to internal FreeType functions. I believe that we should no longer take care of such programs; the number of symbols exported should be rather restricted as much as possible.
* [autofit] Add blue-zone support for Gurmukhi script.Werner Lemberg2016-05-227-93/+164
| | | | | | | | | | | | | | | | | | This essentially moves the Gurmukhi script from the `Indic' hinter to the `Latin' hinter. * src/autofit/afblue.dat: Add blue zone data for Gurmukhi. * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated. * src/autofit/afscript.h: Add Gurmukhi standard characters and move data out of AF_CONFIG_OPTION_INDIC block. * src/autofit/afranges.c: Move Gurmukhi data out of AF_CONFIG_OPTION_INDIC block. * src/autofit/afstyles.h: Update Gurmukhi data; in particular, use AF_WRITING_SYSTEM_LATIN.
* Minor clang++ fixes.Werner Lemberg2016-05-215-7/+18
| | | | | | | | | * src/base/ftobjs.c (FT_Add_Module), src/psaux/psobjs.c (ps_parser_load_field), src/type1/t1load.c (parse_subrs): Add initializer. * src/cache/ftccache.h (FTC_CACHE_TRYLOOP_END): Avoid implicit conversion from NULL to boolean.
* Work around a bug of the C 8.0.0.1 compiler on AIX 5.3 (#47955).Werner Lemberg2016-05-212-1/+10
| | | | | * include/freetype/internal/ftmemory.h (cplusplus_typeof): Use braces for `extern "C++"'.
* Parentheses.Alexei Podtelezhnikov2016-05-203-8/+8
|
* [truetype] Make TT_LOADER_SET_PP support subpixel hinting [3/3].Nikolaus Waxweiler2016-05-182-44/+50
| | | | | | * src/truetype/ttgload.c (TT_LOADER_SET_PP): Replace macro with... (tt_loader_set_pp): ... this new function. Update all callers.