|
abe0d472
|
2000-12-30T00:39:40
|
|
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.
|
|
4ba1c0ad
|
2000-12-30T00:37:14
|
|
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.
|
|
91a0b65f
|
2000-12-24T10:01:54
|
|
In function T2_Load_Glyph, added code so that the font transform is
applied.
|
|
a05c02c9
|
2000-12-24T09:57:28
|
|
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.
|
|
45fbecbb
|
2000-12-22T07:24:02
|
|
Removed unnecessary comments and commented-out code from ah_hinter_load_glyph.
|
|
55b7403b
|
2000-12-22T03:40:14
|
|
removing obsolete "cidafm" files
|
|
f8d841a7
|
2000-12-21T01:25:13
|
|
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.
|
|
594f0c96
|
2000-12-20T22:09:41
|
|
* *.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.
|
|
1eb9a43a
|
2000-12-14T21:24:27
|
|
fixed small bug (no need to test target pixmap in direct rendering mode)
|
|
859a18a3
|
2000-12-14T18:50:40
|
|
support for clipped direct rendering
updated INSTALL file for Win32 case
|
|
63408a12
|
2000-12-13T23:44:37
|
|
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.
|
|
170c0d4c
|
2000-12-13T19:55:11
|
|
* include/freetype/config/ft2build.h,
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,
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..
|
|
d5c1b27d
|
2000-12-12T22:28:12
|
|
* include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT):
Removed. ANSI C doesn't (explicitly) allow macro expansion in
arguments using `##'.
(FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory
names directly. Make them configurable. Use `##' to strip leading
and trailing spaces from arguments.
* builds/unix/ft2unix.h: Adapted.
* src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream,
ft_close_stream): Use FT_CALLBACK_DEF.
* builds/unix/ftsystem.c: Use new header scheme.
(FT_Done_Memory): Use free() from FT_Memory structure.
* src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes.
* include/freetype/config/ft2build.h (FT2_CONFIG_ROOT,
FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE,
FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
|
|
16a60e87
|
2000-12-12T16:29:46
|
|
next try
|
|
6d5d719d
|
2000-12-12T06:36:55
|
|
* include/freetype/config/build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE,
FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##'
operator to be really ANSI C compliant.
* builds/unix/detect.mk: Remove unused USE_CFLAGS variable.
* src/truetype/ttinterp.c: Remove unused CALC_Length() macro.
|
|
90d9964e
|
2000-12-09T00:45:38
|
|
* */*.h: Changed body inclusion macro names to start and end with
`__' (those which haven't converted yet). Fixed minor conversion
issues.
* src/winfonts/winfnt.c: Updated to new header inclusion scheme.
* */*.[ch]: Changed source files to adhere to the new
* src/cff/cff.c, src/cff/rules.mk: Updated.
* */*.[ch]: Now using <ft2build.h> as the default build and setup
|
|
cc069beb
|
2000-12-08T16:17:16
|
|
cleanups
|
|
19ed8afe
|
2000-12-08T02:42:29
|
|
- updated all source files to adhere to the new inclusion scheme
- the CFF loader now loads the encodings and charset tables
though doesn't use them for now
|
|
50840943
|
2000-12-06T18:02:01
|
|
* src/cache/ftlru.c (FT_Lru_Done): fixed a small memory leak
|
|
33d02368
|
2000-12-06T16:31:30
|
|
* builds/module.mk: Replaced `xxx #' with `xxx$(space).
* builds/os2/detekt.mk, builds/win32/detekt.mk: Moved comment to
avoid trailing spaces in variable.
* builds/freetype.mk: Use $(D) instead of $D to make statement more
readable.
* docs/docmaker.py: Formatting.
* src/psaux/psauxmod.c: Fixed a broken inclusion of component
header files (an FT_FLAT_COMPILE test was missing).
* src/cache/ftcmanag.c (FTC_Manager_Done): Fixed a bug that caused
an occasional crash when the function was called (due to a dangling
pointer).
* src/base/ftsystem.c (FT_Done_Memory): Fixed an obvious bug:
The ANSI "free()" function was called instead of "memory->free()".
* docs/docmaker.py: Added section filtering, multi-page generation
(index page generation is still missing though).
* builds/unix/install.mk, builds/unix/ft2unix.h: The file "ft2unix.h"
is now installed as <ft2build.h> for Unix systems. Note that we
still use the "freetype2/freetype" installation path for now.
* many files: Now using <ft2build.h> as the default build and setup
configuration file in all public headers. Internal source files
still need some changes though.
* builds/devel/ft2build.h, builds/devel/ftoption.h: Created a new
Win32 developer builds.
builds/win32/w32-dev.mk: Changed the developer build targets to
"devel-gcc" and "devel-bcc" in order to be able to develop with the
Borland C++ compiler.
|
|
940d3064
|
2000-12-05T23:07:16
|
|
re-fixed FTC_Manager_Done :-)
|
|
00004eef
|
2000-12-05T22:28:15
|
|
fixed a broken inclusion of header files (a FT_FLAT_COMPILE test
was missing !!)
|
|
91bb1658
|
2000-12-05T22:23:12
|
|
fixed a bug in FTC_Manager_Done
|
|
ca8d1cda
|
2000-12-05T21:32:02
|
|
fixed small error in last update of FT_Done_Memory
|
|
e646ff6f
|
2000-12-05T08:39:14
|
|
fixed an obvious bug in FT_Done_Memory. The ANSI "free" function
was called, instead of "memory->free" !!
|
|
d3c8e064
|
2000-12-04T22:53:55
|
|
- updating the header inclusion scheme to use <ft2build.h> by
default..
- created "builds/devel" to hold developer builds options
for both Win32 and Unix
- fixed a bug in the winfonts driver, where the glyph image format
wasn't set correctly..
|
|
efa80f2b
|
2000-12-01T21:43:05
|
|
fixed a few warnings with Borland C++
|
|
b1aabf4c
|
2000-11-30T23:48:22
|
|
- added support for the free command-line Borland C++ compiler
in the "builds" directory
- modified a few files because BCC32 didn't like certain comparisons
(UInt compared with a UShort, apparently the UShort is promoted to
an Int)
- updated the INSTALL file to include IDE compilation, prevent against
BSD Make, and clarify the use of "make setup" (instead of "make")
for build configuration
|
|
16bf6da6
|
2000-11-30T21:56:55
|
|
Fixed computation of `face->height'.
|
|
21da8484
|
2000-11-30T21:53:39
|
|
Added calculation of `face->height' for pure CFF fonts.
|
|
ac83e7e0
|
2000-11-29T23:59:08
|
|
fixed a bug in the Conic bezier extrema computation formula..
|
|
ada9503d
|
2000-11-29T17:48:57
|
|
* 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.
|
|
f1ca2344
|
2000-11-29T15:18:54
|
|
* 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).
|
|
d157fcf0
|
2000-11-29T04:45:26
|
|
* 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.
|
|
053e24ea
|
2000-11-27T19:23:05
|
|
formatting
|
|
6dc51e9c
|
2000-11-27T08:22:23
|
|
T2_Parse_CharStrings: Added more logic to glyph width setting code to
take into account even/odd argument counts.
|
|
834b53ed
|
2000-11-27T03:23:50
|
|
Simplied glyph width processing code and the comments pertaining to it.
|
|
6037f084
|
2000-11-27T00:57:13
|
|
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.
|
|
6dd303db
|
2000-11-26T21:25:53
|
|
* builds/ansi/ansi.mk: Fix inclusion order of files.
* src/type1/t1objs.c (T1_Init_Face): Compute style flags.
|
|
27695e5d
|
2000-11-23T08:21:13
|
|
* 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.
|
|
3da9d565
|
2000-11-23T03:43:14
|
|
In function T2_Get_String, we called T2_Get_Name with an string id
that was off by one.
|
|
a51b45c6
|
2000-11-22T23:34:56
|
|
Make sure that parse_t2_real correctly parses a CFF real number. Added more comments
to the function.
|
|
c3dfbde0
|
2000-11-22T14:34:22
|
|
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.
|
|
5c4f5ebd
|
2000-11-18T04:42:41
|
|
formatting
|
|
e006675e
|
2000-11-16T19:06:28
|
|
added support to synthetic Type 1 fonts. Why didn't
this thing get committed ??
|
|
34e52707
|
2000-11-13T16:58:01
|
|
Formatting; removing tabs.
|
|
200a1a41
|
2000-11-13T07:31:21
|
|
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.
|
|
e0bd0c01
|
2000-11-13T07:26:31
|
|
In function SFNT_Load_Face, set has_outline to true only if
the font has a `CFF ' or `glyf' table.
|
|
a82cd844
|
2000-11-10T22:43:37
|
|
Small fixes and formatting.
|
|
c9d7b5e3
|
2000-11-09T03:18:32
|
|
minor warning with VC++ solved
|
|
cd1afc4e
|
2000-11-09T00:47:05
|
|
fixed a bug in "docs/glnames.py" which caused he generation of an
invalid Mac names table in the file "src/psnames/pstables.h".
This caused FT_Get_Glyph_Name to return invalid glyph names
for certain TrueType fonts..
|
|
a6c747d2
|
2000-11-08T19:44:48
|
|
fixed a small bug: the "linearHoriAdvance" and "vertHoriAdvance" were
not set correctly when the auto-hinter is used to load/hint a glyph..
|
|
5387d894
|
2000-11-08T19:40:08
|
|
fixed max advance width for fixed-pitch T1 fonts
|
|
23a0670b
|
2000-11-08T00:20:25
|
|
removed the file <freetype/internal/ftlist.h> and corrected
files that depended on it.
the ftlist.c function definitions are now FT_EXPORT_DEF
instead of FT_BASE_DEF
|
|
94e3bfaf
|
2000-11-08T00:15:58
|
|
fixed a small bug in the abstract chunk cache class
|
|
8ec9dfd9
|
2000-11-07T23:56:02
|
|
Moving doc comments for BASE functions from source to header files.
|
|
90a03301
|
2000-11-07T17:21:11
|
|
All function comments are now removed from source files (and moved to the
header files if necessary).
Some minor fixes to have `make multi' run successfully (with gcc and g++).
Fixing compiler warnings.
|
|
4b68007b
|
2000-11-07T06:30:29
|
|
Complementing David's changes with formatting, adding documentation, etc.
More `*'-convention formatting, adding the `a' resp. `an' prefix to
variables.
|
|
f96594fa
|
2000-11-06T23:07:51
|
|
integrated Yamano-Uchi changes to the base source code. However,
I've made a few modifications:
- there is no new field named "driver" in "FT_SizeRec"
- the new fields in "TT_SizeRec" are:
strike_index :: value 0xFFFF means "no sbit strike selected"
strike_metrics :: the FT_Size_Metrics structure corresponding to
the currently selected strike
- the code in "ttload.c" has been somewhat cleaned up too
thanks a lot, Y-U !!
- David
|
|
25dee217
|
2000-11-06T19:29:06
|
|
some updates to the cache sub-system. some methods were moved from
the concrete "FTC_Image_Cache" and "FTC_SBit_Cache" to the abstract
"FTC_Glyph_Cache" and "FTC_Chunk_Cache", respectively..
note: this is not the end of changes to the cache sub-system
|
|
8c883fb5
|
2000-11-05T23:41:08
|
|
minor fixes.
Add more gcc warnings for development on UNIX.
|
|
77fb4ced
|
2000-11-04T09:41:45
|
|
removed redundant checks.
|
|
dc72aff4
|
2000-11-04T08:33:38
|
|
Finishing David's latest changes (there were some errors in it).
|
|
54e75749
|
2000-11-04T02:52:02
|
|
defining new types to hold "internal" fields of public
objects:
FT_Face_Internal, FT_Size_Internal, FT_Slot_Internal
these contain some fields that may change between releases
of FreeType, without affecting the size of FT_FaceRec,
FT_SizeRec, FT_GlyphSlotRec, etc.., which means that
drivers wouldn't need to be recompiled if we only add new
fields to an internal structure..
I plan to hack a few things related to the auto-hinter and
I need this move to ensure that we will not break binary
compatibility between 2.0 and 2.1 :-)
- David
|
|
76a5f623
|
2000-11-04T01:55:49
|
|
major reformatting of the sources:
FT_EXPORT_DEF => FT_EXPORT
FT_EXPORT_FUNC => FT_EXPORT_DEF
BASE_DEF => FT_BASE
BASE_FUNC => FT_BASE_DEF
LOCAL_DEF => FT_LOCAL
LOCAL_FUNC => FT_LOCAL_DEF
LOCAL_FUNC_X => FT_CALLBACK_DEF
LOCAL_DEF_X => FT_CALLBACK_TABLE
FT_CPLUSPLUS => FT_CALLBACK_TABLE_DEF
|
|
40911094
|
2000-11-03T07:57:51
|
|
Don't access freed variables...
|
|
7b45c28d
|
2000-11-03T07:34:29
|
|
Remove redundant code; fix computation of `last'.
|
|
a13a473d
|
2000-11-02T15:14:38
|
|
More C++ fixes.
|
|
21fb2d95
|
2000-11-02T08:20:15
|
|
Adding header file for labs().
|
|
ab855232
|
2000-10-31T22:13:54
|
|
Fixing include header for a `make multi' build.
Finishing formatting of cache stuff.
Fixed getDriverClass stuff -- added it to winfnt.c also. Note that this
still has to be documented.
|
|
e4b32a5d
|
2000-10-31T20:42:18
|
|
Removing trailing whitespace.
|
|
3dc4374f
|
2000-10-31T17:49:07
|
|
Formatting.
Removed double src/cache/ftcimage.h.
Replaced FTC_Image_Type with #defines since this contains bit flags and not
enumerated values.
|
|
29094757
|
2000-10-31T10:58:23
|
|
at last, the infamous cache bug is fixed !!
|
|
6043b240
|
2000-10-29T01:47:51
|
|
In function FTC_ChunkSet_Destroy, changed `manaher' to `manager'. Just
a fix for a silly typo.
|
|
ece63798
|
2000-10-28T23:34:45
|
|
completed the sbit cache, though it's still buggy :-(
major reformatting of the cache subsystem (again)
added substantial documentation too in header files
|
|
b5084e11
|
2000-10-28T17:10:06
|
|
Renamed z1* files back to t1*; the same transition for Z1_* structures
Removed obsolete raster1/* files.
|
|
4e4a4363
|
2000-10-28T13:17:11
|
|
- completed the abstract chunk cache class
- started implementin a "small-bitmaps" cache derived from it
- (soon a "metrics" cache will be written too)
|
|
9b8f5c4c
|
2000-10-28T07:26:59
|
|
small updates:
- reworked slightly the cache manager to better
differentiate between the abstract class in "ftcglyph.h"
and the FT_Glyph sub-class in "ftcimage.h", and
slightly reduced the size of FTC_GlyphNodeRec, saving
8 bytes on a 32-bit system. Yes, I'm crazy ;-)
- added build files to compile with LCC on Unix too
(compile speeds _are_ insane with it). There is unfortunately
a bug in the version I'm using (LCC 4.1) that prevents it
to compile FT_MulTo64 correctly (in src/base/ftcalc.c)
the generated assembly is incorrect, I don't know what
to do ?? the build files are ok, though..
you should invoke "make setup lcc" to select them..
|
|
47c14b9d
|
2000-10-27T00:53:16
|
|
fixing a small bug in FT_Glyph_To_Bitmap:
the glyph advance wasn't copied to the bitmap !!
|
|
ddbb8e7b
|
2000-10-26T10:04:16
|
|
Some formatting.
Fixed some data types/added header files to remove compiler warnings.
Added trivial input data check to FT_Outline_Get_BBox().
Fixed type1z -> type1 file inclusions.
|
|
a4e2894e
|
2000-10-26T00:30:33
|
|
simple renaming of directories:
"type1z" -> "type1"
"raster1" -> "raster"
note that I didn't rename all files. We'll have to endure
the "z1..." crazyness unless we perform a _big_ sed on
the sources :-)
|
|
3a3ffedc
|
2000-10-26T00:08:15
|
|
adding "ftbbox" to build rules
|
|
54169b35
|
2000-10-26T00:06:35
|
|
- reviving the "ftbbox" component, used to compute exact bounding
box computations
- minor update to docmaker.py, more is coming
|
|
6a425338
|
2000-10-24T05:44:59
|
|
fixes for fixes :-)
formatting; compiles now without warnings on my Linux box
|
|
dc26e7b7
|
2000-10-23T22:46:56
|
|
- minor reformatting of "ftmodule.h"
- added missing "const" statements in the source code in order
to really get rid of writable static variables
|
|
05f0ad09
|
2000-10-19T05:12:00
|
|
Converting tabs to spaces in z1load.
Edited FT1's convntns.txt and added it to FT2.
|
|
40822003
|
2000-10-17T20:25:30
|
|
In function parse_encoding, initialize encoding_table.elements to have
.notdef in each entry.
In function parse_charstrings, place the .notdef glyph in index 0, and
add a .notdef glyph if it is missing.
In function Z1_Open_Face, only change min/max encoded char if it is not
.notdef.
|
|
5a96b07c
|
2000-10-17T14:29:48
|
|
Fixed two typos spotted by Ryan Martindale <ryan@qsicorp.com>.
|
|
47a5f41d
|
2000-10-17T03:38:43
|
|
Added copyright messages to all Makefiles.
Added documentation to FT_Get_Sfnt_* stuff (in ftnames.[ch])
minor other doc fixes
|
|
c1635d44
|
2000-10-15T23:32:01
|
|
ftnames.c has been erroneously included twice.
|
|
0bf381f7
|
2000-10-15T21:59:58
|
|
Make ftsynth.c work again.
Renamed FT_*_Outline to FT_Outline_*
|
|
dc268f24
|
2000-10-15T17:59:17
|
|
Fix typo (FT_... -> TT_...)
|
|
95ac657e
|
2000-10-15T08:53:27
|
|
Minor fix in Z1_Open_Face for building char_index table
|
|
e67e349a
|
2000-10-13T21:00:36
|
|
More fixes to the tutorial.
Added artificial Type 1 pid/eid paors to ttnameid.h.
|
|
eddd9909
|
2000-10-12T05:05:40
|
|
formatting
small fixes
|
|
f88969ab
|
2000-10-12T00:28:00
|
|
the function FTC_Manager_Lookup_Size will return a valid
FT_Face handle, even if no size was found..
|
|
b89fb71c
|
2000-10-11T23:39:03
|
|
fixed a subtle 64-bit problem that only appears with
Compaq C compiler (though it's really a bug)
|
|
a7096374
|
2000-10-11T23:31:12
|
|
Added new `ft_glyph_bbox_unscaled' enum; fixing documentation of
FT_Glyph_Get_CBox().
ftnames.c has been omitted from the Makefile.
|
|
3d568ac7
|
2000-10-11T14:59:46
|
|
A fix from Yamano'uchi to get correct font names.
|
|
eadc8df2
|
2000-10-11T05:52:42
|
|
A fix from Tom to fix the last=first point problem if it is a control point.
|