Commit Graph

42 Commits

Author SHA1 Message Date
David Turner
b1677a87ca changed the SFNT driver slightly to add more robust
checking based on the "search_rang", etc.., fields of
the sfnt header..

This avoids problems (like certain Type 1 multiple masters
incorrectly recognized as trueType files)..
2000-05-29 20:37:41 +00:00
David Turner
241e151eb2 oops, forgot to commit these files 2000-05-28 17:15:37 +00:00
David Turner
3475e7fba3 removed TT_MAX_SUBGLYPHS macro, there is no static
limit on the number of subglyphs in a TrueType font..

changed the default number of gray levels used by the
smooth renderer to 256 (instead of 128). Of course, the
human eye can't tell a difference ;-)
2000-05-17 20:56:01 +00:00
David Turner
e49ab25c08 formatting - removed trailing spaces 2000-05-16 23:44:38 +00:00
David Turner
33aab6e5b6 removed obsolete files + update 2000-05-16 22:36:55 +00:00
David Turner
c91cfe1100 small update to the memory tester 2000-05-12 15:51:42 +00:00
David Turner
c30aea9846 another massive changes in order to completely avoid
compiler warnings with GCC + "-ansi -pedantic -Wall -W"
and LCC.

Also fixed the compilation of "type1z" with Win32-LCC
(its pre-processor is broken !!)

Updated the BUILD document too
2000-05-12 15:01:18 +00:00
David Turner
bfe2f98f1f a new massive grunt work. Redefined the EXPORT_DEF,
EXPORT_FUNC, BASE_DEF and BASE_FUNC macros to
let them take an argument..

This is needed to compile the library as a DLL on some platforms
that have different compiler conventions..
2000-05-12 12:17:15 +00:00
David Turner
efce08d67c major re-organisation of the FreeType 2 directory hierarchy 2000-05-11 18:23:52 +00:00
David Turner
08c3875589 at last, the bug seems to be solved. Now, the source code
should be cleaned up, and we'll be done with the raster :o)
2000-05-04 16:36:34 +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
eede9015a0 removed the smooth renderer from the demos directory 2000-05-02 11:03:13 +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
c83bfdd56d Adding string.h 2000-04-10 12:13:40 +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
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
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
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
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
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
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
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
Just van Rossum
3d76a9fbbe added cast to the string literal for Text to shut up my compiler. (btw. this literal contains non 7-bit characters!)
if compiled for MacOS
- use the Mac path separator to get the base file name
- don't append .ttf if no dot in the file name
2000-03-02 01:15:37 +00:00
Just van Rossum
2a4f206f5f if compiled for MacOS
- use the Mac path separator to get the base file name
- don't append .ttf if no dot in the file name
(plus small typo fix and error message enhancement)
2000-03-02 01:11:17 +00:00
Just van Rossum
6f9a72d54e ft_basename(): if compiled for MacOS, use the Mac path separator 2000-03-02 01:09:28 +00:00
David Turner
63cb46dd1a simple fixes 2000-02-22 13:34:26 +00:00
David Turner
b2a21e5170 minor change, for benchmark comparison 2000-02-21 16:18:43 +00:00
David Turner
fbff3e8fc7 added a memory checking test program, used to
solve the memory leak reported by Jack Davis
2000-02-21 16:18:25 +00:00
David Turner
c64f644264 simple update to allow several rendering modes
(useful for testing the Unicode charmaps)
2000-02-21 16:18:01 +00:00
David Turner
1e7f843261 simple fix 2000-02-21 16:17:36 +00:00
David Turner
5ce5884d59 some small updates that are useful to debug
graphics drivers and the library..
2000-01-17 11:08:11 +00:00
David Turner
f6356ab713 some changes used to debug the new raster and the OS/2
graphics driver
2000-01-14 15:38:30 +00:00
David Turner
d2b1f35704 Initial revision 1999-12-16 23:11:37 +00:00