freetype/src/cff
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
..
cff.c * src/base/fttrigon.c, src/base/ftgloadr.c: Inlude 2003-12-26 07:26:08 +00:00
cffcmap.c Use pscmap service in CFF module. 2006-01-17 16:55:32 +00:00
cffcmap.h Use pscmap service in CFF module. 2006-01-17 16:55:32 +00:00
cffdrivr.c Formatting, copyright year updates. 2006-01-13 14:53:28 +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 * include/freetype/internal/ftobjs.h, src/base/ftobjs.c, 2006-01-15 15:01:45 +00:00
cffgload.h * src/cff/cffgload.h (CFF_Builder): Remove `error' 2004-05-13 21:59:17 +00:00
cffload.c Fix source code comment. 2005-12-04 12:48:57 +00:00
cffload.h * src/base/fttrigon.c, src/base/ftgloadr.c: Inlude 2003-12-26 07:26:08 +00:00
cffobjs.c * include/freetype/freetype.h (FT_Select_Size): Rename the second 2006-01-23 14:12:40 +00:00
cffobjs.h Formatting, copyright year updates. 2006-01-13 14:53:28 +00:00
cffparse.c * src/otlayout/otlgpos.c (otl_gpos_subtable_validate): Add argument 2004-08-29 16:50:09 +00:00
cffparse.h * src/base/fttrigon.c, src/base/ftgloadr.c: Inlude 2003-12-26 07:26:08 +00:00
cfftoken.h Make otlayout module compile (without actually working). 2004-08-12 12:22:28 +00:00
cfftypes.h * src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 32. For 2003-12-20 07:30:05 +00:00
Jamfile Add license. 2005-06-04 23:04:30 +00:00
module.mk Removing trailing whitespace. 2000-10-31 20:42:18 +00:00
rules.mk * src/cff/cfftypes.h (CFF_FontRecDictRec): Change type of 2003-12-18 08:18:37 +00:00