Werner Lemberg
a2a1a66dce
* src/base/ftmac.c (FT_New_Face_From_SFNT): s/rlen/sfnt_size/ to
...
22 years ago
Werner Lemberg
63ce99a09a
* include/freetype/ftstroker.h: Renamed to...
...
22 years ago
Werner Lemberg
1f6cbfd6bb
* src/base/ftmac.c (file_spec_from_path) [TARGET_API_MAC_CARBON]:
...
22 years ago
Werner Lemberg
31d783b1d0
* include/freetype/internal/psaux.h (T1_FieldType): Add
...
22 years ago
Werner Lemberg
3c63bf28eb
* include/freetype/internal/ftdriver.h,
...
22 years ago
Werner Lemberg
0dbd265838
* include/freetype/config/ftoption.h: Defining
...
22 years ago
Werner Lemberg
124d333441
* src/truetype/ttgload.c (load_truetype_glyph)
...
22 years ago
Werner Lemberg
1c52479642
* src/truetype/ttinterp.c (Free_Project, CUR_Func_freeProj):
...
22 years ago
Werner Lemberg
375da610c4
* src/autohint/ahhint.c (ah_hinter_hint_edges): Removed. Just a
...
22 years ago
Werner Lemberg
7df5ed770f
* src/cff/cffobjs.c (cff_face_init): Use symbolic names for
...
22 years ago
Werner Lemberg
34700b54ba
* src/winfonts/winfnt.c (FNT_Load_Glyph): Revert change from
...
22 years ago
Werner Lemberg
802be20783
* include/freetype/fttrigon.h (FT_Vector_Normalize): Removed.
...
22 years ago
Werner Lemberg
e7d4fea866
Avoid overwriting of numeric font dictionary entries for synthetic
...
22 years ago
Werner Lemberg
9484a94d7d
* src/pshinter/pshalgo1.[ch], src/pshinter/pshalgo2.[ch]: Removed.
...
22 years ago
Werner Lemberg
134fecabc7
* vms_make.com: Reworked support for shareable images on VMS. The
...
22 years ago
Werner Lemberg
de1b6e1452
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Activate code for
...
22 years ago
Werner Lemberg
71d5b74f85
* src/pshinter/pshalgo3.c (psh3_glyph_compute_extrema): Skip
...
22 years ago
Werner Lemberg
834dd30508
* src/gzip/ftgzip.c (ft_gzip_fil_io): Revert change from yesterday;
...
22 years ago
Werner Lemberg
22d661dd95
* include/freetype/config/ftstdlib.h (ft_strcat): New wrapper macro
...
22 years ago
Werner Lemberg
1766aa47c3
* t1load.c (parse_blend_axis_types): Fix compiler warning.
...
22 years ago
Werner Lemberg
5a95127a5c
* src/pshinter/pshalgo3.c (ps3_hints_apply): Try to optimize
...
22 years ago
Werner Lemberg
ca4ed22d21
* src/autohint/ahhint.c (ah_hinter_load_glyph): Oops! David's
...
22 years ago
Werner Lemberg
94ed132e5a
* src/autohint/ahhint.c (ah_hinter_load_glyph): Don't scale
...
22 years ago
Werner Lemberg
c38306a7f7
Add comment to #ifdef section in #ifndef.
22 years ago
Werner Lemberg
0e6bdd9606
* src/sfnt/ttcmap0.c (tt_cmap4_char_next): Select proper start
...
22 years ago
Werner Lemberg
9e47f21909
* src/raster/ftraster.c (Insert_Y_Turn): Fix overflow test.
...
22 years ago
Werner Lemberg
6d2bb49e1e
* src/base/fttrigon.c (FT_Vector_Rotate): Avoid rounding errors
...
22 years ago
Werner Lemberg
de465e40c3
* src/base/ftmac.c (FT_New_Face_From_SFNT): Handle CFF files also.
...
22 years ago
Werner Lemberg
8a32f50abd
* 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
a8e38093c9
* 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
70b09d4b58
* 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
c3122677c9
* 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
1d40ea2e65
Minor improvements.
22 years ago
Werner Lemberg
2728e4452d
* src/bdf/bdfdrivr.c (BDF_Set_Pixel_Size): Initialize `max_advance'.
22 years ago
Werner Lemberg
08ba57b25c
* src/autohint/ahglyph.c (ah_test_extrema): Renamed to...
...
(ah_test_extremum): This.
22 years ago
Werner Lemberg
fada2c9ead
Minor cleanups.
22 years ago
Werner Lemberg
a9903f8a16
* 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
d8425fb3ae
* src/base/ftobjs.c (FT_Load_Glyph): Fix boundary check for
...
`glyph_index'.
22 years ago
Graham Asher
e7d0c9bae3
Added comment for checkin of unpatented hinting system.
22 years ago
Graham Asher
4850f66c4b
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
d643b7d5af
If unpatented hinting is compiled the TrueType face object acquires a
...
new element, "FT_Bool unpatented_hinting".
22 years ago
Graham Asher
7ea970ba5b
Added configuration macros (not defined, but in comments) for the
...
unpatented hinting system.
22 years ago
Graham Asher
db287c9764
Added macro FT_UNPATENTED_H to use when including new header
...
ttunpat.h.
22 years ago
Graham Asher
8ffb4a164d
Added header file ttunpat.h defining
...
FT_PARAM_TAG_UNPATENTED_HINTING.
22 years ago
Werner Lemberg
ead81ae2d4
* 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
748c8b30af
* 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
9e7f643ae3
* builds/unix/unix-cc.in (CFLAGS): Add @CPPFLAGS@.
22 years ago
Werner Lemberg
fdb514c6ca
* 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
c23ce7dbcf
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
15dd049a40
* 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