freetype2/src
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
..
autofit Formatting, improving comments. 2005-12-20 12:01:58 +00:00
base * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
bdf * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
cache * src/cache/ftccache.c (FTC_Cache_Clear), src/cache/ftcmanag.c 2005-11-12 17:07:11 +00:00
cff * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
cid * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
gxvalid * src/base/ftobjs.c (FT_Open_Face): don't call FT_New_GlyphSlot and 2005-10-17 21:17:20 +00:00
gzip Add license. 2005-06-04 23:04:30 +00:00
lzw formatting, comment clean-up 2005-10-23 19:25:41 +00:00
otvalid * src/otvalid/otvmod.c (otv_validate): Use ft_validator_run instead 2005-08-20 05:33:09 +00:00
pcf * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
pfr * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
psaux Prepare use of pscmap service within CFF module. 2006-01-12 08:12:27 +00:00
pshinter Add license. 2005-06-04 23:04:30 +00:00
psnames Prepare use of pscmap service within CFF module. 2006-01-12 08:12:27 +00:00
raster Add license. 2005-06-04 23:04:30 +00:00
sfnt * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
smooth Add license. 2005-06-04 23:04:30 +00:00
tools * Jamfile, docs/reference/README: fix it so that "jam refdoc" works 2005-12-23 13:32:06 +00:00
truetype * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
type1 * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
type42 * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
winfonts * include/freetype/internal/sfnt.h (SFNT_Interface): New method 2006-01-13 12:21:31 +00:00
Jamfile Add license. 2005-06-04 23:04:30 +00:00