freetype/src/cid
Wu, Chia-I (吳佳一) fa7d6ab217 * include/freetype/internal/sfnt.h (SFNT_Interface): New method
`load_strike_metrics' used to load the strike's metrics.

* src/sfnt/sfdriver.c, src/sfnt/ttsbit.c, src/sfnt/ttsbit.h,
src/sfnt/ttsbit0.c: New function `tt_face_load_strike_metrics'.

* src/pfr/pfrobjs.c (pfr_face_init): Set FT_Bitmap_Size correctly.

* src/winfonts/winfnt.c (FNT_Face_Init): Use `nominal_point_size' for
nominal size unless it is obviously incorrect.

* include/freetype/freetype.h (FT_Bitmap_Size): Update the comments on
FNT driver.


Introduce new size selection interface.

* include/freetype/internal/ftdriver.h (struct FT_Driver_ClassRec_):
Replace `set_char_sizes' and `set_pixel_sizes' by `request_size' and
`select_size'.

* include/freetype/freetype.h (FT_Select_Size, FT_Size_Request_Type,
FT_Size_Request, FT_Request_Size, FT_Select_Size), src/base/ftobjs.c
(FT_Select_Size, FT_Request_Size): API additions to export the new
size selection interface.

* src/base/ftobjs.c (FT_Set_Char_Size, FT_Set_Pixel_Sizes): Use
`FT_Request_Size'.

* include/freetype/internal/ftobjs.h (FT_Match_Size),
src/base/ftobjs.c (FT_Match_Size): New function to match a size
request against `available_sizes'.  Drivers supporting bitmap strikes
can use this function to implement `request_size'.

* src/bdf/bdfdrivr.c, src/cid/cidobjs.c, src/cid/cidobjs.h,
src/cid/cidriver.c, src/pcf/pcfdrivr.c, src/type1/t1driver.c,
src/type1/t1objs.c, src/type1/t1objs.h, src/type42/t42drivr.c,
src/type42/t42objs.c, src/type42/t42objs.h, src/winfonts/winfnt.c:
Update to new size selection interface.

* src/cff/cffdrivr.c, src/cff/cffgload.c, src/cff/cffobjs.c,
src/cff/cffobjs.h, src/truetype/ttdriver.c, src/truetype/ttgload.c,
src/truetype/ttobjs.c, src/truetype/ttobjs.h: Update to new size
selection interface.
Make `strike_index' FT_ULong and always defined.
Use `load_strike_metrics' provided by SFNT interface.
2006-01-13 12:21:31 +00:00
..
ciderrs.h Formatting. 2001-06-19 23:03:41 +00:00
cidgload.c * include/freetype/internal/ftobjs.h (ft_glyphslot_grid_fit_metrics), 2005-12-16 14:27:14 +00:00
cidgload.h * src/truetype/ttobjs.c (tt_driver_done): Fix typo. 2004-05-06 11:48:35 +00:00
cidload.c Handle unsorted SFNT type 4 cmaps correctly (reported by Dirck 2005-05-09 22:11:36 +00:00
cidload.h Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
cidobjs.c * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
cidobjs.h * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
cidparse.c * src/type1/t1load.c (read_binary_data): Return more meaningful 2005-02-13 21:42:42 +00:00
cidparse.h Add support for the hexadicimal representation of binary data 2004-01-23 19:52:40 +00:00
cidriver.c * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
cidriver.h formatting, copyright 2002-03-30 17:08:04 +00:00
cidtoken.h * Jamfile: adding the "refdoc" target to the Jamfile in order to 2003-08-17 22:31:23 +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
rules.mk Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00
type1cid.c finishing function header formatting 2001-06-28 17:49:10 +00:00