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
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
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
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
Werner Lemberg
bb3105e256
Cleanups.
22 years ago
Werner Lemberg
9ed254f6b9
Cleanups.
22 years ago
Werner Lemberg
2e57343f90
* src/pfr/pfrload.c (pfr_extra_item_load_font_id): Use FT_PtrDist
...
instead of FT_Uint for `len'.
Cleanups.
22 years ago
Werner Lemberg
004615e3d0
Cleanups.
22 years ago
Werner Lemberg
917a593780
* src/gzip/ftgzip.c (zcalloc) [!FT_CONFIG_OPTION_SYSTEM_ZLIB]:
...
Convert K&R format to modern C usage.
(FT_Stream_OpenGzip): Use long constant.
Cleanups.
22 years ago
Werner Lemberg
2acb963baf
Cleanups.
22 years ago
Werner Lemberg
9a8898810d
* src/cache/ftccache.c (ftc_cache_lookup): Remove shadow declaration
...
of `manager'.
22 years ago
Werner Lemberg
2d117ea531
Cleanups.
22 years ago
Werner Lemberg
7dc281c88d
Cleanups.
22 years ago
Werner Lemberg
c8c6bf5c63
Cleanups; adding some copyrights; formatting.
22 years ago
Werner Lemberg
3ae7cc997a
Cleanups.
22 years ago
Werner Lemberg
90e979e7be
Cleanups.
22 years ago
Werner Lemberg
2d1601930d
Cleanups.
22 years ago
Werner Lemberg
a854699b41
Small documentation improvements.
22 years ago
Werner Lemberg
a16c4a7129
* doc/INSTALL.UNX: Cleaned up.
...
Other minor fixes/beautifying/formatting.
22 years ago
David Turner
692bbe59da
* src/base/ftmac.c (open_face_from_buffer): removed a double-free bug that
...
had nasty consequences when trying to open an "invalid" font on a Mac.
22 years ago
David Turner
b6b6337539
* src/bdf/bdfdrivr.h, src/pcf/pcf.h: changed FT_Short to FT_UShort in
...
order to be able to access more than 32768 glyphs in fonts
22 years ago
David Turner
e0ec6b3d53
* src/type1/t1load.c (T1_Open_Face): fixed the code to make it handle
...
special cases where a font only contains a ".notdef" glyph (happens in
PDF-embedded fonts !!). Otherwise, FT_Panic was called !
22 years ago