Commit Graph

1985 Commits

Author SHA1 Message Date
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
Just van Rossum
d35aea7090 ft_new_input_stream(): set the pathname field of the stream to args->pathname. Needed for the Mac fond driver.
ft_done_stream(): free the pathname field, if not null
2000-03-02 01:07:50 +00:00
David Turner
ca13392d83 a few changes to really compile font drivers in
independent single objects..
2000-03-01 13:24:38 +00:00
David Turner
d275435a4f simple change to compile with the latest FT2 source
changes
2000-03-01 13:23:41 +00:00
David Turner
e595014a64 simple minor fix in t1afm.h/t1afm.c 2000-02-29 17:14:02 +00:00
David Turner
c75f71e049 fix 2000-02-29 17:12:03 +00:00
David Turner
e755002ddc moved the ANSI "ftsystem.c" to src/base 2000-02-29 17:11:53 +00:00
David Turner
7bda46d094 updated the build system to avoid file duplication :
- All "common" ANSI files were moved to "freetype2/config"
- The modules list is in "config" now (instead of
  config/<system>")
- All system-specific configuration Makefiles have been
  renamed. E.g.  "config/win32/Makefile.gcc" is now
  "config/win32/w32-gcc.mk"
- Updated "config/freetype.mk" and "config/modules.mk"
2000-02-29 16:56:18 +00:00
David Turner
587bc78f86 the Win32 seems to be fixed and working now 2000-02-28 15:13:08 +00:00
David Turner
9c84887db3 remaining fixes from Just 2000-02-28 11:32:54 +00:00
David Turner
9ac7fa16ff small update in config files 2000-02-28 11:32:17 +00:00
David Turner
7b63d2ea1b fixed a bug that prevented the reading of AFM
files..
2000-02-28 11:25:01 +00:00
David Turner
7bb7fedef1 fixed a bug which appeared when loading
unscaled composite glyphs
2000-02-28 11:23:36 +00:00
David Turner
58c10b5a6b updated 2000-02-22 14:31:42 +00:00
David Turner
9e2943496c updated the license 2000-02-22 13:53:16 +00:00
David Turner
35eee3f307 removed the reference to 'type1z' in order to allow compilation under OS/2 2000-02-22 13:53:01 +00:00
David Turner
63cb46dd1a simple fixes 2000-02-22 13:34:26 +00:00
David Turner
d60389be36 formatting 2000-02-21 17:46:24 +00:00
David Turner
a1b60580a2 small fix, PageUp/PageDown now work
Alt-F4 doesn't work anymore (needs more
changes :-)
2000-02-21 17:45:15 +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
08fdac980a fixed a bug in the glyph loader that caused a memory
block to be freed twice. Also performed changes to use
the new glyph zone object that has appeared in ftobjs.h
2000-02-21 16:01:33 +00:00
David Turner
cbfaedcefa added glyph zone objects 2000-02-21 16:00:36 +00:00
David Turner
4ea18e5573 added some configuration macros 2000-02-17 10:25:24 +00:00
Werner Lemberg
547a252af1 Formatting. Adding/Fixing documentation. 2000-02-16 08:23:58 +00:00
David Turner
d16a4b8111 removed obsolete hinter source code 2000-02-15 12:56:44 +00:00
David Turner
95bec28220 updated version of the experimental Type 1 driver
(this thing now works even better than the "regular"
driver, but is much smaller).

Provides no hinter !!
2000-02-15 12:55:57 +00:00
David Turner
861ba624db small fix (reduce compiler warnings) 2000-02-15 12:54:51 +00:00
David Turner
24ea09fcbd small fix 2000-02-15 12:54:06 +00:00
David Turner
18789bfe9f Added prototype OpenType Layout support
sources. This is not a port of the OTL extension
of FT 1.x, as it uses a very different design.

These sources are placed here for comments
and peer-review
2000-02-15 12:53:31 +00:00
David Turner
dbe4872bf0 removed obsolete source file 2000-02-14 16:45:40 +00:00
David Turner
a56489e01f The code has been updated to use the finite-state
table loader in "ftstream" (when the macro READ_FIELDS)
is defined.

This is experimental..
2000-02-13 13:41:56 +00:00
David Turner
33263421f8 formatting 2000-02-13 13:38:45 +00:00
David Turner
851688057d small bug fix used to compile when the SFNT
module doesn't support embedded bitmaps and
postscript names..
2000-02-13 13:38:27 +00:00
David Turner
7663f22288 Added support for the "attach_file" format-specific driver
interface, used to implement FT_Attach_File.

Note, this is currently very lightly tested..
2000-02-13 13:37:38 +00:00
David Turner
818336fdf4 Added the function FT_Read_Fields, it acts as a
finite-state automata to load large TrueType tables
in object structures.

This is experimental, don't mess too much with it,
thanks :-)
2000-02-13 13:36:53 +00:00
David Turner
1d1c7eb807 small update in FT_Open_Args (more could follow though..) 2000-02-13 13:35:21 +00:00
David Turner
3188a3a112 Sorry, forgot some changes needed to get rid of
t1encode.[hc]. Here they come..
2000-02-13 13:34:18 +00:00
David Turner
3983d95f3e fixed a small typo ( "height" in place of "eight" !!) 2000-02-10 19:19:51 +00:00
David Turner
5ae1259c03 removed the "t1encode" files which are now
obsolete with the "psnames" module
2000-02-10 19:17:24 +00:00
David Turner
7433655cbd Some changes. The SFNT driver is able to return
Postscript glyph names even when the "psnames"
module is not used..
2000-02-10 19:14:48 +00:00
David Turner
c3122c98ce added some comments 2000-02-10 19:11:30 +00:00
David Turner
1ab77fdfff some updates to make everything compile clean 2000-02-10 18:08:17 +00:00
David Turner
1a3e3d6a0d introduced the FT_Attach_File function to support additional metrics
coming from external files (e.g. Type 1 AFM files to add kerning data
to the face).

Also changed the API of FT_Open_Face in order to describe the
input stream more broadly..
2000-02-10 17:03:11 +00:00
David Turner
5dc8aba72b some modifications used to introduce the Type 1 AFM parser
and psnames module
2000-02-10 17:01:24 +00:00
David Turner
1a26888da3 some changes to ensure that the code compiles
cleanly when TT_CONFIG_OPTION_POSTSCRIPT_NAMES
is undefined..
2000-02-10 16:17:23 +00:00