Werner Lemberg
7386197677
* include/freetype/internal/ftdriver.h,
...
22 years ago
Werner Lemberg
3229b88005
* include/freetype/config/ftoption.h: Defining
...
22 years ago
Werner Lemberg
6ab5624330
* src/truetype/ttgload.c (load_truetype_glyph)
...
22 years ago
Werner Lemberg
9a8e321129
* src/truetype/ttinterp.c (Free_Project, CUR_Func_freeProj):
...
22 years ago
Werner Lemberg
8b88466061
* src/autohint/ahhint.c (ah_hinter_hint_edges): Removed. Just a
...
22 years ago
Werner Lemberg
f35ff80132
* src/cff/cffobjs.c (cff_face_init): Use symbolic names for
...
22 years ago
Werner Lemberg
e20ab691c3
* src/winfonts/winfnt.c (FNT_Load_Glyph): Revert change from
...
22 years ago
Werner Lemberg
64591b7657
* include/freetype/fttrigon.h (FT_Vector_Normalize): Removed.
...
22 years ago
Werner Lemberg
65ba724b66
Avoid overwriting of numeric font dictionary entries for synthetic
...
22 years ago
Werner Lemberg
0bdf608f3d
* src/pshinter/pshalgo1.[ch], src/pshinter/pshalgo2.[ch]: Removed.
...
22 years ago
Werner Lemberg
26fb1bcd05
* vms_make.com: Reworked support for shareable images on VMS. The
...
22 years ago
Werner Lemberg
75ad4b8365
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Activate code for
...
22 years ago
Werner Lemberg
4919dc7cf8
* src/pshinter/pshalgo3.c (psh3_glyph_compute_extrema): Skip
...
22 years ago
Werner Lemberg
f79a7ae0b0
* src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday;
...
22 years ago
Werner Lemberg
282637f6a5
* include/freetype/config/ftstdlib.h (ft_strcat): New wrapper macro
...
22 years ago
Werner Lemberg
77c34b8264
* t1load.c (parse_blend_axis_types): Fix compiler warning.
...
22 years ago
Werner Lemberg
6bd1c6d293
* src/pshinter/pshalgo3.c (ps3_hints_apply): Try to optimize
...
22 years ago
Werner Lemberg
98ceccab51
* src/autohint/ahhint.c (ah_hinter_load_glyph): Oops! David's
...
22 years ago
Werner Lemberg
11367bcce7
* src/autohint/ahhint.c (ah_hinter_load_glyph): Don't scale
...
22 years ago
Werner Lemberg
c98501b042
Add comment to #ifdef section in #ifndef.
22 years ago
Werner Lemberg
f379f43403
* src/sfnt/ttcmap0.c (tt_cmap4_char_next): Select proper start
...
22 years ago
Werner Lemberg
51daa4feb1
* src/raster/ftraster.c (Insert_Y_Turn): Fix overflow test.
...
22 years ago
Werner Lemberg
4f107450e2
* src/base/fttrigon.c (FT_Vector_Rotate): Avoid rounding errors
...
22 years ago
Werner Lemberg
c70818a862
* src/base/ftmac.c (FT_New_Face_From_SFNT): Handle CFF files also.
...
22 years ago
Werner Lemberg
6eb116ef8a
* builds/unix/aclocal.m4: Comment out definition of
...
`allow_undefined_flag' for Darwin 1.3.
* builds/unix/configure.ac: Add option --with-old-mac-fonts.
* builds/unix/ltmain.sh: Fix version numbering for Darwin 1.3.
* builds/unix/configure: Regenerated.
* include/freetype/config/ftconfig.h: Fix conditions for defining
`FT_MACINTOSH'.
* src/base/ftbase.c: Include `ftmac.c' conditionally.
* src/base/ftmac.c: Handle __GNUC__.
22 years ago
Werner Lemberg
1f8f46758e
* src/cid/cidload.c (is_alpha): Removed.
...
(cid_parse_dict): Use `cid_parser_skip_alpha' instead of `is_alpha'.
* src/autohint/ahoptim.c, src/autohint/ahoptim.h: Obsolete, removed.
22 years ago
Werner Lemberg
bf40e92dea
* src/autohint/ahglyph.c (ah_setup_uv): Exchange `for' loop and
...
`switch' statement to make it run faster.
(ah_outline_compute_segments): Reset `segment->score' and
`segment->link'.
(ah_outline_link_segments): Provide alternative code which does
the same but runs much faster.
Handle major direction also.
(ah_outline_compute_edges): Scale `edge_distance_threshold' down
after rounding instead of scaling comparison value in loop.
* src/autohint/ahhint.c (ah_hinter_align_stong_points): Provide
alternative code which runs faster.
Handle `before->scale == 0'.
* src/autohint/ahtypes.h (AH_SegmentRec): Move some fields down.
(AH_EdgeRec): Move some fields in structure.
New field `scale'.
* src/sfnt/ttcmap0.c (tt_cmap4_char_next): Use binary search.
22 years ago
Werner Lemberg
110fc56bea
* src/autohint/ahoptim.c (LOG): Renamed to...
...
(AH_OPTIM_LOG): This.
(AH_Dump_Springs): Fix log message format.
* src/autohint/ahhint.c (ah_hint_edges_3): Renamed to...
(ah_hint_edges): This.
22 years ago
Werner Lemberg
c6f1c10222
Minor improvements.
22 years ago
Werner Lemberg
0fdb9cc5e2
* src/bdf/bdfdrivr.c (BDF_Set_Pixel_Size): Initialize `max_advance'.
22 years ago
Werner Lemberg
a547a532a1
* src/autohint/ahglyph.c (ah_test_extrema): Renamed to...
...
(ah_test_extremum): This.
22 years ago
Werner Lemberg
a3f4da8e99
Minor cleanups.
22 years ago
Werner Lemberg
3a317c69d6
* builds/unix/configure.ac: Generate `freetype.pc' from
...
`freetype.in'.
* builds/unix/configure: Regenerated.
* builds/unix/install.mk (install, uninstall): Handle `freetype.pc'.
* builds/unix/freetype2.in: New file. Contains building information
for the `pkg-config' package.
22 years ago
Werner Lemberg
2cba64d30d
* src/base/ftobjs.c (FT_Load_Glyph): Fix boundary check for
...
`glyph_index'.
22 years ago
Graham Asher
9f36499fa7
Added comment for checkin of unpatented hinting system.
22 years ago
Graham Asher
3ea859f6e9
Added the unpatented hinting system, which is compiled only if
...
TT_CONFIG_OPTION_COMPILE_UNPATENTED_HINTING is defined
in ftoption.h
22 years ago
Graham Asher
0798f0c3ec
If unpatented hinting is compiled the TrueType face object acquires a
...
new element, "FT_Bool unpatented_hinting".
22 years ago
Graham Asher
33671d74a2
Added configuration macros (not defined, but in comments) for the
...
unpatented hinting system.
22 years ago
Graham Asher
e32c22371d
Added macro FT_UNPATENTED_H to use when including new header
...
ttunpat.h.
22 years ago
Graham Asher
697885b58c
Added header file ttunpat.h defining
...
FT_PARAM_TAG_UNPATENTED_HINTING.
22 years ago
Werner Lemberg
428c2e4f62
* src/bdf/bdflib.c (hash_bucket, hash_lookup): Use `const' for first
...
argument.
(bdf_get_font_property): Use `const' for third argument.
Updated all callers.
* src/bdf/bdfdrivr.c (BDF_Face_Init): Set pixel width and height
similar to the PCF driver.
* src/bdf/bdf.h (_hashnode): Use `const' for `key'.
Updated.
* src/gzip/ftgzip.c: C++ doesn't like that the array `inflate_mask'
is declared twice. It is perhaps better to modify the zlip source
files directly instead of this hack.
(zcalloc, zfree, ft_gzip_stream_close, ft_gzip_stream_io): Add casts
to make build with g++ successful.
22 years ago
David Turner
2dd1e657ba
* src/pcf/pcfread.c (pcf_load_font): fixed the computation of
...
face->num_glyphs, this required increase the value by 1 to respect
the convention that gindex 0 always corresponds to the "missing
glyph".
22 years ago
Werner Lemberg
3704aa4525
* builds/unix/unix-cc.in (CFLAGS): Add @CPPFLAGS@.
22 years ago
Werner Lemberg
60f52ce6d6
* builds/unix/freetype-config.in (cflags): Emit FreeType 2's include
...
files first. Otherwise there are conflicts with FreeType 1
installed simultaneously.
22 years ago
Werner Lemberg
319c00d7d6
Fixing bugs reported by Nelson Beebe.
...
* src/base/ftstroker.c (FT_Stroker_ParseOutline): Remove unused
variable `in_path'.
* src/base/ftobjs (ft_glyphslot_set_bitmap): Change type of
second argument to `FT_Byte*'.
* include/freetype/internal/ftobjs.h: Updated.
* src/bdf/bdflib.c (_bdf_readstream): Remove unused variable `res'.
(_bdf_parse_glyphs): Remove unused variable `next'.
Mark `call_data' as unused.
* src/cache/ftlru.c (FT_LruList_Lookup): Remove unused variable
`plast'.
* src/pcf/pcfread.c (pcf_seek_to_table_type): Slight recoding to
actually use `error'.
(pcf_load_font): Remove unused variable `avgw'.
* src/pfr/pfrobjs.c (pfr_face_get_kerning): Change return type
to `void'.
Mark `error' as unused.
* src/pfr/pfrobjs.h: Updated.
* src/pfr/pfrdrivr.c (pfr_get_kerning): Updated.
* src/sfnt/ttload.c (sfnt_dir_check): Remove unused variable
`format_tag'.
* src/sfnt/ttcmap0.c (tt_cmap6_validate, tt_cmap10_validate): Remove
unused variable `start'.
(tt_cmap10_char_next): Remove unused variable `result'
* src/sfnt/sfobjs.c (tt_face_get_name): Mark `error' as unused.
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Mark `error' as
unused.
* src/type1/t1objs.c (T1_Face_Init): Remove unused variable
`pshinter'.
* src/type1/t1gload.c (T1_Load_Glyph): Use `glyph_data_loaded'
only for FT_CONFIG_OPTION_INCREMENTAL.
22 years ago
Werner Lemberg
13c4a4f171
* src/sfnt/ttcmap0.c (tt_cmap4_validate): Provide a weak variant
...
of the glyph ID bounding check if FT_VALIDATE_TIGHT is not active.
Without this change, many CJK fonts from Dynalab are rejected.
22 years ago
Werner Lemberg
8b61525b9a
* src/base/ftbdf.c (FT_Get_BDF_Property): Check for valid
...
`get_interface'.
22 years ago
Werner Lemberg
fcc5c9115f
* src/base/ftmac.c (parse_fond): Fix handling of style names.
22 years ago
Werner Lemberg
b442ca1713
Cleanups.
22 years ago
Werner Lemberg
5e6b9edc89
Cleanups.
22 years ago