freetype2/src/gzip
Werner Lemberg 949bca5584 * 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
..
Jamfile 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00
adler32.c various improvements for 2.1.4. see ChangeLog, I've got problems with 2003-01-30 23:24:18 +00:00
descrip.mms * include/freetype/ftgzip.h, src/gzip/ftgzip.c: 2002-10-31 22:19:27 +00:00
ftgzip.c * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in 2003-06-22 15:33:53 +00:00
infblock.c various improvements for 2.1.4. see ChangeLog, I've got problems with 2003-01-30 23:24:18 +00:00
infblock.h 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00
infcodes.c various improvements for 2.1.4. see ChangeLog, I've got problems with 2003-01-30 23:24:18 +00:00
infcodes.h 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00
inffixed.h * include/freetype/ftgzip.h, src/gzip/ftgzip.c: 2002-10-31 22:19:27 +00:00
inflate.c various improvements for 2.1.4. see ChangeLog, I've got problems with 2003-01-30 23:24:18 +00:00
inftrees.c * src/base/ftmac.c (FT_New_Face_From_SFNT): s/rlen/sfnt_size/ to 2003-06-07 05:13:22 +00:00
inftrees.h 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00
infutil.c various improvements for 2.1.4. see ChangeLog, I've got problems with 2003-01-30 23:24:18 +00:00
infutil.h * src/gzip/ftgzip.c: (inflate_mask): Replaced with... 2003-06-09 20:55:04 +00:00
rules.mk Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00
zconf.h * src/gzip/adler32.c, src/gzip/infblock.c, src/gzip/inflate.c, 2002-12-26 20:51:04 +00:00
zlib.h * src/gzip/adler32.c, src/gzip/infblock.c, src/gzip/inflate.c, 2002-12-26 20:51:04 +00:00
zutil.c 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00
zutil.h * include/freetype/config/ftstdlib.h (ft_strcat): New wrapper macro 2003-05-21 07:39:42 +00:00