Commit Graph

1426 Commits

Author SHA1 Message Date
David Turner 8ee071a0fc very preliminray CID support 2000-05-03 18:15:52 +00:00
David Turner 4fce93e0cb still working on that damn rasterizer bug !! ;-) 2000-05-03 18:15:40 +00:00
David Turner 112be4c609 "ftrast.c" now works for monochrome bitmaps, and doesn't
produce the artefacts of the current "ftraster.c"..

I'll change it soon to handle optimised 5-levels anti-aliasing
(backwards compatibility) in order to completely replace
"ftraster.c"
2000-05-03 10:37:37 +00:00
David Turner d186a361a1 various updates to reduce the compilation warnings 2000-05-02 17:41:41 +00:00
David Turner d89489210a ftrast.c 2000-05-02 13:29:29 +00:00
David Turner 06b73729c1 added FT_CONFIG_OPTION_OLD_CALCS to ensure that
the bytecode interpretation is exactly the same as in 1.4

this is needed to find a bug in the raster..
2000-05-02 11:04:18 +00:00
David Turner eede9015a0 removed the smooth renderer from the demos directory 2000-05-02 11:03:13 +00:00
David Turner c5b993245e updates needed to compile the source programs now that
the smooth renderer is part of the library..
2000-05-02 11:02:35 +00:00
David Turner 1119baee54 added support for version 2 of the OS/2 table
five additional fields (see OT Spec 1.2)
2000-05-02 11:01:49 +00:00
David Turner b7ef2b0968 in order to ensure that the bytecode interpretation is exactly
equivalent to the one in FT 1.4, moved some code from the
old version of FreeType in order to compute vector normalization
a bit differently
2000-05-02 11:01:12 +00:00
David Turner 48641d60ae added a simple line to set "glyph.control_len" when loading
a simple glyph. This is used to compute statistics on font files..
2000-05-02 11:00:06 +00:00
David Turner 9a9315faae changes to reflect the new files
include/tttables.h
  include/t1tables.h
2000-05-02 10:59:01 +00:00
David Turner 6eebf9053e first version of "t1tables", which will be used to access the
content of Type 1 fonts.

Note that an update will appear with the support for
multiple master fonts..
2000-05-02 10:57:43 +00:00
David Turner 62c7af635e added the definition of the MaxProfile table 2000-05-02 10:57:00 +00:00
David Turner bb287bd1c0 added the declaration of the smooth renderer to "include" 2000-05-02 10:55:46 +00:00
David Turner f7b5c822b2 defined FT_Pointer as a typeless pointer
added the declaration of FT_Default_Drivers
(implemented in ftinit.c)
2000-05-02 10:55:33 +00:00
David Turner 488cd71e4b a few updates to the OpenType Layout code
still far to go, but I'll dedicate most of my time on
it next week
2000-05-02 10:54:12 +00:00
David Turner e608a3e0d2 moved the smooth renderer to the base layer directory
it is compiled as a separate object, and its interface is
available in "include/ftgrays.h"
2000-05-02 10:53:11 +00:00
David Turner 271106133a added FT_Sqrt64 to ensure that all bytecode operations are
strictly equivalent to the ones in FT 1.4 when compiling with
the configuration macro FT_CONFIG_OPTION_OLD_CALCS
defined..
2000-05-02 10:52:28 +00:00
David Turner a8bcdf8ef6 added FT_Done_Stream 2000-05-02 10:51:41 +00:00
David Turner 68ebd1bee4 typo 2000-05-02 10:51:22 +00:00
David Turner 33ec7d473b removed an over-zealous assertation that halted the engine
with a few weird fonts.
2000-05-02 10:51:04 +00:00
David Turner 61492029a5 added macros to read little endian words from a byte stream
(e.g. NEXT_ShortLE(buffer))
2000-05-02 10:50:18 +00:00
David Turner 65e823da0f raised TT_MAX_SUBGLYPHS to 96 to avoid problems
with Asian fonts (with up to 80 contours !)
2000-04-25 16:36:31 +00:00
David Turner f8a116fb93 implemented extra interface for "FT_Get_Sfnt_Table" 2000-04-25 16:11:12 +00:00
David Turner 99a4d93b2d added FT_Get_Sfnt_Table from "include/tttables.h" 2000-04-25 16:10:50 +00:00
David Turner 2dbc54dd13 typo 2000-04-25 16:10:14 +00:00
David Turner 8ce47b1da6 added new auto-hinter driver interface !
modified tttypes.h to use the new "include/tttables.h"
2000-04-25 16:09:55 +00:00
David Turner ffd43a6fc8 added a new include file to access TrueType tables
directly (e.g. OS/2, Head, HMTX and Postscript)..
2000-04-25 16:09:17 +00:00
David Turner 680ec37326 added the FT_LOAD_FORCE_AUOHINT flag 2000-04-25 16:08:33 +00:00
David Turner 77054f2909 updates for the fifth beta 2000-04-14 20:49:52 +00:00
David Turner d8723b4fb2 fixed another small bug. The metrics were not computed
correctly..
2000-04-14 11:29:14 +00:00
David Turner 1216e434cc fixed a small bug that prevented the loading of certain
fonts that use the DOS linefeed convention.., including
the newest XFree86 4.0 B&H Type 1 fonts !!
2000-04-14 11:22:17 +00:00
David Turner 231d0587b0 raised the value of TT_MAX_SUBGLYPHS, as it prevented
the correct loading of some glyphs in Mingli.ttf
2000-04-14 10:29:00 +00:00
Werner Lemberg 7ae268a207 Fixed a compiler warning. 2000-04-10 22:50:40 +00:00
Werner Lemberg 69e010fdea Removed compiler warnings. 2000-04-10 22:50:20 +00:00
Werner Lemberg 32a53b2239 Adding LDFLAGS. I don't know yet a good solution (within GNU make) to
test whether -lm is needed or not...  It's time to use autoconf!


    Werner
2000-04-10 12:14:39 +00:00
Werner Lemberg c83bfdd56d Adding string.h 2000-04-10 12:13:40 +00:00
David Turner 521e2bc804 Added pre-liminary autoconf support files for Unix. Note that these don't work
correctly for now and will be updated later. They are currently ignored by the
build system.

You can however run `autoconf' when in "freetype2/config/unix" to generate
the `configure' script there.

Then, launch `configure' while in "config/unix". This will generate the
following files:

  - ftconfig.h
  - unix.mk
  - libtool

copy "unix.mk" to "freetype2/config.mk", then run make from the top-level
directory.

Note that for now, these file compile the library (with libtool). However,
installing isn't supported yet, as well as compiling the demo programs..
2000-04-10 12:11:33 +00:00
David Turner 90a36c5522 a small improvement to the Type 1 hinter, that
comes from research with the auto-hinter. Nothing
fancy but gets rid of the un-normalized widths :-)
2000-04-04 18:21:45 +00:00
David Turner 46ab6331e0 formatting, and remove the "interface" identifier
that causes problems with MS C++
2000-04-04 16:46:12 +00:00
David Turner ea10fbf91f Consider the smooth renderer completed ! It will probably
be moved to "freetype2/src/base" soon and become part
of the library.

changes include:

  - fixed a bug which prevented large spans being drawn correctly.
  - now renders large glyphs that overflow the render pool.
  - various performance enhancements. the renderer now
    renders large glyphs with much greater  speed :-)
  - also faster with small glyphs ..

future plans:
  - fix a vertical-dropout bug in the standard raster (b&w)
  - write a demonstration program to demonstrate direct
    composition..
2000-04-04 13:17:04 +00:00
David Turner 82942cc279 simple fix required by the auto-hinting module
(sets the ft_outline_reverse_fill bit_flag)
2000-03-30 08:43:03 +00:00
Just van Rossum 3562d014e6 minor improvements, mainly to the PFB testing code... 2000-03-28 19:41:56 +00:00
David Turner 69473e4efc fixed the display on 24-bit and 32-bit displays 2000-03-28 16:40:51 +00:00
David Turner 37379e2170 major changes to the library:
- there is now a "convenience" API to manage glyphs in
   "include/ftglyph.h". See the demo program "ftstring" for
   an example..

  - the raster interface has been changed in order to allow
    direct composition through user-provided callbacks. This
    has been tested but isn't demonstrated for now in "demos"

 - the FT_LOAD_NO_RECURSE flag is supported, as this is
   required by some new code in the auto-hinting engine

 - some bug fixed in FT_MulFix which made FT_xxx_Transform
   return incorrect results..
2000-03-28 11:22:31 +00:00
David Turner ed7f62aca5 support for FT_LOAD_NO_RECURSE needed by the auto-hinter 2000-03-28 11:19:28 +00:00
David Turner 7024ca1a37 ftoutln.c is now mandatory. The optional parts of this
component can be disabled with the config macro
FT_CONFIG_OPTION_NO_CONVENIENCE_FUNCS
2000-03-28 11:18:39 +00:00
David Turner e01a41d5eb fixed a stupid bug in FT_MulFix 2000-03-28 11:17:58 +00:00
David Turner b5c1a4e567 a new program to demonstrate the new convenience glyph
API (see include/ftglyph.h).

Supports kerning, rotation, sub-pixel rendering..
Could be easily modified to reach the level of strtto when
we have the relevant OpenType module handy..
2000-03-28 11:15:37 +00:00