Commit Graph

1895 Commits

Author SHA1 Message Date
David Turner 10bf05a31d * src/cff/cffobjs.c (cff_face_init): fixed a small memory leak
* src/autofit/afloader.c, src/autofit/afmodule.c, src/base/ftdebug.c:
        removed compiler warnings

        * src/autofit/aftypes.h, src/lzw/zopen.c, src/pcf/pcfdrivr.c,
        src/pcf/pcfread.c, src/psaux/psobjs.c, src/type42/t42drivr.c:
        changed data arrays to "const" to avoid populating the ".data"
        segment
2004-04-21 14:30:37 +00:00
Werner Lemberg c78df1ef6e * src/psaux/psobjs.c (T1Radix): Renamed to...
(ps_radix): This.
Update current cursor position.

* docs/CHANGES: Updated.
2004-04-21 07:36:38 +00:00
Werner Lemberg c3dc56b85c * src/truetype/ttgload.c, src/truetype/ttgload.h (TT_Load_Glyph),
src/ttdriver.c (Load_Glyph): Change type of `glyph_index' to
FT_UInt.  From Lex Warners.


* src/sfnt/ttload.c (tt_face_load_sfnt_header): Really fix change
from 2004-03-19.

* src/bdf/bdfdrivr.c (BDF_Face_Init): Use `ft_strlen'.

* src/pcf/pcfutil.c, src/pcf/pcfutil.h: Decorate functions with
`static.'.
Remove unused function `RepadBitmap'.
* src/pcf/pcfdrivr.c: Don't include pcfutil.h.
2004-04-19 06:13:50 +00:00
Werner Lemberg 2a37b3055d * builds/unix/freetype-config.in (usage): Fix and improve usage
information.
2004-04-17 18:58:43 +00:00
Werner Lemberg ba80d61c7a * builds/unix/ftconfig.in, builds/vms/ftconfig.h: Define
FT_CHAR_BIT.

* src/base/ftobjs.c (FT_Load_Glyph): Don't apply autohinting if
glyph is vertically distorted or mirrored.

* src/cff/cffgload.c (cff_slot_load): Handle zero `size' properly
for embedded bitmaps.

* docs/CHANGES: Updated.
2004-04-16 09:56:30 +00:00
Werner Lemberg 8a803a6c2b * include/freetype/config/ftconfig.h, src/base/ftstream.c
(FT_Stream_ReadFields): More fixes using FT_CHAR_BIT.

* include/freetype/config/ftconfig.h (FT_CHAR_BIT): New macro.
2004-04-16 03:50:55 +00:00
Werner Lemberg 336bc908c8 * src/cache/ftcsbits.c (ftc_snode_load): Initialize `*asize' in case
of error.
2004-04-15 16:09:31 +00:00
Werner Lemberg 3599a028b6 * src/base/ftmac.c [__GNUC__]: Define OS_INLINE.
* builds/unix/configure.ac: Don't try to remove `-ansi' compilation
switch on the Mac.

* builds/unix/ltmain.sh: Regenerated with `libtoolize --force
--copy' from libtool 1.5.6.
* builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from
automake 1.8a.
* builds/unix/configure: Regenerated with autoconf 2.59a.
2004-04-14 08:49:11 +00:00
Werner Lemberg deadbb53d2 * include/freetype/config/ftconfig.h: Use CHAR_BIT to define
size of FT_SIZEOF_xxx.


* include/freetype/internal/sfnt.h (TT_Find_SBit_Image_Func,
TT_Load_SBit_Metrics_Func): New typedefs.
(SFNT_Interface): Add find_sbit_image and load_sbit_metrics.

* src/sfnt/sfdriver.c (sfnt_interface): Updated.
* src/sfnt/ttsbit.h (tt_find_sbit_image, tt_load_sbit_metrics): New
declarations.
* src/sfnt/ttsbit.c (find_sbit_image): Renamed to...
(tt_find_sbit_image): This.
Updated all callers.
(load_sbit_metrics): Renamed to...
(tt_load_sbit_metrics): This.
Updated all callers.
2004-04-13 21:08:17 +00:00
Werner Lemberg 26eccb409f * configure: Accept makepp also.
* builds/unix/detect.mk: Use proper path to unix-def.mk.
* builds/unix/unix-def.in (BUILD_DIR, PLATFORM): Remove.
* builds/unix/unix.mk (BUILD_DIR, PLATFORM): Define.
Use BUILD_DIR.

* docs/INSTALL, docs/INSTALL.GNU, docs/INSTALL.UNX: Update
documentation on makepp.
2004-04-13 08:35:05 +00:00
Antoine Leca 497cc7c4bf Jamfile to bring in the new lzw module.
My first try at this exercise, please report problems, I lack experience!  Antoine
2004-04-12 18:09:00 +00:00
Werner Lemberg 161438c5b6 * src/lzw/zopen.c: Don't include sys/param.h and sys/stat.h. 2004-04-12 15:31:30 +00:00
Werner Lemberg 391de1a63e * src/lzw/ftlzw.c: Include zopen.h dependent on
FT_CONFIG_OPTION_USE_LZW.

* src/base/ftdebug.c: s/index/idx/ to avoid compiler warnings.
2004-04-11 16:44:54 +00:00
David Turner 4c03580f76 file Jamfile was initially added on branch LAYOUT. 2004-04-05 22:35:00 +00:00
David Turner e7b385cc05 file ot-unicode.h was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner d28d8587c3 file rules.mk was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner 746b91f736 file oterrors.h was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner 50bec622dc file otobjs.c was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner ff39eca2b6 file otltypes.h was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner d33e7d87a1 file otdriver.h was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner 614d71973f file otdriver.c was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner fea640a408 file otobjs.h was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner 22e3ea5ce9 file ot.c was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner 4af82cd869 file otlayout.c was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner a578d8e429 file otdemo.c was initially added on branch LAYOUT. 2004-04-05 22:16:12 +00:00
David Turner 4e7c4d38d1 file ot-array.c was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 732e7b5f20 file ot-info.c was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 17ab9c96eb file ftxgsub.h was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 9265ad59cd file ot-array.h was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 1c963405cd file ot-ruleset.c was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner fd9176c70c file ot-types.h was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 89bfe8f044 file ftxopenf.h was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 58eda203c5 file ftxgpos.h was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner ba0235dcc8 file ftxopen.c was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 5d4bac8a0b file ot-ruleset.h was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 35837346d1 file ftxgsub.c was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 245910ebcb file ot-unicode.c was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner a568649053 file module.mk was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner 91e427a091 file ot-info.h was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner d22f51c363 file ftxopen.h was initially added on branch LAYOUT. 2004-04-05 22:16:11 +00:00
David Turner f8e7b708d1 file gxlayout.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 40f1aa1126 file otlayout.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner cfe6687b07 file ftltypes.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner bd6e5719c6 file svlayout.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner d2805804f2 file fterrcompat.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 0a97075869 file ftxgdef.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 5f8622b492 file demo.mk was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 9f92bb7ec0 file ftxgdef.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 8e65d4e15c file ftxgpos.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 783ebb280b file README was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00