Commit Graph

1048 Commits

Author SHA1 Message Date
David Turner
3b925ef744 fixed a minor bug in the computation of the vertical
metrics top-side bearing
2000-01-17 11:22:59 +00:00
David Turner
fdc225b153 fixed another small bug in the FT_Read_xxxx functions
(they didn't updated the stream position in the case of
disk-based streams. This went un-noticed under Linux
which uses memory-mapped files by default)
2000-01-17 11:21:49 +00:00
David Turner
8cd9575c27 fixed small bug 2000-01-17 11:21:00 +00:00
David Turner
281f9f6a13 Important changes were performed to clean up the makefiles,
these will be detailed later in a document (the work is not
completely finished).
2000-01-17 11:20:26 +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
1631d04827 moved the graphics drivers to "demos/graph/*" 2000-01-17 11:06:27 +00:00
David Turner
cb58dbb4fb Some important changes were performed :
- the graphics drivers were moved from "demos/config/*" to
  "demos/graph/*"

- a Win32 graphics driver was added. (note that keyboard
  management is a bit buggy, but it's really usable).

- the "demos/Makefile" and "demos/graph/rules.mk" were
  seriously modified

- the demo programs now compile AND run with gcc,
  Visual C++ and LCC-Win32 !! The other ones should be
  really easy to add now, as LCC was the really smart ass
  in this list...
2000-01-17 11:04:55 +00:00
David Turner
14954e6bc2 Some major improvements were required to the Makefile to:
- compile the demonstration programs in any directory, by
  using the "TOP" and "CONFIG_MK" environment variables

- the graphics drivers have moved from "demos/config/*" to
  "demos/graph/*"

- brain-dead compilers like LCC-Win32 required some
  changes in the way executables are linked
2000-01-17 10:56:16 +00:00
Werner Lemberg
7dff772e59 Added ftraster.h for better support of standalone mode.
Fixed cleaning rules for the demo programs.
2000-01-17 08:24:22 +00:00
Werner Lemberg
9ab7c3c37e Fixed compilation bug for standalone mode. 2000-01-15 12:43:27 +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
6bc8b1f07d bugfixes to the OS/2 graphics driver. It now works !! 2000-01-14 15:36:55 +00:00
David Turner
cef95a09d7 Yet another improvements to the scan-converter. Some macros were
introduced to use a constant precision and dynamic bezier decomposition
thresholding, leading some performance improvements.

Note that by now, the "high_precision" field of a FT_Outline
is ignored by the raster..
2000-01-14 15:36:00 +00:00
David Turner
4f2d5b9a48 fixed a bug which prevented the raster from correctly
performing horizontal dropout control..
2000-01-13 18:20:28 +00:00
David Turner
454a428542 fixed a bug which caused some font family and style
names to be incorrectly ignored..
2000-01-13 18:19:51 +00:00
David Turner
ef87970dfb A few modifications to allow more broken fonts to
be loaded by the driver.
2000-01-13 18:19:10 +00:00
Werner Lemberg
a00b6e690f Fixing Makefile rules. 2000-01-13 15:35:02 +00:00
Werner Lemberg
40b4ef1ebd Remove double increment of charmap. 2000-01-12 22:44:03 +00:00
David Turner
3aeb4c05f2 Added a new document to docs/internals that describes
the Build System clearly. I hope this will help other
developers in adding platform-detection makefiles for
additional systems..
2000-01-11 20:00:05 +00:00
David Turner
426b20af02 Added the new "io-frames.html" document, that describes the frame interface
as well as the new READ_xxxx and FT_Read_xxxx functions/macros..
2000-01-11 04:59:55 +00:00
David Turner
186d231081 Added a new documentation file that explains how memory management and
basic i/o access are performed with FreeType 2.

Note that unlike FT 1.x, you don't need to recompile the library if
you want to provide your own memory manager or your own i/o streams.
2000-01-11 04:09:35 +00:00
David Turner
a14fa3ace8 damned.. 2000-01-11 02:26:38 +00:00
David Turner
98408d8937 renamed "internals.html" to "index.html"
also, changed all image references to the new PNGs

Note that this document is really out-of-date
(there are no more resources, the stream manager has disappeared,
 the build systel was seriously modified, etc..)
2000-01-11 02:22:16 +00:00
David Turner
41a8fa57b1 Renamed "glyph_conventions.html" to "index.html"
Updated all image references to the new PNGs

Note that this document is slightly out-of-date though..
(FT_Raster_Map was changed for FT_Bitmap, and the anti-alias renderer
 now supports 128 levels by default).
2000-01-11 02:20:22 +00:00
David Turner
ee71c6b715 added PNG files 2000-01-11 01:40:25 +00:00
David Turner
4b7ffcfa19 removed GIF files 2000-01-11 01:40:06 +00:00
Werner Lemberg
7880dd6630 ftcalc.c, ftextend.c, ftoutln.c, ftraster.c, ftstream.c:
Removing trailing spaces.

ftlist.h:
  Removing duplicated documentation (which is in ftlist.c also).

ftinit.c, ftlist.c, ftobjs.c:
  Formatting, adding documentation.
2000-01-10 17:19:45 +00:00
David Turner
ecbfb5fa9a added the DocMaker python script that will be used to generate the HTML documentation from the C source files 2000-01-10 15:49:01 +00:00
Werner Lemberg
0db8d1ab84 Formatting. 2000-01-09 17:54:56 +00:00
Werner Lemberg
f697866ec2 Bugfix: prep table is optional. 2000-01-08 20:00:54 +00:00
Werner Lemberg
f993b6a033 demos/config/x11/rules.mk:
support for multiple X11R6 entries in $(PATH) added.

ftxbbox.c, ftcalc.c, ftdebug.c, ftdriver.h:
  doc fixes.

ftdebug.c:
  formatting.

ftdebug.h:
  making makros `;'-safe (i.e., they can now be used within if-else clauses
  without side effects resp. don't produce a single `;').
2000-01-08 17:10:33 +00:00
David Turner
fc1f989446 Finally, the TrueType driver was completely audited. The code should
now be 100% compatible with the implementation in FreeType 1.x.

It's now time to make a new tag for the repository :-)

- David
2000-01-07 18:44:50 +00:00
Werner Lemberg
2b94ffad74 More docs added. 2000-01-07 15:02:05 +00:00
David Turner
edfc0f8ac4 changed rules to build demos on Solaris 2000-01-07 14:37:24 +00:00
David Turner
62ccef7547 added Windows NT detection 2000-01-07 14:37:00 +00:00
David Turner
30a0c6264f Update some copyrights here and there 2000-01-07 14:07:21 +00:00
David Turner
2fce88c6b9 Removed some unused source code (it came from the old
FT2 beta, and was moved to "src/sfn")
2000-01-07 14:01:59 +00:00
Werner Lemberg
17ae985d38 ftbbox.h: FT_Get_Outline_BBox() must be called FT_Raster_GetBBox().
ftcalc.c: Added a missing closing paranthesis in 64bit version of
          FT_MulFix().

Some formatting; updating copyright.
2000-01-02 09:41:30 +00:00
David Turner
433bc53fb6 Additional improvements to make the anti-aliasing even faster :-)
As previously, this is only noticable for sizes over 64 pixels.
1999-12-30 12:28:03 +00:00
David Turner
5951ce9fc6 updated the CHANGES file
+ some basic formatting cleaning
1999-12-29 00:53:44 +00:00
David Turner
aa50b821c8 The font drivers that are statically linked to the library at build time
is now managed through the file `config/<platform>/ftmodule.h', which is
automatically generated through the rules file `config/modules.mk'

Some changes to include this new rules file. Also, the target "modules"
will force the re-generation of the drivers list (this is handy when
adding or removing a font driver from the source tree).
1999-12-29 00:24:51 +00:00
David Turner
10effdf61e Added the rules files `module.mk' to "sfnt", "truetype" and "type1" to
reflect the new modules/drivers list management performed through the
file `freetype2/config/modules.mk'

Changed the driver header files to reflect the new modules/drivers
list management. We get rid, at last, of the infamous pre-processor
tricks used to build the list at compile time.

`src/base/ftinit.c' is also modified to reflect the changes..
1999-12-29 00:22:24 +00:00
David Turner
f8bf6e2bc9 Added the file `config/modules.mk' used to generate the file
`config/<platform>/ftmodule.h' which contains the list of available
font drivers.

The list can be re-generated with "make modules" from the top directory
1999-12-29 00:19:37 +00:00
David Turner
34b3032045 Some improvements to make the new anti-alias algorithm faster when
large glyph images are generated (e.g. ` fttimer -g' runs 20% faster).

For small pixel sizes (i.e. typically less than 64 pixels), rendering
speed is unaffected.
1999-12-28 18:36:10 +00:00
David Turner
b4a98378e1 fixed a bug in ftsystem that prevented the library from reading files 1999-12-21 14:08:00 +00:00
David Turner
c6cda4a74e added 'demos/bin' to the repository 1999-12-18 19:05:00 +00:00
David Turner
e537fc6733 First import of FreeType 2, beta 2.2 1999-12-16 23:11:37 +00:00
David Turner
d2b1f35704 Initial revision 1999-12-16 23:11:37 +00:00