freetype/src/psaux
Wu, Chia-I (吳佳一) bcc438b15e * include/freetype/freetype.h (FT_Select_Size): Rename the second
argument from `idx' to `strike_index'.
(FT_Size_Request_Type): Add FT_SIZE_REQUEST_TYPE_MAX to the end of
this enum.

* include/freetype/internal/ftobjs.h (FT_REQUEST_WIDTH,
FT_REQUEST_HEIGHT): New macros to get the width and height of a
request, in fractional pixels.

* include/freetype/internal/ftobjs.h (FT_Select_Metrics,
FT_Request_Metrics), src/base/ftobjs.c (FT_Select_Metrics,
FT_Request_Metrics): New base functions to set the font metrics.  They
were part of FT_Select_Size/FT_Request_Size and are made independent
functions so that metrics are not set again and again.

* src/base/ftobjs.c (FT_Select_Size, FT_Request_Size): Metrics are set
only when driver's size_select/size_request is NULL.  That is, drivers
should set the metrics themselves.
(FT_Match_Size): Round before matching.  This was what we did and it
does cause some problems without rounding.

* src/cff/cffobjs.c (cff_size_select), src/truetype/ttdriver.c
(tt_size_select): Set the font metrics.
s/index/strike_index/.
The scaled metrics are always preferred over strikes' metrics, even
when some strike is selected.  This is done because the strikes'
metrics are not reliable, e.g., the sign of the descender is wrong for
some fonts.

* src/cff/cffobjs.c (cff_size_request), src/truetype/ttdriver.c
(tt_size_request): Set the font metrics.
Call cff_size_select/tt_size_select when some strike is matched.

* src/bdf/bdfdrivr.c, src/cff/cffobjs.c, src/cid/cidobjs.c,
src/pcf/pcfdrivr.c, src/truetype/ttdriver.c, src/type1/t1objs.c,
src/type1/t1objs.h, src/type42/t42objs.c, src/winfonts/winfnt.c:
Set the font metrics.
s/index/strike_index/.

* src/tools/test_afm.c, src/psaux/psconv.c: Older versions of these
files were committed.  Just a catch-up.
(PS_Conv_ToFixed): Remove the `goto'.
(PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Speed up a little.

* src/sfnt/ttsbit.c (tt_face_load_sbit_strikes,
tt_face_load_strike_metrics), src/sfnt/ttsbit0.c
(tt_face_load_sbit_strikes, tt_face_load_strike_metrics): The
advertised metrics in `available_sizes' are different from those
actually used.
2006-01-23 14:12:40 +00:00
..
afmparse.c Use pscmap service in CFF module. 2006-01-17 16:55:32 +00:00
afmparse.h Use pscmap service in CFF module. 2006-01-17 16:55:32 +00:00
Jamfile Add license. 2005-06-04 23:04:30 +00:00
module.mk Added copyright messages to all Makefiles. 2000-10-17 03:38:43 +00:00
psaux.c * src/psaux/psaux.c src/psaux/psauxmod.c src/type1/t1driver.c: Make 2006-01-23 10:46:38 +00:00
psauxerr.h Formatting. 2001-06-19 23:03:41 +00:00
psauxmod.c * src/psaux/psaux.c src/psaux/psauxmod.c src/type1/t1driver.c: Make 2006-01-23 10:46:38 +00:00
psauxmod.h finishing function header formatting 2001-06-28 17:49:10 +00:00
psconv.c * include/freetype/freetype.h (FT_Select_Size): Rename the second 2006-01-23 14:12:40 +00:00
psconv.h Use pscmap service in CFF module. 2006-01-17 16:55:32 +00:00
psobjs.c Formatting, copyright years. 2006-01-16 22:35:33 +00:00
psobjs.h Heavy modification of the PS parser to handle comments and strings 2003-10-07 05:49:41 +00:00
rules.mk Formatting, copyright years. 2006-01-16 22:35:33 +00:00
t1cmap.c Prepare use of pscmap service within CFF module. 2006-01-12 08:12:27 +00:00
t1cmap.h Prepare use of pscmap service within CFF module. 2006-01-12 08:12:27 +00:00
t1decode.c * builds/unix/freetype-config.in: Add new flag `--ftversion' to 2005-02-10 08:18:27 +00:00
t1decode.h Updated copyright years. 2003-09-30 07:00:42 +00:00