freetype/src/cff
Werner Lemberg 779afe4b91 * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in
computation of glyph_index.
(FNT_Size_Set_Pixels): To find a strike, first check pixel_height
only, then try to find a better hit by comparing pixel_width also.
Without this fix it isn't possible to access all strikes.
Also compute metrics.max_advance to be in sync with other bitmap
drivers.

* src/base/ftobjs.c (FT_Set_Char_Size): Remove redundant code.
(FT_Set_Pixel_Size): Assign value to `metrics' after validation of
arguments.


Synchronize computation of height and width for bitmap strikes.  The
`width' field in the FT_Bitmap_Size structure is now only useful to
enumerate different strikes.  The `max_advance' field of the
FT_Size_Metrics structure should be used to get the (maximum) width
of a strike.

* src/bdf/bdfdrivr.c (BDF_Face_Init): Don't use AVERAGE_WIDTH for
computing `available_sizes->width' but make it always equal to
`available_sizes->height'.

* src/pcf/pcfread.c (pcf_load_font): Don't use RESOLUTION_X for
computing `available_sizes->width' but make it always equal to
`available_sizes->height'.

* src/truetype/ttdriver.c (Set_Pixel_Sizes): Pass only single
argument to function.

* src/psnames/psmodule.c (ps_unicode_value): Handle `.' after
`uniXXXX' and `uXXXX[X[X]]'.


* src/bdf/bdfdrivr.c: s/FT_Err_/BDF_Err/.
* src/cache/ftccache.c, src/cache/ftcsbits.c, src/cache/ftlru.c:
s/FT_Err_/FTC_Err_/.
* src/cff/cffcmap.c: s/FT_Err_/CFF_Err_/.
* src/pcf/pcfdrivr.c: s/FT_Err_/PCF_Err_/.
* src/psaux/t1cmap.c: Include psauxerr.h.
s/FT_Err_/PSaux_Err_/.
* src/pshinter/pshnterr.h: New file.
* src/pshinter/rules.mk: Updated.
* src/pshinter/pshalgo.c, src/pshinter/pshrec.c: Include pshnterr.h.
s/FT_Err_/PSH_Err_/.
* src/pfr/pfrdrivr.c, src/pfr/pfrobjs.c, src/pfr/pfrsbit.c:
s/FT_Err_/PFR_Err_/.
* src/sfnt/sfdriver.c, src/sfnt/sfobjs.c, src/sfnt/ttcmap0.c,
src/sfnt/ttload.c: s/FT_Err_/SFNT_Err_/.
* src/truetype/ttgload.c: s/FT_Err_/TT_Err_/.
* src/gzip/ftgzip.c: Load FT_MODULE_ERRORS_H and define
FT_ERR_PREFIX and FT_ERR_BASE.
s/FT_Err_/Gzip_Err_/.
2003-06-22 15:33:53 +00:00
..
cff.c * src/cff/cffcmap.c, src/cff/cffcmap.h, Jamfile, rules.mk: new files added 2002-07-10 16:52:06 +00:00
cffcmap.c * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in 2003-06-22 15:33:53 +00:00
cffcmap.h * src/cff/cffobjs.c (cff_face_init): Use symbolic names for 2003-06-02 21:58:05 +00:00
cffdrivr.c * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in 2003-06-22 15:33:53 +00:00
cffdrivr.h * src/cff/cffdrivr.c (cff_get_glyph_name): Fix debug message. 2002-03-30 16:41:09 +00:00
cfferrs.h Formatting. 2001-06-19 23:03:41 +00:00
cffgload.c * src/autohint/ahhint.c (ah_hinter_hint_edges): Removed. Just a 2003-06-03 11:51:43 +00:00
cffgload.h * src/autohint/ahhint.c (ah_hinter_hint_edges): Removed. Just a 2003-06-03 11:51:43 +00:00
cffload.c * src/cff/cffload (cff_encoding_load): `nleft' must be FT_UInt, 2003-06-20 07:50:13 +00:00
cffload.h Simplified the incremental loading system for CFF fonts and fixed 2002-08-23 10:08:38 +00:00
cffobjs.c * src/psnames/psmodule.c (ps_unicode_value): Add support to 2003-06-20 07:33:20 +00:00
cffobjs.h * src/cff/cffcmap.c, src/cff/cffcmap.h, Jamfile, rules.mk: new files added 2002-07-10 16:52:06 +00:00
cffparse.c * include/freetype/internal/psaux.h (T1_FieldType): Add 2003-06-06 05:07:53 +00:00
cffparse.h * src/cff/cffcmap.c, src/cff/cffcmap.h, Jamfile, rules.mk: new files added 2002-07-10 16:52:06 +00:00
cfftoken.h * include/freetype/internal/psaux.h (T1_FieldType): Add 2003-06-06 05:07:53 +00:00
descrip.mms * src/cff/cffdrivr.c (cff_get_glyph_name): Fix debug message. 2002-03-30 16:41:09 +00:00
Jamfile 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00
module.mk Removing trailing whitespace. 2000-10-31 20:42:18 +00:00
rules.mk Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00