summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-04* src/base/ftcalc.c (FT_MulFix): Produce more efficient assembly.HEADmasterJames Cloos2-17/+7
Improve the version of FT_MulFix() which is used when a sixty-four bit interger type is available.
2011-04-04Fix formatting of autofit debug dumps.Werner Lemberg3-9/+17
* src/autofit/afhints.c (af_glyph_hints_dump_points, af_glyph_hints_dump_segments, af_glyph_hints_dump_edges): Adjust column widths.
2011-04-02Cosmetics.Werner Lemberg1-1/+1
2011-04-02Whitespace, typo.Werner Lemberg1-4/+4
2011-03-30* src/autofit/aftypes.h (AF_OutlineRec): Removed, unused.Werner Lemberg2-26/+5
2011-03-28Cosmetics.Werner Lemberg2-8/+8
2011-03-26Copyright.Werner Lemberg1-1/+1
2011-03-24* src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 256.Werner Lemberg2-4/+7
This limit is given on p. 37 of Adobe Tech Note #5014.
2011-03-23* src/truetype/ttpload.c(tt_face_load_loca): Fix mismatch warning.Werner Lemberg2-6/+11
2011-03-21Typo.Werner Lemberg1-1/+1
2011-03-20Ignore *.o and *.a files.Werner Lemberg1-0/+2
2011-03-20* src/sfnt/sfobjs.c (sfnt_open_font): Check number of TTC subfonts.Werner Lemberg2-3/+18
2011-03-19More C++ compilation fixes.Werner Lemberg2-0/+34
* src/autofit/afhints.c (af_glyph_hints_dump_points, af_glyph_hints_dump_segments, af_glyph_hints_dump_edges) [__cplusplus]: Protect with `extern "C"'.
2011-03-19C++ compilation fixes.Werner Lemberg3-4/+15
* src/autofit/aflatin.c (af_latin_hints_apply), src/autofit/afcjk.c (af_cjk_hints_apply): Use cast for `dim'.
2011-03-17A better fix for Savannah bug #32671.Alexei Podtelezhnikov2-10/+10
* src/smooth/ftgrays.c (gray_render_conic): Clean up code and replace WHILE loop with a more natural DO-WHILE construct.
2011-03-16* src/base/ftstroke.c (FT_StrokerRec): Remove unused `valid' field.Werner Lemberg2-2/+6
Suggested by Graham Asher.
2011-03-09Make FT_Sfnt_Table_Info return the number of SFNT tables.Werner Lemberg4-12/+32
* src/sfnt/sfdriver.c (sfnt_table_info): Implement it. * include/freetype/tttables.h: Update documentation. * docs/CHANGES: Updated.
2011-03-08Whitespace.Werner Lemberg1-1/+0
2011-03-07Fix Savannah bug #27988.Bram Tassyns2-1/+57
* src/cff/cffobjs.c (remove_style): New function. (cff_face_init): Use it to strip off the style part of the family name.
2011-03-07* docs/CHANGES: Updated.Werner Lemberg2-3/+29
2011-03-07Quick fix for Savannah bug #32671.Werner Lemberg2-1/+10
This isn't the optimal solution yet, but it restores the previous rendering quality (more or less). * src/smooth/ftgrays.c (gray_render_conic): Do more splitting.
2011-03-06Fix autohinting fallback.Werner Lemberg2-0/+10
* src/base/ftobjs.c (FT_Load_Glyph): Assure that we only check TTFs, ignoring CFF-based OTFs.
2011-03-06Whitespace.Werner Lemberg1-2/+2
2011-03-02Add AF_CONFIG_OPTION_USE_WARPER to control the autofit warper.Werner Lemberg12-28/+65
* devel/ftoption.h, include/freetype/config/ftoption.h (AF_CONFIG_OPTION_USE_WARPER): New macro. * src/autofit/aftypes.h (AF_USE_WARPER): Remove. * src/autofit/*: s/AF_USE_WARPER/AF_CONFIG_OPTION_USE_WARPER/. * src/autofit/afwarp.c [!AF_CONFIG_OPTION_USE_WARPER]: Replace dummy variable assignment with a typedef.
2011-02-26[autofit] More comments, formatting, whitespace.Werner Lemberg1-104/+171
2011-02-26[autofit] Slight simplifications.Werner Lemberg2-30/+34
* src/autofit/aflatin.c (af_latin_hints_link_segments): Remove test which always returns false. (af_latin_hints_compute_blue_edges): Remove redundant assignment.
2011-02-26[autofit] Some comments. Whitespace.Werner Lemberg3-25/+37
2011-02-24* docs/PROBLEMS: Mention rendering differences on differentWerner Lemberg2-1/+20
platforms. Suggested and worded by Jason Owen <jason.a.owen@gmail.com>.
2011-02-24[autofit] Comment out unused code.Werner Lemberg3-3/+18
* src/autofit/aflatin.c, src/autofit/aflatin2.c (af_latin_hints_compute_edges): Do it.
2011-02-24* src/autofit/afhints.h (AF_GlyphHints): Remove unused field.Werner Lemberg2-2/+4
2011-02-22[autofit] Add ASCII drawing for better explanation.Werner Lemberg1-1/+24
2011-02-20[cache] Fix an off-by-one bug in FTC_Manager_RemoveFaceID().suzuki toshiya2-1/+11
Found by <ychen1392001@yahoo.com.cn>, see detail in http://lists.gnu.org/archive/html/freetype/2011-01/msg00023.html * src/cache/ftccache.c (FTC_Cache_RemoveFaceID): Check the node buckets[cache->p + cache->mask] too.
2011-02-20[autofit] Document warper.Werner Lemberg2-4/+31
2011-02-19Fall back to autohinting if a TTF/OTF doesn't contain any bytecode.Kevin Kofler2-7/+18
This is Savannah patch #7471. * src/base/ftobjs.c (FT_Load_Glyph): Implement it.
2011-02-19[cff] Fix subset prefix removal.John Tytgat2-2/+9
* src/cff/cffobjs.c (remove_subset_prefix): Update length after subset prefix removal.
2011-02-16[autofit] Add a lot of comments and do some minor formatting.Werner Lemberg2-62/+215
2011-02-14Convert to CRLF.Werner Lemberg3-1019/+1019
2011-02-14Add inline assembly version of FT_MulFix for MSVC.Bradley Grainger2-0/+45
* include/freetype/config/ftconfig.h: Ported the FT_MulFix_i386 function from GNU inline assembly syntax (see #ifdef __GNUC__ block above) to MASM syntax for Microsoft Visual C++.
2011-02-14Add project and solution files in Visual Studio 2010 format.Bradley Grainger7-0/+1073
* builds/win32/.gitignore: Ignore user-specific cache files. * builds/win32/vc2010/: Add VS2010 project & solution files, created by upgrading builds/win32/vc2008/freetype.vcproj. * objs/.gitignore: Ignore Visual Studio output files.
2011-02-03* src/autofit/afdummy.c: Include `aferrors.h'.Werner Lemberg2-0/+6
Problem reported by Chris Liddel <chris.liddell@artifex.com>.
2011-02-01[cff] Ignore unknown operators in charstrings.Werner Lemberg2-5/+14
Patch suggested by Miles.Lau <sunliang_liu@foxitsoftware.com>. * src/cff/cffgload.c (cff_decoder_parse_charstrings): Emit tracing message for unknown operators and continue instead of exiting with a syntax error.
2011-02-01[truetype] FT_LOAD_PEDANTIC now affects `prep' and `fpgm' also.Werner Lemberg4-20/+46
* src/truetype/ttgload.c (tt_loader_init): Handle `FT_LOAD_PEDANTIC'. * src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep, tt_size_init_bytecode, tt_size_ready_bytecode): New argument to handle pedantic mode. * src/truetype/ttobjs.h: Updated.
2011-01-31[truetype] Protect jump instructions against endless loops.Werner Lemberg2-21/+34
* src/truetype/interp.c (DO_JROT, DO_JMPR, DO_JROF): Exit with error if offset is zero.
2011-01-31[truetype] Improve handling of invalid references.Werner Lemberg2-43/+60
* src/truetype/interp.c: Set even more TT_Err_Invalid_Reference error codes only if pedantic hinting is active. At the same time, try to provide sane values which hopefully allow useful continuation. Exception to this is CALL and LOOPCALL – due to possible stack corruption it is necessary to bail out.
2011-01-31[truetype] Improve handling of stack underflow.Werner Lemberg2-13/+44
* src/truetype/ttinterp.c (TT_RunIns, Ins_FLIPPT, Ins_DELTAP, Ins_DELTAC): Exit with error only if `pedantic_hinting' is set. Otherwise, try to do something sane.
2011-01-30Whitespace.Werner Lemberg1-2/+3
2011-01-30* src/sfnt/ttmtx.c (tt_face_load_hmtx): Fix tracing message.Werner Lemberg3-5/+8
2011-01-30[truetype]: Fix behaviour of MIAP for invalid arguments.LIU Sun-Liang2-1/+9
* src/truetype/ttinterp.c (Ins_MIAP): Set reference points even in case of error.
2011-01-23[autofit] Some formatting and clean-ups.Werner Lemberg5-61/+59
2011-01-18[truetype] Fix handling of MIRP instruction.Werner Lemberg2-1/+26
Thanks to Greg Hitchcock who explained the issue. * src/truetype/ttinterp.c (Ins_MIRP): Replace a `>=' operator with `>' since the description in the specification is incorrect. This fixes, for example, glyph `two' in font `Helvetica Neue LT Com 65 medium' at 15ppem.