Werner Lemberg
5e99e92619
* src/smooth/ftgrays.c (gray_render_scanline): Fix bug which caused
...
bad rendering of thin lines (less than one pixel thick).
2002-01-28 05:04:22 +00:00
Werner Lemberg
2ee087e487
* src/cff/cffdrivr.c (cff_get_name_index): Make last patch work
...
actually.
2002-01-25 22:55:53 +00:00
Werner Lemberg
840c2f268e
* src/cache/ftccache.c (ftc_node_done, ftc_node_destroy): Fix
...
compilation warnings.
* src/base/descrip.mms (OBJS): Add `ftmm.obj'.
* src/cache/descrip.mms (ftcache.obj): Dependencies added.
2002-01-25 16:05:39 +00:00
Antoine Leca
c511ad734b
* docs/PATENTS: Typo fixed (Thanks to Detlef "Hawkeye" Wuerkner) in the URL for the on-line resource.
2002-01-21 21:57:38 +00:00
Werner Lemberg
6b86b0b54d
* builds/win32/ftdebug.c: New file.
...
* builds/win32/visualc/freetype.dsp: Updated.
* builds/amiga/src/base/ftsystem.c: Updated for AmigaOS 3.9.
* builds/amiga/README: Updated.
2002-01-19 02:20:45 +00:00
Werner Lemberg
548de419a2
* builds/win32/visualc/freetype.dsp: Updated.
2002-01-18 09:00:44 +00:00
Werner Lemberg
08411e563d
* builds/unix/freetype2.a4: The script was still buggy.
...
* builds/unix/freetype-config.in: Make it really work for any install
prefix.
2002-01-13 06:36:02 +00:00
Werner Lemberg
7d697ff893
* builds/unix/freetype2.a4: Fix some serious bugs.
2002-01-11 02:22:40 +00:00
Werner Lemberg
b8ced96ce3
Formatting.
2002-01-09 21:01:18 +00:00
David Turner
944ac3747e
small speed-up to the anti-aliased renderer
2002-01-09 10:48:25 +00:00
David Turner
9d283e504d
added 'configure' and 'install' wrapper scripts to make the
...
installation process more Unix-friendly :-)
2002-01-08 18:33:55 +00:00
David Turner
6456a92ebb
fixed html quoting in DocMaker
2002-01-07 12:09:51 +00:00
David Turner
7dc6718343
updating documentation
2002-01-07 10:40:48 +00:00
David Turner
4472fd437d
* include/freetype/config/ftoption.h: setting default options for
...
a release build (debugging off, bytecode interpreter off)
2002-01-07 10:05:34 +00:00
David Turner
3837098a65
* src/base/ftobjs.c, src/base/ftoutln.c, src/cache/ftccmap.c,
...
src/cff/cffload.c, src/cff/cffobjs.c, src/pshinter/pshalgo2.c,
src/sfnt/ttload.c, src/sfnt/ttsbit.c: removing small compiler
warnings (in pedantic compilation modes)
2002-01-07 10:04:09 +00:00
Werner Lemberg
2a4ea10b05
formatting
2002-01-06 16:42:44 +00:00
David Turner
f126ee26e7
the TrueType glyph loader is now much more paranoid, this avoids
...
unpleasant overwrites in the case of invalid glyph data (found in
the output of buggy font converters)
the computation of auto-hinted stem widths has been modified to
avoid certain color fringes in LCD-decimation rendering (a.k.a.
"ClearType")
2002-01-06 10:13:40 +00:00
David Turner
6ee4fcdeea
added README.UNX for Unix users
2002-01-04 16:36:42 +00:00
David Turner
b122d6d843
remove compiler warnings and a typo in builds/unix/ftsystem.c
2002-01-04 09:47:30 +00:00
Werner Lemberg
1ccd917ed6
* src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler
...
warning.
2002-01-03 22:06:13 +00:00
David Turner
52ca40b522
* builds/unix/ftsystem.c (FT_New_Stream): added a fix to ensure that
...
all FreeType input streams are closed in child processes of a "fork"
on Unix systems. This is important to avoid (potential) access
control issues..
2002-01-03 17:08:20 +00:00
David Turner
1c2ef2b948
* src/type1/t1objs.c (T1_Face_Init): fixed a bug that crashed the
...
library when dealing with certain weird fonts (like "Stalingrad",
in "sadn.pfb". This font has no full font name entry.. )
* src/base/ftoutln.c, include/freetype/ftoutln.h: added the
FT_Outline_Check API to check the consistency of outline data
* src/base/ftobjs.c (FT_Load_Glyph): added a call to the new
FT_Outline_Check to ensure that loaded glyphs are valid. This
allows certain fonts like "tt1095m_.ttf" to be loaded even though
it appears they contain really funky glyphs..
there still is a bug there though.. !!
2002-01-03 16:56:59 +00:00
Werner Lemberg
da0da4a5e8
Formatting.
2001-12-31 16:04:26 +00:00
David Turner
dcf5e6e5c5
improving the computation of the advance widths of auto-hinted glyphs,
...
in order to produce better letter spacing..
2001-12-30 01:30:11 +00:00
Antoine Leca
21bdad1554
* builds/dos/detect.mk: Correcting the order for Borland compilers:
...
16-bit bcc was never selected, always overriden by 32-bit bcc32.
2001-12-25 20:54:33 +00:00
Werner Lemberg
39defae424
* src/pfc/pcfread.c (pcf_load_font): Handle property `POINT_SIZE'
...
and fix incorrect computation of `available_sizes'.
2001-12-23 01:38:53 +00:00
Werner Lemberg
964dd10db1
Formatting.
2001-12-23 00:56:36 +00:00
David Turner
eb147c6a0b
fixing the autohinter: the advance of auto-hinted glyphs in mono-spaced fonts was incorrect
2001-12-22 16:07:52 +00:00
Werner Lemberg
4770f01cbe
* builds/amiga/*: Adaptations to latest changes.
...
Support added for MorphOS.
* src/pshinter/pshrec.c (FT_COMPONENT): Redefine to `trace_pshrec'.
(ps_mask_table_merge, ps_hints_open, ps_hints_stem,
ps_hints_t1stem3, ps_hints_t2mask, ps_hints_t2counter): Fix
FT_ERROR messages.
* src/pshinter/pshalgo1.c (FT_COMPONENT): Define as
`trace_pshalgo1'.
* src/pshinter/pshalgo2.c (FT_COMPONENT): Define as
`trace_pshalgo2'.
* include/freetype/internal/ftdebug.h (FT_Trace): Updated.
* docs/modules.txt: New file.
2001-12-22 14:38:40 +00:00
David Turner
ae69e7dc7d
* src/cff/cffgload.c: added a comment regarding "cntrmask" operator
...
* src/pshinter/pshrec.c: now ignores invalid "hintmask" and "cntrmask"
operators (instead of returning an error). Glyph 2028 of the CFF font
"MSung-Light-Acro" couldn't be rendered otherwise (it seems its
charstring is buggy, though this requires more analysis)..
2001-12-21 21:21:13 +00:00
David Turner
de4383892e
* src/cff/cffgload.c, src/psaux/t1decode.c, src/pshinter/pshrec.c,
...
src/pshinter/ahalgo2.c, src/pshinter/pshglob.h: fixed a bug where
the X and Y axis where inversed in the postscript hinter. this
caused problem when displaying on non-square surfaces..
2001-12-21 15:59:43 +00:00
David Turner
637dd17647
* src/cid/cidobjs.c (CID_Face_Done): fixed a memory leak, the subrs
...
routines were never released when CID faces were destroyed
2001-12-21 15:26:19 +00:00
David Turner
5fd895c9f4
* src/cid/cidobjs.c (CID_Face_Done): fixed a memory leak, the subrs
...
routines were never released when CID faces were destroyed
2001-12-21 15:20:48 +00:00
Werner Lemberg
b3bf8144df
Formatting.
2001-12-21 10:57:09 +00:00
David Turner
04658fcd81
* src/pshinter/pshglob.c (psh_globals_new): replaced a floating point
...
constant with a fixed-float equivalent. For some reason, some compilers
aren't capable of directly computing a floating pointer constant casted
to FT_Fixed, and will link a math library instead !!
2001-12-21 04:16:42 +00:00
Werner Lemberg
aa78d59d23
* src/base/ftobjs.c (FT_Done_Library): Remove compiler warning.
...
Formatting.
2001-12-20 21:22:02 +00:00
Werner Lemberg
a931abf7a1
Formatting.
...
* src/cache/ftccache.c (ftc_node_destroy, ftc_cache_lookup): Fix
tracing strings.
* src/cache/ftccmap.c (ftc_cmap_family_init): Ditto.
* src/cache/ftcmanag.c (ftc_family_table_alloc,
ftc_family_table_free, FTC_Manager_Check): Ditto.
* src/cache/ftcsbits.c (ftc_sbit_node_load): Ditto.
2001-12-20 17:49:10 +00:00
David Turner
7c0403638f
disabling bytecode interpreter
2001-12-20 13:34:21 +00:00
David Turner
90580798f3
* docs/CHANGES: updated for 2.0.6 release
...
* src/cff/cffload.h, src/cff/cffload.c, src/cff/cffgload.c: updated
to mode the definition of encoding tables within "cffload.c" instead
of making them part of a shared header (causing problems in "multi"
builds)
2001-12-20 13:33:03 +00:00
David Turner
988df8f3c3
* docs/TODO: added "stem3 and counter hints support" to the TODO list
...
for the Postscript hinter
* docs/BUGS: closed the AUTOHINT-NO-SBITS bug.
* src/pshinter/pshrec.c (t2_hint_stems), src/cff/cffobjs.h,
src/cff/cffobjs.c, src/cff/cffload.c, src/cff/cffload.h,
src/cff/cffgload.c, src/cff/cffgload.h, src/cff/cffdriver.c,
include/freetype/internal/cfftypes.h: added Postscript hinter support
to the CFF driver
* src/base/ftobjs.c (FT_Done_Library): fixed a stupid bug that crashed
the library on exit
2001-12-20 13:14:18 +00:00
David Turner
6ae4d20687
* src/type1/t1gload.c (T1_Load_Glyph): enable font matrix transform
...
on hinted glyphs..
* src/cid/cidgload.c, src/cid/cidobjs.c, src/cid/cidobjs.h,
src/cid/cidriver.c, include/freetype/internal/t1types.h: added
Postscript hinter support to the CID font driver !!
2001-12-20 09:36:21 +00:00
Werner Lemberg
eed63c3f60
Formatting.
...
CFF encoding tables moved back from cffload.c to cffload.h.
2001-12-19 22:26:12 +00:00
David Turner
82350696e8
* src/truetype/ttgload.c (TT_Load_Glyph), src/base/ftobjs.c
...
(FT_Load_Glyph): "fixed" the bug that prevented embedded bitmaps from
begin loaded when the auto-hinter is used.. This actually is a hack
but will be enough until the internal re-design scheduled for
FreeType 2.1
2001-12-19 21:09:16 +00:00
David Turner
1dc7596bb0
* include/freetype/cache/ftcache.h: added comments to indicate that
...
some of the exported functions should only be used by applications
that need to implement custom cache types
* src/truetype/ttgload.c: fixed a nasty bug that prevent composites
from loading correctly. Believe it or not, this was due to an invalid
macro definition !!
2001-12-19 19:17:35 +00:00
David Turner
a179279b29
* src/sfnt/sfobjs.c (SFNT_Load_Face): make the "post" and "name"
...
tables optional to load PCL fonts properly
2001-12-19 14:59:23 +00:00
David Turner
2413394ce0
* src/raster/ftrend1.c (ft_raster1_render): fixed a nasty outline
...
shifting bug in the monochrome renderer.
* README: updated version numbers to 2.0.6
2001-12-19 14:47:28 +00:00
Werner Lemberg
8016d9c7e7
* src/truetype/ttgload.c (load_truetype_glyph): Fix test for invalid
...
glyph header.
2001-12-17 16:21:22 +00:00
Werner Lemberg
3f70811c7d
Updating/Formatting.
2001-12-16 23:53:39 +00:00
Werner Lemberg
5f63d74e57
* src/base/ftglyph (FT_Glyph_To_Bitmap): Remove compiler warning.
...
* include/freetype/ftcache.h (FTC_Node_Unref): Removed. It is
already in ftcmanag.h.
* src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused variable
`gfam'.
* src/cache/ftcmanag.c (ftc_family_table_alloc,
* ftc_family_table_free): Use FT_EXPORT_DEF.
* include/freetype/cache/ftcmanag.h: Updated.
* src/cache/ftccache.c (ftc_node_destroy): Use FT_EXPORT_DEF.
* src/cache/ftccmap.c (ftc_cmap_node_init): Remove unused variable
`cfam'.
Remove compiler warning.
(FTC_CMapCache_Lookup): Remove compiler warnings.
(ftc_cmap_family_init): Ditto.
(FTC_CMapCache_Lookup): Ditto.
* builds/unix/configure.ac: Increase `version_info' to 8:0:2.
* builds/unix/configure: Regenerated.
* builds/mac/README: Updated.
2001-12-16 08:17:33 +00:00
David Turner
24c7b56a57
* src/truetype/ttgload.c (load_truetype_glyph): fixing crash when dealing
...
with invalid fonts (i.e. glyph size < 10 bytes)..
2001-12-14 15:14:44 +00:00