Commit Graph

688 Commits

Author SHA1 Message Date
David Turner
8fba32d2d6 introduced the new <freetype/config/ftbuild.h> file to determine
where is the top-level include directory for all public, configuration
and internal header files..
2000-11-30 23:12:33 +00:00
Tom Kacvinsky
c261b63aab Added entries for calculation of `face-height' in t1/t2objs.c. 2000-11-30 21:58:49 +00:00
Tom Kacvinsky
16bf6da6d9 Fixed computation of `face->height'. 2000-11-30 21:56:55 +00:00
Tom Kacvinsky
21da848451 Added calculation of `face->height' for pure CFF fonts. 2000-11-30 21:53:39 +00:00
Werner Lemberg
6c65d91cc7 formatting 2000-11-30 06:23:45 +00:00
David Turner
ac83e7e09f fixed a bug in the Conic bezier extrema computation formula.. 2000-11-29 23:59:08 +00:00
Werner Lemberg
ada9503d22 * src/base/ftcalc.c (FT_SqrtFixed), src/base/ftobjs.c
(FT_Set_Renderer): Use FT_EXPORT_DEF.
* src/cache/ftcimage.c (FTC_Image_Cache_Lookup),
src/cache/ftcmanag.c (FTC_Manager_Done, FTC_Manager_Reset,
FTC_Manager_Lookup_Face, FTC_Manager_Lookup_Size,
FTC_Manager_Register_Cache), src/cache/ftcsbits.c
(FTC_SBit_Cache_Lookup): Ditto.

* src/include/freetype/cache/ftcglyph.h (FTC_GlyphNode_Init),
src/include/freetype/ftmac.h (FT_New_Face_From_FOND): Use FT_EXPORT.
2000-11-29 17:48:57 +00:00
Werner Lemberg
f1ca234473 * src/sfnt/sfdriver.c: Include ttsbit.h and ttpost.h only
conditionally.

* src/truetype/ttdriver.c (Set_Char_Sizes, Set_Pixel_Sizes): Set
`size->strike_index' only conditionally.

* src/type1/t1driver.c, src/type1/t1objs.c: Include t1afm.h only
conditionally.

* src/winfonts/winfnt.h: Move all type definitions to...
* src/include/freetype/internal/fnttypes.h: New file.
* src/winfonts/winfnt.c: Use it.


* include/freetype/internal/ftdebug.h: Replaced FT_CAT and FT_XCAT
with a direct solution (which also satifies picky compilers).
2000-11-29 15:18:54 +00:00
Werner Lemberg
bf8155a095 new file 2000-11-29 15:17:44 +00:00
Werner Lemberg
d157fcf091 * src/truetype/ttobjs.c (TT_Init_Size): Fix #ifdef's to work with
disabled interpreter also.

* src/base/ftnames.c (FT_Get_Sfnt_Name_Count): Fix incorrect
parentheses.
2000-11-29 04:45:26 +00:00
Werner Lemberg
053e24eace formatting 2000-11-27 19:23:05 +00:00
Tom Kacvinsky
f214137fbb Changed entry for src/cff/t2gload.c (T2_Parse_CharStrings) to reflect
changes made for even/odd argument counts.
2000-11-27 08:31:05 +00:00
Tom Kacvinsky
6dc51e9cbd T2_Parse_CharStrings: Added more logic to glyph width setting code to
take into account even/odd argument counts.
2000-11-27 08:22:23 +00:00
Tom Kacvinsky
834b53ed0e Simplied glyph width processing code and the comments pertaining to it. 2000-11-27 03:23:50 +00:00
Tom Kacvinsky
ed581a3434 Added entry for src/cff/t2gload.c (T2_Parse_CharStrings):
Modified the glyph width parsing code to be more robust.
2000-11-27 01:00:38 +00:00
Tom Kacvinsky
6037f08474 In function T2_Parse_CharStrings, modified glyph width assignment code
to be more robust.  The code now takes into account glyphs that

   1. have the width given as it is, rather than as a difference against
      `nominal_width', and

   2. have the width operand specified before one of the h/r/vmoveto
      commands or the endchar command.
2000-11-27 00:57:13 +00:00
Werner Lemberg
6dd303db0d * builds/ansi/ansi.mk: Fix inclusion order of files.
* src/type1/t1objs.c (T1_Init_Face): Compute style flags.
2000-11-26 21:25:53 +00:00
Werner Lemberg
d1e9249b63 * builds/compiler/ansi-cc.mk (CLEAN_LIBRARY): Fix rule and
conditional.
2000-11-26 10:12:00 +00:00
Werner Lemberg
27695e5dbf * src/type1/t1load.c (parse_subrs, parse_charstrings): Use decrypt
function from PSAux module.

* src/type1/t1parse.c (T1_Done_Parse): Renamed to...
(T1_Finalize_Parser): New function (to avoid name clash with a
function in the PSAux module).
(T1_Decrypt): Removed since it it duplicated in the PSAux module.
(T1_Get_Private_Dict): Added `psaux' as new parameter; use decrypt
function from PSAux module.

* src/type1/t1parse.h: Adapted.
2000-11-23 08:21:13 +00:00
Tom Kacvinsky
7e10ee403c Added an entry for "off by one" error in src/cff/t2load.c (T2_Get_String). 2000-11-23 03:45:52 +00:00
Tom Kacvinsky
3da9d565ee In function T2_Get_String, we called T2_Get_Name with an string id
that was off by one.
2000-11-23 03:43:14 +00:00
David Turner
0fc54d0078 adding cache manager documentation (draft) 2000-11-23 03:01:07 +00:00
Tom Kacvinsky
de01c5d9cb Added entry for changes made to t2parse.c (in function parse_t2_real). 2000-11-22 23:37:31 +00:00
Tom Kacvinsky
a51b45c607 Make sure that parse_t2_real correctly parses a CFF real number. Added more comments
to the function.
2000-11-22 23:34:56 +00:00
Tom Kacvinsky
ef0af208a0 Changed entry for `src/cff/t2objs.c (T2_Init_Face)' so that it is
shorter.
2000-11-22 20:40:29 +00:00
Tom Kacvinsky
30eacee9e6 Added entry for changes to T2_Init_Face (related to pure CFF fonts). 2000-11-22 14:38:29 +00:00
Tom Kacvinsky
c3dfbde074 In function T2_Init_Face, make sure that root->num_faces gets
set when loading a pure CFF font, and change units_per_EM to
1000 for a pure CFF font.
2000-11-22 14:34:22 +00:00
Werner Lemberg
5c4f5ebd0d formatting 2000-11-18 04:42:41 +00:00
David Turner
e006675e67 added support to synthetic Type 1 fonts. Why didn't
this thing get committed ??
2000-11-16 19:06:28 +00:00
David Turner
3944018091 added auto-hinting support for synthetic (obliqued)
Type 1 fonts
2000-11-16 18:06:55 +00:00
Werner Lemberg
34e52707f0 Formatting; removing tabs. 2000-11-13 16:58:01 +00:00
Tom Kacvinsky
b5274f557d Added entry for src/sfnt/ttload.c: Change tracing output in functions
TT_LookUp_Table and TT_Load_Generic_Table.  Change comments preceding
TT_Load_Generic_Table.

Added entry for src/sfnt/sfobjs.c: In function SFNT_Load_Face, set
boolean variable has-outline to true only if the font has a `glyf' or
`CFF ' table.
2000-11-13 07:37:51 +00:00
Tom Kacvinsky
200a1a41e3 In function TT_Load_Generic_Header, change tracing output to indicate
if a `bhed' or `head' table is being read.

In function TT_LookUp_Table, change tracing output to indicate success
or failure of table loading, and place output on one line.
2000-11-13 07:31:21 +00:00
Tom Kacvinsky
e0bd0c01d9 In function SFNT_Load_Face, set has_outline to true only if
the font has a `CFF ' or `glyf' table.
2000-11-13 07:26:31 +00:00
Werner Lemberg
e397e2a340 * builds/win32/visualc/freetype.dsp: Fix raster1->raster and
type1z->type1.
2000-11-12 06:49:17 +00:00
Tom Kacvinsky
e503527c64 Added a --libtool option, which returns the absolute path to the
libtool convenience library.
2000-11-12 02:55:25 +00:00
Tom Kacvinsky
8a2503aaef builds/unix/freetype-config.in, builds/cygwin/freetype-config.in:
Added --libtool option.
2000-11-12 02:53:35 +00:00
Werner Lemberg
84278bc7ef * builds/cygwin/cygwin-def.in: Same fix as previous.
* builds/unix/unix-def.in: Add


so that installation of freetype-config does not fail.
2000-11-11 21:48:05 +00:00
Tom Kacvinsky
2c81833738 Fixed minor type in unix-def.in entry. Oops! 2000-11-11 08:35:24 +00:00
Tom Kacvinsky
5279cd242c Added entry for changes to builds/unix/unix-defs.mk. 2000-11-11 08:32:41 +00:00
Tom Kacvinsky
d5d28f89b9 Added
INSTALL_PROGRAM := @INSTALL_PROGRAM@
  INSTALL_SCRIPT  := @INSTALL_SCRIPT@

So that the install of freetype-config does not fail.
2000-11-11 08:29:17 +00:00
Werner Lemberg
9a5a3ae00d New file. 2000-11-11 06:27:58 +00:00
Werner Lemberg
4af2f18cc3 Minor fixes. 2000-11-11 05:55:41 +00:00
Werner Lemberg
a82cd844fb Small fixes and formatting. 2000-11-10 22:43:37 +00:00
Werner Lemberg
a8df54a3ec Revising, formatting. 2000-11-10 22:39:21 +00:00
Werner Lemberg
15d3dcd900 Revised. 2000-11-10 17:10:14 +00:00
Werner Lemberg
6f36900589 Revised. 2000-11-10 05:45:07 +00:00
Werner Lemberg
361d9b8a7c Revised. 2000-11-09 22:15:34 +00:00
David Turner
85924a8884 fixed typos in the license 2000-11-09 19:14:11 +00:00
David Turner
27c8827f3c small update 2000-11-09 19:10:22 +00:00