diff options
author | Wu, Chia-I (吳佳一) <olvaffe@gmail.com> | 2006-01-15 06:00:49 +0000 |
---|---|---|
committer | Wu, Chia-I (吳佳一) <olvaffe@gmail.com> | 2006-01-15 06:00:49 +0000 |
commit | e5ff059f7fc32f43753230396efb62a4ac4c0cc5 (patch) | |
tree | 3e64932ab091884602becb30b2a3bd5154bd687b /src/pcf | |
parent | 01fa8238ef5e2c360e7f0a259bab07594906fcd2 (diff) |
* src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/pcf/pcfdrivr.c
(PCF_Glyph_Load), src/winfonts/winfnt.c (FNT_Load_Glyph): Don't set
the linear advance fields as they are only for the outline glyphs.
* include/freetype/freetype.h: Documentation updates/clarificatoins.
The meaning of FT_LOAD_FORCE_AUTOHINT is changed so that no real
change need be made to the code.
* src/base/ftobjs.c (FT_Load_Glyph): Resolve flag dependencies and
decide whether to use the auto-hinter according to documentation.
There should to be no real difference.
Some checks (e.g., is text height positve?) after the glyph is loaded.
(FT_Select_Size, FT_Request_Size): Scales are set to wrong values.
Be careful that scales won't be negative.
Diffstat (limited to 'src/pcf')
-rw-r--r-- | src/pcf/pcfdrivr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pcf/pcfdrivr.c b/src/pcf/pcfdrivr.c index a0491ed9..0bb1f770 100644 --- a/src/pcf/pcfdrivr.c +++ b/src/pcf/pcfdrivr.c @@ -520,6 +520,7 @@ THE SOFTWARE. } } + slot->format = FT_GLYPH_FORMAT_BITMAP; slot->bitmap_left = metric->leftSideBearing; slot->bitmap_top = metric->ascent; @@ -530,9 +531,6 @@ THE SOFTWARE. metric->leftSideBearing ) << 6; slot->metrics.height = bitmap->rows << 6; - slot->linearHoriAdvance = (FT_Fixed)bitmap->width << 16; - slot->format = FT_GLYPH_FORMAT_BITMAP; - FT_TRACE4(( " --- ok\n" )); Exit: |