David Turner
a61857a8e7
* src/base/ftbitmap.c (FT_Bitmap_Convert): small improvements to the
...
conversion function (mainly stupid optimization, because I like
these... shame on me)
* src/base/Jamfile: adding ftbitmap.c to the list of compiled files
2005-02-10 16:11:29 +00:00
David Turner
adc7dd6ace
forgot to update ChangeLog before previous comment
...
I suppose I'm rusty :-)
2005-02-10 15:36:21 +00:00
David Turner
edccc43477
Fixing bug #11921
2005-02-10 15:06:00 +00:00
Werner Lemberg
a50ded0262
*** empty log message ***
2005-02-10 08:24:10 +00:00
Werner Lemberg
66a8c4838a
* builds/unix/freetype-config.in: Add new flag `--ftversion' to
...
return the FreeType version. Suggested by George Williams
<gww@silcom.com>.
* docs/CHANGES: Updated.
* src/otvalid/otvmod.c (otv_validate): Deallocate arrays in case
of error. Reported by YAMANO-UCHI Hidetoshi <mer@din.or.jp>.
* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
<op_closepath>: Accept `T1_Parse_Have_Moveto' state also which can
happen in empty glyphs. Reported by Ian Brown
<ian.brown@printsoft.de>.
2005-02-10 08:18:27 +00:00
Werner Lemberg
413fcbc526
* src/otlayout/*: Removed. Obsolete.
2005-02-04 00:02:31 +00:00
Werner Lemberg
1024cca1eb
* builds/unix/ftsystem.c (FT_Stream_Open): Add proper cast for
...
ft_alloc.
Fix compiler warning.
2004-12-28 23:08:51 +00:00
Werner Lemberg
75073f458a
* builds/unix/ltmain.sh: Regenerated with `libtoolize --force
...
--copy' from libtool 1.5.10.
* builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from
automake 1.9.4.
* builds/unix/configure: Regenerated with autoconf 2.59b.
* builds/unix/config.guess, builds/unix/config.sub: Updated from
`config' CVS module at subversions.gnu.org.
* builds/unix/install-sh: Updated from
`texinfo' CVS module at subversions.gnu.org.
2004-12-28 15:06:58 +00:00
Werner Lemberg
8bb7e16657
* src/cff/cffobjs.c (cff_face_init): Improve computation of
...
FT_STYLE_BOLD_FLAG.
2004-12-28 08:00:09 +00:00
Werner Lemberg
162b1b18c6
* src/cff/cffobjs.c (cff_face_init): A CFF within an SFNT can have
...
only a single font. This is undocumented but has been verified on
the opentype list.
2004-12-28 07:49:15 +00:00
Werner Lemberg
0f01bd7d2e
* Jamfile (FT2_COMPONENTS): Add `otvalid'.
2004-12-28 07:36:28 +00:00
Werner Lemberg
431006e9ff
* src/base/ftbitmap.c (FT_Bitmap_Convert): Fix compiler warning.
2004-12-28 07:31:35 +00:00
Werner Lemberg
f9f813aac1
* vms_make.com: Add ftbitmap.obj.
2004-12-15 06:37:03 +00:00
Werner Lemberg
c2abe931f4
Small additions to fix reference creation.
2004-12-14 22:32:34 +00:00
Werner Lemberg
e97c3bdc29
* src/base/ftbitmap.c, include/freetype/ftbitmap.h: New files for
...
handling various bitmap formats.
* include/freetype/config/ftheader.h (FT_BITMAP_H): New macro.
* src/base/rules.mk (BASE_EXT_SRC): Add ftbitmap.c.
* src/bdf/bdfdrivr.c (BDF_Glyph_Load): Don't convert bitmaps to 8bpp
but return them as-is.
* docs/CHANGES: Mention new bitmap API.
* include/freetype/ftchapter.s: Updated.
2004-12-14 16:01:29 +00:00
Werner Lemberg
0418a1c4c5
Documentation updates, whitespace.
2004-12-13 23:16:59 +00:00
Werner Lemberg
ed391f4515
Whitespace, sorting.
2004-12-13 11:40:36 +00:00
Werner Lemberg
7f7483ab82
* src/base/ftobjs.c (FT_Get_Kerning): Make kerning amount
...
dependent on ppem by scaling down for ppem < 25, then do normal
rounding. This gives slightly better results than rounding towards
zero.
2004-12-12 06:55:40 +00:00
Werner Lemberg
c93002478f
* src/base/ftobjs.c (FT_Get_Kerning): Always round towards zero
...
for FT_KERNING_DEFAULT. This greatly enhances the kerning for
small ppem values.
2004-12-09 22:57:18 +00:00
Werner Lemberg
da91efac9d
* src/base/ftobjs.c (ft_glyphslot_clear): Reset `lsb_delta' and
...
`rsb_delta'.
2004-12-09 22:22:52 +00:00
Werner Lemberg
2f3e2303ab
* builds/unix/install.mk (install): Use $(OBJ_BUILD) for ftconfig.h.
2004-12-06 08:42:41 +00:00
Werner Lemberg
91787f4fe3
*** empty log message ***
2004-12-04 14:23:50 +00:00
Antoine Leca
d103a3834a
* include/freetype/ttnameid.h: Updated to latest specifications from Microsoft.
2004-12-03 14:58:40 +00:00
Werner Lemberg
8199900f5b
Minor update.
2004-11-30 21:36:18 +00:00
Werner Lemberg
44738ae5c0
* vms_make.com: Include ftbbox.c.
...
Fix `ccopt'.
Handle `otvalid' module.
Update `vmslib.dat' default values.
Fixes to `libs.opt'.
2004-11-27 08:18:10 +00:00
Werner Lemberg
6f3ef21d58
* src/base/ftoutln.c (FT_OrientationExtremumRec,
...
ft_orientation_extremum_compute): Removed.
(FT_Outline_Get_Orientation): Rewritten, simplified.
* src/autohint/ahglyph.c: Include FT_OUTLINE_H.
(ah_test_extremum, ah_get_orientation): Removed.
(ah_outline_load): Use FT_Outline_Get_Orientation.
* src/base/ftsynth.c (ft_test_extrama, ft_get_orientation): Removed.
(FT_GlyphSlot_Embolden): Use FT_Outline_Get_Orientation.
2004-11-24 07:08:21 +00:00
Werner Lemberg
8d9dc82267
* src/truetype/ttinterp.h: Fix typo.
2004-11-23 22:10:21 +00:00
Werner Lemberg
7c1fe2ae64
Minor fixes.
2004-11-23 21:38:16 +00:00
Antoine Leca
6b5b7d0b7c
* builds/win32/detect.mk: Corrected logic that detects
...
Windows NT to use the previous change even when win32 is
forced. Corrected detection of win32 on Win9X.
* builds/dos/detect.mk: Added same correction as for win32
about COPY on Windows NT. Detection of plain DOS 7.x.
2004-11-23 17:53:14 +00:00
Antoine Leca
6923aee11d
* builds/dos/detect.mk: Added same correction as for win32
...
about COPY on Windows NT. Detection of plain DOS 7.x.
2004-11-23 17:49:40 +00:00
Antoine Leca
7b22e6d921
* builds/win32/detect.mk: Corrected logic that detects
...
Windows NT to use the previous change even when win32 is
forced. Corrected detection of win32 on Win9X.
2004-11-23 17:48:52 +00:00
Werner Lemberg
df0f64db7a
* builds/detect.mk: Undo change from 2004-11-20.
...
* builds/win32/detect.mk: If the `OS' environment variable contains
`Windows_NT', use `cmd.exe /c copy' for copying files.
2004-11-23 09:17:16 +00:00
Werner Lemberg
f7d0560b46
* builds/detect.mk (dos_setup): Use `cmd.exe' for copying
...
$(CONFIG_MK) to force lowercase file name under Windows.
2004-11-20 12:45:13 +00:00
Werner Lemberg
4c31de77c1
*** empty log message ***
2004-11-19 17:02:37 +00:00
Werner Lemberg
b2e107db09
Documentation update.
2004-11-19 16:55:32 +00:00
Werner Lemberg
3d6848d058
*** empty log message ***
2004-11-19 14:12:48 +00:00
Werner Lemberg
c442660dc8
Fix a serious bug in the TT hinter.
...
* src/truetype/ttgload.c (TT_Process_Simple_Glyph): Don't shift
points vertically before hinting.
* docs/CHANGES: Updated.
* src/cache/ftcglyph.c (FTC_GNode_UnselectFamily,
FTC_GCache_Lookup): A new try to fix comparison with zero.
2004-11-19 10:35:52 +00:00
Werner Lemberg
687924898b
* builds/unix/configure.ac: Add `-fno-strict-aliasing' if gcc is
...
used.
* builds/unix/configure: Regenerated.
* builds/unix/config.guess, builds/unix/config.sub: Updated from
`config' CVS module at subversions.gnu.org.
* src/cache/ftcglyph.c (FTC_GNode_UnselectFamily,
FTC_GCache_Lookup): Fix comparison with zero.
* docs/INSTALL.VMS: Updated.
* vms_make.com: Updated. All `descrip.mms' files are now created
automatically.
* src/*/descrip.mms: Removed.
2004-11-17 08:19:27 +00:00
Owen Taylor
47bd6b0eca
2004-11-16 Owen Taylor <otaylor@redhat.com>
...
* builds/unix/freetype-config.in: Supress -L$libdir for
/usr/lib64 as well as /usr/lib. (Reported by Dan Winship -
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139199 )
2004-11-16 13:06:43 +00:00
Werner Lemberg
206b6f1608
Add new function FT_Get_PS_Font_Private().
...
* include/freetype/internal/services/svpsinfo.h
(PS_GetFontPrivateFunc): New service function.
* include/freetype/t1tables.h, src/base/fttype1.c
(FT_Get_PS_Font_Private): New function.
* src/type1/t1driver.c (t1_ps_get_font_private): New function.
(t1_service_ps_info): Updated.
* src/cff/cffdrivr.c (cff_service_ps_info): Updated.
* src/cid/cidriver.c (cid_service_ps_info): Updated.
* src/type42/t42drivr.c (t42_ps_get_font_private): New function.
(t42_service_ps_info): Updated.
* src/type42/t42parse.c (t42_parse_dict): Remove compiler warning.
2004-11-12 07:02:45 +00:00
Werner Lemberg
5838823b6a
* include/freetype/config/ftstdlib.h: Include `stddef.h'.
...
(ft_ptrdiff_t): Define.
* include/freetype/fttypes.h (FT_PtrDist): Use `ft_ptrdiff_t'.
* src/cid/cidload.c (cid_parse_dict), src/type1/t1load.c
(parse_dict): Fix compiler warning.
2004-10-14 11:33:04 +00:00
Werner Lemberg
116f8df77f
* src/sfnt/ttcmap.c (tt_face_build_cmaps): Check for pointer
...
overflow.
* src/sfnt/ttload.c (tt_face_load_hdmx): Protect against bad input.
Don't use FT_QNEW_ARRAY but FT_NEW_ARRAY to make deallocation work
in case of failure.
* src/sfnt/ttsbit.c (Load_SBit_Range): Check range intervals.
(tt_face_load_sbit_strikes): Allocate `strike_sbit_ranges' after
frame test.
* src/truetype/ttgload.c (TTLoad_Simple_Glyph): Add assertion for
`flag'.
2004-10-13 05:15:44 +00:00
Werner Lemberg
37626c43b7
* docs/CHANGES: Updated.
...
Fix handling of NPUSHW if skipped in data stream.
* src/truetype/ttinterp.c (opcode_length): Set value for NPUSHW
to -2.
(SkipCode, TT_RunIns): Use opcode_length value for computation of
bytes to be skipped.
2004-10-09 07:07:43 +00:00
Werner Lemberg
1461421974
* vms_make.com: Updated.
2004-09-13 16:07:55 +00:00
Werner Lemberg
ce6015d408
Adding OpenType validation module. The code is based on the
...
(unfinished) `otlayout' module but has been heavily modified to make
it much more compact.
* src/otvalid/*: New module.
* include/freetype/ftotval.h, src/base/ftotval.c,
include/freetype/internal/services/svotval.h: New files.
* include/freetype/config/ftmodule.h: Add otv_module_class.
* include/freetype/config/ftheader.h (FT_OPENTYPE_VALIDATE_H): New
macro.
* include/freetype/internal/ftserv.h
(FT_SERVICE_OPENTYPE_VALIDATE_H): New macro.
* include/freetype/internal/fttrace.h (otvmodule, otvcommon,
otvbase, otvgdef, otvgpos, otvgsub, otvjstf): New trace components.
* include/freetype/ftchapters.h: Updated.
* src/base/Jamfile (Library), src/base/descrip.mms (OBJS),
src/base/rules.mk (BASE_EXT_SRC): Updated.
* docs/CHANGES: Updated.
2004-09-10 14:39:00 +00:00
Werner Lemberg
9511d5fd57
* src/tools/docmaker/sources.py (re_source_block_format2) <column>:
...
Use lookahead assertion to not match `*/'. This removes spurious
insertions of `/' in the HTML output.
2004-09-08 13:36:39 +00:00
Werner Lemberg
fd22a0f9b1
* src/truetype/ttgxvar.c (TT_Vary_Get_Glyph_Deltas): Fix call to
...
FT_NEW_ARRAY.
2004-09-08 09:47:44 +00:00
Werner Lemberg
6ee0aacfb8
* include/freetype/internal/ftobjs.h: Don't include
...
FT_CONFIG_STANDARD_LIBRARY_H.
(FT_Validator, FT_VAlidationLevel, FT_ValidatorRec, FT_VALIDATOR,
ft_validator_init, ft_validator_run, ft_validator_error, FT_INVALID,
FT_INVALID_TOO_SHORT, FT_INVALID_OFFSET, FT_INVALID_FORMAT,
FT_INVALID_GLYPH_ID, FT_INVALID_DATA): Move to...
* include/freetype/internal/ftvalid.h: New file.
Make FT_INVALID return module-specific error codes.
* include/freetype/internal/internal.h (FT_INTERNAL_VALIDATE_H): New
macro.
* include/freetype/fterrors.h: Undefine FT_ERR_PREFIX only if
FT_KEEP_ERR_PREFIX isn't defined.
* src/base/ftobjs.c: Include FT_INTERNAL_VALIDATE_H.
* src/sfnt/ttcmap.h: Don't include FT_INTERNAL_OBJECTS_H but
FT_INTERNAL_VALIDATE_H.
* src/sfnt/ttcmap.c: Don't include FT_INTERNAL_OBJECTS_H but
FT_INTERNAL_VALIDATE_H.
Include sferrors.h before FT_INTERNAL_VALIDATE_H.
s/FT_Err_Ok/SFNT_Err_Ok/.
* src/sfnt/sferrors.h: Define FT_KEEP_ERR_PREFIX.
* src/type1/t1afm.c: Include t1errors.h.
2004-09-06 07:06:56 +00:00
Werner Lemberg
9dc9766d73
* docs/DEBUG: Updated.
2004-09-04 06:55:32 +00:00
Werner Lemberg
4fde6e0f64
* src/base/ftdebug.c (ft_debug_init): Highest debug level is 7,
...
not 6.
2004-09-04 06:53:36 +00:00