diff options
author | David Turner <david@freetype.org> | 2002-08-27 20:20:29 +0000 |
---|---|---|
committer | David Turner <david@freetype.org> | 2002-08-27 20:20:29 +0000 |
commit | b08fe2dc7af972a61f4e6bcadd7bb522861faec5 (patch) | |
tree | 9091785d1d8f5f4e1b3e67f73a28a7acf6aa7394 /src/truetype/ttpload.h | |
parent | 51b6699a35ae3204ffadf0e53fbfb73c486050f4 (diff) | |
download | freetype2-b08fe2dc7af972a61f4e6bcadd7bb522861faec5.tar.gz |
* massive re-formatting changes to many, many source files. I don't
want to list them all here. The operations performed were all logical
transformations of the sources:
- trying to convert all enums and constants to CAPITALIZED_STYLE, with
#define definitions like
#define my_old_constants MY_NEW_CONSTANT
- big, big update of the documentation comments
* include/freetype/freetype.h, src/base/ftobjs.c, src/smooth/ftsmooth.c,
include/freetype/ftimage.h: adding support for LCD-optimized rendering
though the new constants/enums:
FT_RENDER_MODE_LCD, FT_RENDER_MODE_LCD_V
FT_PIXEL_MODE_LCD, FT_PIXEL_MODE_LCD_V
this is still work in progress, don't expect everything to work correctly
though most of the features have been implemented.
* adding new FT_LOAD_XXX flags, used to specify both hinting and rendering
targets:
FT_LOAD_TARGET_NORMAL :: anti-aliased hinting & rendering
FT_LOAD_TARGET_MONO :: monochrome bitmaps
FT_LOAD_TARGET_LCD :: horizontal RGB/BGR decimated hinting & rendering
FT_LOAD_TARGET_LCD_V :: vertical RGB/BGR decimated hinting & rendering
note that FT_LOAD_TARGET_NORMAL is 0, which means that the default
behaviour of the font engine is _unchanged_.
Diffstat (limited to 'src/truetype/ttpload.h')
-rw-r--r-- | src/truetype/ttpload.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/truetype/ttpload.h b/src/truetype/ttpload.h index c83b2f269..3f8cd64ff 100644 --- a/src/truetype/ttpload.h +++ b/src/truetype/ttpload.h @@ -28,16 +28,16 @@ FT_BEGIN_HEADER FT_LOCAL( FT_Error ) - TT_Load_Locations( TT_Face face, + tt_face_load_loca( TT_Face face, FT_Stream stream ); FT_LOCAL( FT_Error ) - TT_Load_CVT( TT_Face face, - FT_Stream stream ); + tt_face_load_cvt( TT_Face face, + FT_Stream stream ); FT_LOCAL( FT_Error ) - TT_Load_Programs( TT_Face face, - FT_Stream stream ); + tt_face_load_fpgm( TT_Face face, + FT_Stream stream ); FT_END_HEADER |