Werner Lemberg
c2c5cfe024
* descrip.mms (all): Add pfr driver.
2002-04-29 12:59:32 +00:00
Werner Lemberg
c5d0f4051e
* src/pcf/pcfdriver.c (PCF_Face_Init) [!FT_CONFIG_OPTION_USE_CMAPS]:
...
`root' -> `face->root'.
* src/sfnt/ttcmap0.c (TT_Build_CMaps) [!FT_CONFIG_OPTION_USE_CMAPS]:
Removed.
* src/sfnt/ttcmap0.c: Declare TT_Build_CMaps only for
FT_CONFIG_OPTION_USE_CMAPS.
2002-04-28 12:25:31 +00:00
Werner Lemberg
8a050caa68
* src/pfr/pfrerror.h: New file.
...
* include/freetype/ftmoderr.h: Add PFR error codes.
* src/pfr/pfrgload.c: Include pfrerror.h.
Use PCF error codes.
(pfr_extra_item_load_stem_snaps): Fix debug message.
* src/pfr/pfrgload.c: Include pfrerror.h.
Use PCF error codes.
(pfr_extra_item_load_bitmap_info, pfr_glyph_load_simple,
pfr_glyph_load_compound): Fix debug message.
* src/pfr/pfrobjs.c: Include pfrerror.h.
Use PCF error codes.
(pfr_face_init): Return PFR_Err_Unknown_File_Format.
* src/pfr/rules.mk (PFR_DRV_H): Include pfrerror.h.
2002-04-28 10:25:55 +00:00
Werner Lemberg
3a037af810
* src/cache/ftccache.c (ftc_cache_lookup),
...
src/cache/ftccmap.c (ftc_cmap_family_init),
src/cache/ftcmanag.c (ftc_family_table_alloc),
src/cache/ftcsbits.c (FTC_SBit_Cache_Lookup): Use FTC_Err_*.
src/cache/ftcimage.c (FTC_Image_Cache_Lookup): Use FTC_Err_*.
(FTC_ImageCache_Lookup): Fix handling of invalid arguments.
2002-04-28 02:48:20 +00:00
David Turner
ee69c14dbd
adding experimental (alpha) exception support code + system code
2002-04-25 21:42:59 +00:00
Werner Lemberg
2001b14e5a
* builds/unix/configure.ac: Set `version_info' to 9:1:3 (FT2
...
version 2.0.9 has 9:0:3).
* builds/unix/configure: Regenerated (using autoconf 2.53).
2002-04-22 16:50:27 +00:00
Werner Lemberg
8cc1319c54
* src/pfr/pfrload.c (pfr_extra_items_farse): Fix debug message.
...
(pfr_phy_font_load): s/size/Size/ for local variable to avoid
compiler warning.
* src/pfr/pfrobjs.c (pfr_face_init): Fix debug message.
(pfr_slot_load): Remove redundant local variable.
adding copyrights, formatting
2002-04-20 05:38:33 +00:00
David Turner
596ba53283
* src/type1/t1gload.h, src/type1/t1gload.c: fixed incorrect
...
parameter sign-ness in callback function
* include/freetype/config/ftmodule.h,
include/freetype/internal/fttrace.h,
src/Jamfile, src/pfr/*:
adding a PFR font driver to the FreeType sources. Not that it
doesn't support embedded bitmaps or kerning tables for now..
* include/freetype/internal/ftmemory.h: adding the FT_MEM_ZERO
and FT_ZERO macros
* include/freetype/internal/ftstream.h: adding the FT_NEXT_OFF3,
FT_NEXT_UOFF3, FT_NEXT_OFF3_LE and FT_NEXT_UOFF3_LE to parse
in-memory 24-bit integers.
2002-04-19 15:13:47 +00:00
Werner Lemberg
b97e32c7ad
*** empty log message ***
2002-04-18 14:27:21 +00:00
Werner Lemberg
bbf539d46e
formatting
2002-04-18 14:26:29 +00:00
David Turner
38748e42fe
* src/base/ftobjs.c, builds/win32/ftdebug.c,
...
builds/amiga/src/base/ftdebug.c :
2.1.0 couldn't be linked against applications in Win32 and
Amiga builds due to changes to "src/base/ftdebug.c" that
were not properly propagated to "builds/win32" and
"builds/amiga"..
this has been fixed. We'll probably make 2.1.1 real
soon now..
* include/freetype/internal/ftobject.h,
include/freetype/internal/ftexcept.h,
include/freetype/ftsysmem.h,
include/freetype/ftsysio.h,
src/base/ftsysmem.c,
src/base/ftsysio.c:
adding new experimental files for 2.1.1 (or 2.1.2)
2002-04-18 10:07:26 +00:00
David Turner
d833d4c12d
adding new experimental header files
2002-04-17 22:54:02 +00:00
Werner Lemberg
0b12544efd
formatting
2002-04-17 22:42:13 +00:00
David Turner
0387c220a1
fixing typo preventing compilation in non-debugging modes
2002-04-17 11:32:10 +00:00
David Turner
de23a2670c
fixed max advance width computation within T1 driver
2002-04-17 09:37:59 +00:00
Werner Lemberg
567caf08f3
* src/pcf/pcfread (pcf_get_accell): Fix parsing of accelerator
...
tables.
2002-04-16 13:39:17 +00:00
David Turner
7d6784e0c7
changing options for release
2002-04-15 17:49:45 +00:00
Werner Lemberg
058b50a6d7
formatting
2002-04-15 13:37:29 +00:00
David Turner
ce5cd09e3d
removed compiler warning
2002-04-15 12:05:02 +00:00
David Turner
3144d1e818
preparing 2.1.0 release
2002-04-15 12:01:10 +00:00
Werner Lemberg
be60044eb1
* src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid
...
compiler warning.
formatting/fixing ChangeLog
2002-04-14 00:54:32 +00:00
David Turner
7bfce366c4
* builds/unix/ftconfig.in, builds/vms/ftconfig.h: Oops, forgot to
...
update these files too
2002-04-12 10:19:15 +00:00
David Turner
4ef3ec7caa
* README.UNX: updated the Unix-specific quick-compilation guide to
...
warn about the GNU Make requirement at compile time..
* include/freetype/config/ftstdlib.h,
include/freetype/config/ftconfig.h,
include/freetype/config/ftheader.h,
include/freetype/internal/ftmemory.h,
include/freetype/internal/ftobjs.h,
src/autohint/ahoptim.c,
src/base/ftdbgmem.c, src/base/ftdebug.c,
src/base/ftmac.c, src/base/ftobjs.c,
src/base/ftsystem.c,
src/cache/ftcimage.c, src/cache/ftcsbits.c,
src/cff/cffdriver.c, src/cff/cffload.c, src/cff/cffobjs.c,
src/cid/cidload.c, src/cid/cidparse.c, src/cid/cidriver.c,
src/pcf/pcfdriver.c, src/pcf/pcfread.c,
src/psaux/t1cmap.c, src/psaux/t1decode.c,
src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.c,
src/pshinter/pshrec.c,
src/psnames/psmodule.c,
src/raster/ftraster.c,
src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c,
src/smooth/ftgrays.c,
src/type1/t1afm.c, src/type1/t1driver.c, src/type1/t1gload.c,
src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c:
added the new configuration file "ftstdlib.h" used to define
aliases for all ISO C library functions used by the engine
(e.g. strlen, qsort, setjmp, etc...)
this eases the porting of FreeType 2 to exotic environments like
XFree86 modules/extensions..
also removed many #include <string.h>, #include <stdlib.h>, etc...
from the engine's sources where they're not needed..
2002-04-12 09:31:48 +00:00
Werner Lemberg
cdec219228
minor fixes
2002-04-11 19:55:58 +00:00
David Turner
13e0b90c46
* docs/FTL.txt: updated license text to provide a preffered disclaimer
...
and adjust copyright dates/extents
2002-04-11 15:17:16 +00:00
David Turner
44be9acbe6
* README, docs/CHANGES, Jamfile.in: updating for the 2.1.0 release
2002-04-11 14:21:16 +00:00
David Turner
242c529fee
* src/smooth/ftgrays.c (gray_hline): very minor optimization. :-)
2002-04-11 10:34:19 +00:00
Werner Lemberg
de757dd175
Fixes from the stable branch:
...
* include/freetype/config/ftoption.h (FT_CONFIG_OPTION_OLD_CALCS):
Removed.
[FT_CONFIG_OPTION_OLD_CALCS]: Removed.
* include/freetype/internal/ftcalc.h, src/base/ftcalc.c
[FT_CONFIG_OPTION_OLD_CALCS]: Removed.
* src/base/fttrigon.c (FT_Vector_Length): Change algorithm to match
output of FreeType 1.
* src/pshinter/pshglob.c (psh_globals_scale_widths): Fixed a small
bug that created un-even stem widths when hinting Postscript fonts.
formatting, updating copyright
2002-04-02 14:50:31 +00:00
Werner Lemberg
a1c0779c23
* src/type1/t1driver.c, src/type1/t1parse.c: 16bit fixes.
...
formatting, copyright updates
2002-04-01 22:01:46 +00:00
Werner Lemberg
546305fd3c
* src/truetype/ttgload.c: 16bit fixes.
...
(TT_Load_Simple_Glyph): Improve debug messages.
(load_truetype_glyph): Remove dead code.
* src/truetype/ttinterp.c: 16bit fixes.
* src/truetype/ttobjs.c: Ditto.
* include/freetype/ftsnames.h, include/freetype/internal/sfnt.h,
src/cff/cffload.h, src/psaux/psobjs.h, src/truetype/ttinterp.[ch],
src/sfnt/ttpost.h: s/index/idx/.
formatting, copyright updates.
2002-04-01 14:25:28 +00:00
Werner Lemberg
4cf900afa3
* src/sfnt/ttcmap.c: 16bit fixes (0xFFFF -> 0xFFFFU).
...
* src/sfnt/ttcmap0.c: 16bit fixes.
(TT_Build_CMaps): Simplify debug messages.
(tt_cmap12_char_next): Fix offset.
* src/sfnt/ttload.c (TT_Load_Names, TT_Load_CMap): Fix debug
messages.
(TT_Load_OS2): 16bit fix.
2002-03-31 18:48:24 +00:00
Werner Lemberg
259d88edbc
* src/psaux/t1cmap.c: s/index/idx/.
...
* src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Fix debug
messages.
2002-03-31 11:18:15 +00:00
Werner Lemberg
9bba0634a0
* src/truetype/ttobjs.c (TT_Size_Init): Fix typo.
...
* src/otlayout/otlcommn.c, src/otlayout/otlcommn.h: s/index/idx/.
2002-03-31 06:56:56 +00:00
Werner Lemberg
f1c46e5e00
formatting, copyright
2002-03-30 17:08:04 +00:00
Werner Lemberg
540dff7648
fix entry
2002-03-30 16:47:55 +00:00
Werner Lemberg
05109ff794
formatting
2002-03-30 16:46:23 +00:00
Werner Lemberg
f387e07c27
* src/cff/cffdrivr.c (cff_get_glyph_name): Fix debug message.
...
* src/cff/cffobjs.c (CFF_Driver_Init, CFF_Driver_Done)
[TT_CONFIG_OPTION_EXTEND_ENGINE]: Removed.
* src/cff/sfobjs.c (SFNT_Load_Face)
[TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto.
* src/truetype/ttobjs.c (TT_Init_Driver, TT_Done_Driver)
[TT_CONFIG_OPTION_EXTEND_ENGINE]: Ditto.
* src/truetype/ttdriver.c, src/truetype/ttobjs.c,
src/truetype/ttobjs.h: Renaming driver functions to the
FT_<Subject>_<Action> scheme:
TT_Init_Driver => TT_Driver_Init
TT_Done_Driver => TT_Driver_Done
TT_Init_Face => TT_Face_Init
TT_Done_Face => TT_Face_Done
TT_Init_Size => TT_Size_Init
TT_Done_Size => TT_Size_Done
TT_Reset_Size => TT_Size_Reset
2002-03-30 16:41:09 +00:00
David Turner
61526ec55f
fixing the function that computes an ASCII face name
2002-03-30 16:32:47 +00:00
David Turner
451e416d66
removing compiler warnings
2002-03-30 16:14:48 +00:00
David Turner
957565d4ee
updating comments for some TT_FaceRec fields
2002-03-30 16:09:24 +00:00
Werner Lemberg
f05e21a035
* include/freetype/t1tables.h (t1_blend_max): Fix typo.
...
* src/base/ftstream.c: Simplify FT_ERROR calls.
formatting, copyright update
2002-03-30 13:16:35 +00:00
Werner Lemberg
2b5f1a9b91
formatting
2002-03-29 23:23:28 +00:00
Werner Lemberg
471b953ac0
* builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to
...
FT_LOCAL and FT_LOCAL_DEF, respectively, as with other ftconfig.h
files.
* builds/unix/ftconfig.in: Add argument to FT_LOCAL and
FT_LOCAL_DEF.
* src/truetype/ttinterp.c: s/FT_Assert/FT_ASSERT/.
* builds/unix/configure.ac: Temporarily deactivate creation of
../../Jamfile.
* builds/unix/configure: Updated.
2002-03-29 07:43:04 +00:00
Werner Lemberg
eb7730815c
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.
2002-03-28 14:21:15 +00:00
Werner Lemberg
3431df9bcf
* include/freetype/internal/psaux.h (PSAux_ServiceRec): Fix
...
compiler warnings.
* include/freetype/internal/t1types.h (T1_FaceRec): Use `const' for
some members.
* src/base/ftapi.c (FT_New_Memory_Stream): Fix typos.
* src/psaux/t1cmap.c (t1_cmap_std_init, t1_cmap_unicode_init): Add
cast.
(t1_cmap_{standard,expert,custom,unicode}_class_rec): Use
`FT_CALLBACK_TABLE_DEF'.
* src/psaux/t1cmap.h: Updated.
* src/sfnt/ttcmap0.c (TT_Build_CMaps): Use `ft_encoding_none'
instead of zero.
* src/type1/t1objs.c (T1_Face_Init): Use casts.
2002-03-28 08:07:16 +00:00
David Turner
6a883fcd23
fixed a small bug in FT_CMaps support
2002-03-26 02:38:39 +00:00
David Turner
0bcc41ef02
removing compiler warnings
2002-03-25 17:02:26 +00:00
David Turner
5cfe15c7f6
formatting
2002-03-25 16:35:13 +00:00
David Turner
5f33c9009e
* src/base/ftobjs.c, src/sfnt/ttcmap0.c, src/type1/t1objs.c:
...
various fixes to make the FT_CMaps support work correctly
(more tests are still needed)
2002-03-22 22:37:40 +00:00
David Turner
636fdbd4a4
various fixes to the FT_CMaps support
2002-03-22 17:09:52 +00:00