freetype2/src/pfr
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 * src/gzip/ftgzip.c (ft_gzip_file_fill_output): Handle Z_STREAM_END 2003-06-09 15:54:18 +00:00
descrip.mms * src/pfr/pfrload.c (pfr_extra_items_farse): Fix debug message. 2002-04-20 05:38:33 +00:00
module.mk * src/pfr/pfrload.c (pfr_extra_items_farse): Fix debug message. 2002-04-20 05:38:33 +00:00
pfr.c * src/pfr/pfrsbit.h, src/pfr/pfrsbit.c, src/pfr/pfrload.c, 2002-10-05 14:57:03 +00:00
pfrcmap.c Install freetype2.m4. 2002-06-17 08:01:32 +00:00
pfrcmap.h * src/pfr/pfrload.c (pfr_extra_items_farse): Fix debug message. 2002-04-20 05:38:33 +00:00
pfrdrivr.c * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in 2003-06-22 15:33:53 +00:00
pfrdrivr.h * src/pfr/pfrload.c (pfr_extra_items_farse): Fix debug message. 2002-04-20 05:38:33 +00:00
pfrerror.h * src/pfr/pfrerror.h: New file. 2002-04-28 10:25:55 +00:00
pfrgload.c * src/pfr/pfrsbit.h, src/pfr/pfrsbit.c, src/pfr/pfrload.c, 2002-10-05 14:57:03 +00:00
pfrgload.h Formatting; adding file headers. 2002-10-07 10:12:43 +00:00
pfrload.c * src/pfr/pfrload.c (pfr_extra_item_load_font_id): Use FT_PtrDist 2003-04-23 14:14:06 +00:00
pfrload.h * src/pfr/pfrload.c (pfr_extra_items_farse): Fix debug message. 2002-04-20 05:38:33 +00:00
pfrobjs.c * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in 2003-06-22 15:33:53 +00:00
pfrobjs.h Fixing bugs reported by Nelson Beebe. 2003-04-23 19:48:24 +00:00
pfrsbit.c * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in 2003-06-22 15:33:53 +00:00
pfrsbit.h Formatting; adding file headers. 2002-10-07 10:12:43 +00:00
pfrtypes.h * src/pfr/pfrload.c (pfr_extra_item_load_font_id): Use FT_PtrDist 2003-04-23 14:14:06 +00:00
rules.mk * src/gzip/ftgzip.c (ft_gzip_file_fill_output): Handle Z_STREAM_END 2003-06-09 15:54:18 +00:00