Commit Graph

2049 Commits

Author SHA1 Message Date
David Turner 62547194c3 file demo.mk was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner e7032b4e9a file ftxgdef.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 26f8cb21ee file ftxgpos.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 10e107fb31 file README was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner cf3a6fc80f file ftlayout.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 70432a1145 file gxerrors.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 18cb659dc4 file gxutils.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 9323ae8a61 file gxfeatreg.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 6179219051 file gxload.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 91105e22b9 file gxfeatreg.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner cd29445fca file gxdump.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner bf7e297229 file gxdemo.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 72f8e18d4c file gx.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner ce573357fc file gxdriver.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner ac005b4d12 file gxvm.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner a066ecac1f file gxload.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 574012618c file gxtypes.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 24cfe54068 file gxstatetbl.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 23bb8cba96 file gxlayout.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 19659452d5 file gxutils.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 925a868049 file gxdump.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 91eca037fa file gxlookuptbl.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 50ba3429a0 file gxaccess.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner a27f52b39e file gxstatetbl.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 3d9b388130 file gxlfeatreg.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 80f8694bce file gxlookuptbl.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner d8e169830d file gxobjs.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner b6bec671db file gxaccess.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 31dae727b3 file gxvm.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 5ada76e281 file fi.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 4fae2d55cf file gxltypes.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner e9f32cc3c5 file gxlfeatreg.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 124aaa4809 file gxdriver.h was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner f201a2fd96 file gxobjs.c was initially added on branch LAYOUT. 2004-04-05 22:16:10 +00:00
David Turner 32d4980373 file ftlayout.txt was initially added on branch LAYOUT. 2004-04-05 22:16:09 +00:00
David Turner b860b965f8 file ftlayout.h was initially added on branch LAYOUT. 2004-04-05 22:16:09 +00:00
Werner Lemberg 41a407e60e * builds/unix/ltmain.sh: Regenerated with `libtoolize --force
--copy' from libtool 1.5.2.
* builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from
automake 1.8a.
* builds/unix/configure: Regenerated with autoconf 2.59a.
2004-04-03 20:13:43 +00:00
Werner Lemberg b0ae1bfb3c * builds/unix/ft-munmap.m4 (FT_MUNMAP_PARAM): Fix arguments of
AC_COMPILE_IFELSE.
* builds/unix/aclocal.m4: Regenerated with `aclocal -I .' from
automake 1.8a.
* builds/unix/configure: Regenerated with autoconf 2.59a.
* builds/unix/config.guess, builds/unix/config.sub: Updated from
`config' CVS module at subversions.gnu.org
* builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from
`texinfo' CVS module at subversions.gnu.org.
* builds/freetype.mk (refdoc): Updated.
2004-04-02 07:13:53 +00:00
Werner Lemberg 60a6c464a2 Handle broken FNT files which don't have a trailing NULL byte
in the face name string.

* src/winfnt/winfnt.h (FNT_FontRec): New member `family_name'.
* src/winfnt/winfnt.c (fnt_font_done): Free font->family_name.
(FNT_Face_Init): Append a final zero byte to the font face name.

* src/sfnt/ttload.c (tt_face_load_sfnt_header): Fix change from
2004-03-19.
2004-04-01 20:35:57 +00:00
Werner Lemberg dd3b91fd4a * src/base/descrip.mms (OBJS): Add ftbbox.obj. 2004-03-30 07:58:20 +00:00
Werner Lemberg cde08695f5 Add vertical phantom points.
* include/freetype/internal/tttypes.h (TT_LoaderRec): Add
`top_bearing', `vadvance', `pp3, and `pp4'.

* src/autofit/afloader.c (af_loader_load_g): Handle two more points.

* src/autohint/ahhint.c (ah_hinter_load): Handle two more points.
* src/truetype/ttgload.c (Get_VMetrics): New function.
(TT_Load_Simple_Glyph, TT_Process_Simple_Glyph): Handle two more
points.
(load_truetype_glyph): Use Get_VMetrics.
Handle two more points.
(compute_glyph_metrics): Thanks to vertical phantom points we now
can always compute `advance_height' and `top_bearing'.
* src/truetype/ttobjs.h (TT_SubglyphRec): Add vertical phantom
points.


* src/autohint/ahglyph.c (ah_outline_load): Fix allocation of
`news'.

Converting some files to Unix end-of-line convention.
2004-03-27 08:43:17 +00:00
Werner Lemberg ab9d64881b * src/bdf/bdfdrivr.c (BDF_Glyph_Load): Fix left side bearing. 2004-03-22 09:25:04 +00:00
Werner Lemberg af3f0093e0 * src/cache/ftcmru.c (FTC_MruList_RemoveSelection): Handle a NULL
value for `selection' as `select all'.
2004-03-20 20:44:45 +00:00
Werner Lemberg 02d1e62410 * src/sfnt/ttload.c (tt_face_load_sfnt_header): Reject face_index
values > 0 if loading non-TTC fonts.

* src/base/ftmac.c (open_face_from_buffer): Set positive face_index
to zero before calling FT_Open_Face.

* docs/CHANGES: Updated.
2004-03-20 14:26:38 +00:00
Werner Lemberg 79edf077a2 *** empty log message *** 2004-03-05 10:09:20 +00:00
Werner Lemberg 39c55c2f8c LZW support 2004-03-05 10:07:37 +00:00
Werner Lemberg d464139d60 Initial revision 2004-03-05 10:07:37 +00:00
Werner Lemberg 7110f2144a * Jamfile, vms_make.com, builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype/vcproj, include/freetype/ftmoderr.h:
Add LZW module.

* Jamfile.in: Removed.

* docs/CHANGES: Updated.

* include/freetype/internal/ftobjs.h: s/MIN/FT_MIN/, s/MAX/FT_MAX/,
s/ABS/FT_ABS/.  Updated all callers.

* src/type1/t1load.c (parse_dict), src/pcf/pcfdrivr.c
(PCF_Face_Init): Use FT_ERROR_BASE.



Add support for PCF fonts compressed with LZW (extension .pcf.Z,
created with `compress').

* include/freetype/config/ftoption.h, devel/ftoption.h
(FT_CONFIG_OPTION_USE_LZW): New macro.

* include/freetype/ftlzw.h: New file.
* include/freetype/config/ftheader.h (FT_LZW_H): New macro for
ftlzw.h.

* src/lzw/*: New files.

* src/pcf/pcfdrivr.c: Include FT_LZW_H.
(PCF_Face_Init): Try LZW also.

* src/gzip/ftgzip.c: s/0/Gzip_Err_Ok/ where appropriate.
Beautify.
2004-03-05 09:26:24 +00:00
Werner Lemberg f5c26739c3 * src/pshinter/pshalgo.c (psh_hint_table_init): Simplify code. 2004-03-03 16:06:17 +00:00
Werner Lemberg 92831e3d27 Add embedded bitmap support to CFF driver.
* src/cff/cffobjs.h (CFF_SizeRec): New structure.

* src/cff/cffgload.c (cff_builder_init): Updated.
(cff_slot_load): Updated.
[TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Load sbit.

* src/cff/cffobjs.c (sbit_size_reset)
[TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: New function.
(cff_size_get_globals_funcs, cff_size_done, cff_size_init): Updated.
(cff_size_reset): Updated.
[TT_CONFIG_OPTION_EMBEDDED_BITMAPS]: Call sbit_size_reset.

* src/cff/cffdrivr.c (Load_Glyph): Updated.
(cff_driver_class): Use CFF_SizeRec.

* docs/CHANGES: Updated.
2004-03-03 08:21:12 +00:00