Commit Graph

770 Commits

Author SHA1 Message Date
Werner Lemberg
74c0edf44c grammatical fixes 2001-01-19 03:33:30 +00:00
Werner Lemberg
57175ec7b1 * src/pcfread.c (pcf_get_properties, pcf_get_metrics,
pcf_get_bitmaps): Fix compiler errors.

* src/pcf/pcfread.c: Removed some compilation warnings related
2001-01-18 04:00:12 +00:00
Werner Lemberg
69b7937e6e formatting 2001-01-15 23:11:55 +00:00
David Turner
53dc9ca9c3 some minor changes to allow compilation in all modes, without warnings 2001-01-12 21:49:08 +00:00
Werner Lemberg
b632ac6e5a * builds/unix/freetype-config.in: Fix problems with separate
--prefix and --exec-prefix.


more robust handling of pathname wildcard matching.
2001-01-12 05:32:04 +00:00
David Turner
eff79e3126 added cross-reference generation 2001-01-12 00:33:30 +00:00
Werner Lemberg
6e07332f94 * docs/docmaker.py: Minor improvements to reduce unwanted spaces
and empty lines in output.
* docs/docmaker.py: Improved script to generate table of contents
and index pages.  It also supports wildcards on non Unix systems.

* include/freetype/*.h, include/freetype/cache/*.h: Updated comments
to include section definitions/delimitations for the API Reference
generator.

* include/freetype/freetype.h: Moved declaration of
`FT_Generic_Finalizer' and the `FT_Generic' structure to...
* include/freetype/fttypes.h: here.
2001-01-11 09:27:49 +00:00
David Turner
dec12f44fa updated documentation in public header files 2001-01-10 11:15:48 +00:00
David Turner
691e2426f4 improved the docmaker script 2001-01-10 06:53:49 +00:00
Werner Lemberg
e8c8e30163 * include/freetype/ttnameid.h: Updated Unicode code range comments. 2001-01-05 05:15:49 +00:00
Werner Lemberg
70a6b864d4 formatting 2001-01-03 07:14:12 +00:00
Tom Kacvinsky
e523a254e5 Added entries for changes to CFF driver function, variable, and source
file names.
2001-01-03 07:12:49 +00:00
Werner Lemberg
ddc3115f14 * builds/vms: Support files for VMS architecture added.
* descrip.mms, src/*/descrip.mms: VMS makefiles added.
* README.VMS: New file.


* LICENSE.TXT: Added info about PCF driver license.
2001-01-03 06:47:10 +00:00
Werner Lemberg
941538f54e import of vms stuff 2001-01-03 06:38:54 +00:00
Werner Lemberg
421889b300 Initial revision 2001-01-03 06:38:54 +00:00
Tom Kacvinsky
2ef3977766 Changed to use cfftypes.h instead of t2types.h. Also, we now use
cfferrs.h instead of t2errors.h.
2001-01-03 00:29:35 +00:00
Tom Kacvinsky
094db936a2 Merged in changes from t2types.h, and made this the canonical `types'
header for the CFF driver.
2001-01-03 00:27:46 +00:00
Tom Kacvinsky
c3d7df1e78 This file was merged with cfftypes.h and is no longer necessary. 2001-01-03 00:26:56 +00:00
Tom Kacvinsky
879226a92c This file was previously known as t2errors.h. 2001-01-03 00:25:36 +00:00
Tom Kacvinsky
8120ad9be8 Renamed to cfferrs.h. 2001-01-03 00:24:58 +00:00
Tom Kacvinsky
c1430c7069 Changed to use cffgload.{c,h} instead of t2gload.{c,h}. Also, all
occurences of t2_ (T2_) were replaced with cff_ (CFF_, resp.).
2001-01-03 00:21:59 +00:00
Tom Kacvinsky
d569012ea0 This file was previously known as t2gload.h. 2001-01-03 00:17:58 +00:00
Tom Kacvinsky
25a2c18a95 Renamed to cffgload.h. 2001-01-03 00:17:15 +00:00
Tom Kacvinsky
30e827985d Changed to reflect the changes made in the source files:
we now use cffgload.{c,h} instead of t2gload.{c,h}.
2001-01-03 00:16:24 +00:00
Tom Kacvinsky
7a8c67abfb This file was previously known as t2gload.c. 2001-01-03 00:15:00 +00:00
Tom Kacvinsky
6d01e3972b Renamed t2gload.c to cffgload.c. 2001-01-03 00:14:11 +00:00
Werner Lemberg
8dddc24dea * src/pcf/*: New driver module for PCF font format (used in
X Windows).
* include/freetype/internal/ftdebug.h (FT_Trace): Added values for
PCF driver.
* include/freetype/internal/pcftypes.h: New file.
* include/freetype/config/ftmodule.h: Added PCF driver module.


* src/winfonts/winfnt.c (FNT_Get_Char_Index): Fix parameter type.


* builds/modules.mk (clean_module_list): Fixed deletion of module
file in case `make make_module_list' is called before `make setup'.
2001-01-01 17:25:21 +00:00
Werner Lemberg
8c9a006d6c import of PCF driver 2001-01-01 17:24:31 +00:00
Werner Lemberg
0f52012e40 Initial revision 2001-01-01 17:24:31 +00:00
Werner Lemberg
9682808530 * src/cff/cffload.c (CFF_Load_Charset): Improved error messages.
(CFF_Load_Charset, CFF_Load_Encoding): Remove unnecessary variable
definition.

* src/cff/t2gload.c (t2_lookup_glyph_by_stdcharcode,
t2_operator_seac): Added these functions for use in implementing the
seac emulation provided by the Type 2 endchar operator.
(T2_Parse_CharStrings): Added seac emulation for the endchar
operator.
CFF_Done_Encoding, CFF_Done_Charset): Extended to load and parse the
charset/encoding tables, and free the memory used by them when the
CFF driver is finished with them.  Added tables
2000-12-30 22:14:58 +00:00
Tom Kacvinsky
7b7384927e Added entries for changes to CFF driver sources and headers. We now
have a working charset and encoding parser, along with a working seac
emulation (the 5 argument version of endchar).
2000-12-30 01:18:22 +00:00
Tom Kacvinsky
58552580ad Changed the structures CFF_Encoding and CFF_Charset. 2000-12-30 01:13:50 +00:00
Tom Kacvinsky
05a2eb4cf3 Chnaged the structures CFF_Charset and CFF_Encoding. 2000-12-30 01:13:07 +00:00
Tom Kacvinsky
d9d7be77df Added functions t2_lookup_glyph_by_stdcharcode and t2_operator_seac
for use in implementing the seac emulation provided by the Type 2
endchar operator.

Extended T2_Parse_CharStrings to add seac emulation for the endchar
operator.
2000-12-30 00:39:40 +00:00
Tom Kacvinsky
86c50ab52a Added tables
cff_isoadobe_charset
    cff_expert_charset
    cff_expertsubset_charset
    cff_standard_encoding
    cff_expert_encoding

Extended functions CFF_Load_Encoding, CFF_Load_Charset, CFF_Done_Encoding,
and CFF_Done_Charset to load and parse the charset/encoding tables, and
free the memory used by them when FreeType is finished with them.
2000-12-30 00:37:14 +00:00
Tom Kacvinsky
bac5e658cc Added entries pertaining to the changes needed in the CFF/Type 2
driver for font transforms to work.
2000-12-24 10:05:04 +00:00
Tom Kacvinsky
23d1fe0878 In function T2_Load_Glyph, added code so that the font transform is
applied.
2000-12-24 10:01:54 +00:00
Tom Kacvinsky
c6dec5c06d Added code to cff_parse_font_matrix so that the font matrix numbers
are scaled by 1/(matrix->yy).  Also, the offset vector now contains
integer values instead of 16.16 fixed numbers.
2000-12-24 09:57:28 +00:00
Werner Lemberg
3db6a4a807 Minor doc fix. 2000-12-23 16:55:29 +00:00
Tom Kacvinsky
c079b92ab7 Fixed 2000-12-21 entry for ah_hinter_load and ah_hinter_load_glyph to
be more general.  The problem affected more than synthetic fonts.

Added an entry for changes to ahhint.c.  I mistakenly committed
ahhint.c without removing unnecessay comments.  Furthermore, I did not
remove some code that I had commented out.  Silly me!
2000-12-22 07:35:19 +00:00
Tom Kacvinsky
abaa5f26c9 Removed unnecessary comments and commented-out code from ah_hinter_load_glyph. 2000-12-22 07:24:02 +00:00
David Turner
c129cb011d removing obsolete "cidafm" files 2000-12-22 03:40:14 +00:00
Tom Kacvinsky
ad0472531a Added entry for fixes to autohinter (related to synthetic fonts). 2000-12-21 01:34:01 +00:00
Tom Kacvinsky
68c5181cbd Changed functions ah_hinter_load and ah_hinter_load_glyph so that
synthetic fonts render correctly.  Previously, the first glyph
rendered from such a font did not have the FontMatrix applied.
2000-12-21 01:25:13 +00:00
Werner Lemberg
f6fdf537e7 * *.mk: Added lots of `.PHONY' targets.
* *.mk: Implemented `platform' target to disable auto-detection.


Added support for clipped direct rendering in the smooth renderer.
This should not break binary compatibility of existing applications.
* include/freetype/fttypes.h, include/freetype/ftimage.h: Move
definition of the FT_BBox structure from the former to the latter.
* include/freetype/ftimage.h: Add `ft_raster_flag_clip' value to
FT_Raster_Flag enumeration.
Add `clip_box' element to FT_Raster_Params structure.
* src/smooth/ftgrays.c (grays_convert_glyph): Implement it.

* src/raster/ftraster.c (ft_black_render): Test for unsupported
direct rendering before testing arguments.
2000-12-20 22:09:41 +00:00
Werner Lemberg
77f5af7fb4 * INSTALL: Added info about makepp. 2000-12-14 22:57:17 +00:00
David Turner
86564229c3 fixed small bug (no need to test target pixmap in direct rendering mode) 2000-12-14 21:24:27 +00:00
Werner Lemberg
8f1d086128 * docs/design/modules.html: Removed. Covered by design-*.html.
src/smooth/ftgrays.c: Added support for clipped direct rendering in
the smooth renderer.  This should not break binary compatibility of
existing applications.
* INSTALL: Updated installation instructions on Win32, listing the
new "make setup list" target used to list supported
compilers/targets.
2000-12-14 21:22:15 +00:00
David Turner
d3f742417c support for clipped direct rendering
updated INSTALL file for Win32 case
2000-12-14 18:50:40 +00:00
Werner Lemberg
f23f4ad1a6 include/freetype/internal/internal.h: Fixed header inclusion macros
to use direct definitions.  This is the only way to do these things
in a portable way :-(  The rest of the code should follow shortly
though everything compiles now.
* builds/compiler/intelc.mk, builds/compiler/watcom.mk: New files.

* builds/win32/detect.mk: Added support for the Intel C/C++
compiler, as well as _preliminary_ (read: doesn't work!) support for
Watcom.  Also added a new setup target.  Type "make setup list" for
a list of supported command-line compilers on Win32.

* src/base/ftdebug.c: Added dummy symbol to avoid empty file if
conditionals are off.
2000-12-13 23:44:37 +00:00