Commit Graph

5287 Commits

Author SHA1 Message Date
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
David Turner 6b0149b826 a new simple program to display composite glyphs in a given
font. Used during auto-hinting research
2000-03-28 11:14:24 +00:00
Antoine Leca b46a2d8a74 Adding the new languages codes from Apple and the new Unicode ranges as for 3.0 2000-03-23 17:24:28 +00:00
David Turner 14d340ce2e fixed a _really_ stupid bugs in the TrueType Collection
loading !!
2000-03-17 23:33:07 +00:00
Just van Rossum f8bc2d3ca6 use escapes instead of 8-bit in the Text constant: the 8-bit version got mangled by maccvs... 2000-03-17 13:15:38 +00:00
Just van Rossum 5a34a7bac2 use stream->memory instead of malloc/free. 2000-03-17 13:07:21 +00:00
David Turner 137c88880d updated the "smooth" anti-aliaser. By increasing the number
of segments used to decompose a bezier curve, we get rid
of the "fuzz-fuzz" factor.

it's also faster than the standard renderer after tweaking.
Note that it isn't completed yet..
2000-03-17 12:47:49 +00:00
Just van Rossum fbf3ce2890 updated project files 2000-03-17 11:53:52 +00:00
Just van Rossum 65a60dc12e Here's the Mac FOND driver! It seems to work well, but it turns out the Type 1 drivers (old as well as new) reject about half the fonts I have. 2000-03-17 11:53:17 +00:00
Just van Rossum 5ae477c4f2 Added prototype for T1_Done_Parser() 2000-03-17 11:51:33 +00:00
Just van Rossum 05ef28c4ad Added mac FOND driver, and use t1z driver instead of the "old" t1 driver. 2000-03-17 11:48:25 +00:00
David Turner 1d85a73d1a Added a new version of the "smooth". This one uses
an algorithm that is very close to our standard raster.

However, it is (theorically for now) capable of direct
composition !!
2000-03-17 10:15:20 +00:00
David Turner 7e68ad481f fix to compile with latest FreeType 2 2000-03-17 10:14:22 +00:00
David Turner 16afbe2d5f update 2000-03-17 10:13:52 +00:00
David Turner a6415244f1 updated documentation for Beta 4 2000-03-13 14:25:00 +00:00
David Turner c3c7e7fb0c updated CHANGES
added BUILD & INSTALL
2000-03-13 14:19:31 +00:00
David Turner 757429fdc9 fix to get rid of compile warning 2000-03-13 13:02:57 +00:00
David Turner 7f7aadf4f7 finished moving all configuration macros to
"config/ftoption.h"
2000-03-13 12:57:27 +00:00
David Turner 3246efedcd first step towards moving all configuration options
to the single "config/ftoption.h"
2000-03-13 12:12:46 +00:00
David Turner 06d508c1de removed the unused/obsolete "ftbbox.c" 2000-03-13 11:52:44 +00:00
David Turner 4258c4fe9f removed src/shared/ttnameid.h (redundant) 2000-03-13 11:50:38 +00:00
David Turner f6dc6c17e7 renamed ttnamedid.h to ttnameid.h 2000-03-13 11:50:15 +00:00
David Turner 7f615aef5e renamed all outlines functions to the
FT_Outline_<action> syntax..
2000-03-13 11:49:20 +00:00
David Turner 41dbcbf628 reformatting, changing the FT_Outline structure:
- "flags" have been renamed to "tags"
  - "outline_flags" have been renamed to "flags"

Look for more re-formatting today..
2000-03-09 11:46:25 +00:00
David Turner 291afa0992 added the new "smooth" anti-aliaser
(see the file "demos/src/ftgrays.c"),

and modified "ftview" and "fttimer" to use it..

Note that this thing is still under heavy beta..
2000-03-08 14:14:55 +00:00
David Turner e98e4af73c fixed a nasty bug that occured with CMAP format 4.. 2000-03-06 17:01:07 +00:00
David Turner 0f99ddda5f changed the structure of FT_Outline in order to pack
all outline flags in a single integer..

Changed the rest of the library and demo programs
accordingly..
2000-03-06 13:23:32 +00:00
David Turner 9d76a8d67a a few fixes to get rid of unwanted compile-time warnings 2000-03-06 09:51:19 +00:00
Just van Rossum 80f4b060e3 fixed typo in comment 2000-03-05 16:10:10 +00:00
Just van Rossum 1eabbcb453 properly behave in case the console window became active 2000-03-05 16:09:21 +00:00
Just van Rossum 7eef5364b8 - ft_new_input_stream: don't make a new copy of the pathname
- ft_done_stream: remove the FREE(pathname) call, which wasn't
  kosher
- FT_Open_Face: after calling open_face, don't assume driver is
  the same as face->driver, use face->driver instead
2000-03-05 16:07:58 +00:00
Just van Rossum 59d8ac4615 formatting: some tabs replaced by spaces 2000-03-05 15:59:09 +00:00
Werner Lemberg febe3fbeba A first check of FT2's Make system. Many smaller and larger bugs have been
fixed:

. Removing unused variables.

. detect.mk files now must provide $(CONFIG_FILE) and not $(CONFIG_RULE).

. ansi.mk will now be really used as a fallback if the detect mechanism
  fails.

. ANSIFLAGS will now be really used (fixing a typo).

. `make clean' now works (again two typos).

. Detection of gcc on Unix has been fixed (using the `-v' option instead of
  `--version').

. `make devel' now works (on Unix).

. Fixing *again* a bug in demos/graph/x11/rules.mk to allow multiple use
  of `-L' compiler options.

. $(BASE_H) now contains a few more header files.

As usual, a lot of formatting (not finished yet).
2000-03-05 01:14:19 +00:00
Just van Rossum 8c5c932e46 fixed typo in comment 2000-03-02 10:53:32 +00:00
Just van Rossum 1e5754f2d6 added missing "else": without it FT_Open_Face() would still scan the list of drivers when specifying an explicit driver 2000-03-02 10:52:57 +00:00
Just van Rossum 7ba2c674a6 readme file: needs copyright notice 2000-03-02 01:42:48 +00:00
Just van Rossum 858fd5f7f1 Mac demo support stuff. 2000-03-02 01:38:53 +00:00
Just van Rossum 2e8482b31d Mac modules file. For now the same as the default, minus the t1z driver. First step in adding a Mac FOND driver... 2000-03-02 01:28:18 +00:00
Just van Rossum 926c81c8ba CodeWarrior Pro4 project file to build the FT library under MacOS 2000-03-02 01:26:53 +00:00
Just van Rossum 829fbf194e Mac backend for the graphics subsystem. 2000-03-02 01:18:38 +00:00