Werner Lemberg
29bac136cb
* TODO: Updated.
...
* src/cid/cidload.c (parse_font_matrix): Added units_per_EM
* src/type1/t1load.c (parse_font_bbox): Changed to use FT_Fixed
2001-03-11 11:28:39 +00:00
Tom Kacvinsky
c2f44c1608
Added implementation of three new functions: FT_RoundFix, FT_CeilFix,
...
and FT_FloorFix.
2001-03-10 19:02:51 +00:00
Werner Lemberg
cc069beb2d
cleanups
2000-12-08 16:17:16 +00:00
David Turner
19ed8afe60
- 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
2000-12-08 02:42:29 +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
90a0330142
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.
2000-11-07 17:21:11 +00:00
Werner Lemberg
4b68007b4f
Complementing David's changes with formatting, adding documentation, etc.
...
More `*'-convention formatting, adding the `a' resp. `an' prefix to
variables.
2000-11-07 06:30:29 +00:00
David Turner
76a5f62323
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
2000-11-04 01:55:49 +00:00
Werner Lemberg
e4b32a5dc5
Removing trailing whitespace.
2000-10-31 20:42:18 +00:00
Werner Lemberg
f9b0375002
small formatting issues.
2000-09-11 22:50:13 +00:00
David Turner
a8194a97db
- added a new function called FT_SqrtFixed to compute the
...
16.16 square root of a 16.16 number (this could come handy
in a later version of the auto-hinter)
- small fixes to the smooth renderer. It used to use way too
much line segments when drawing beziers !!
2000-09-02 00:20:42 +00:00
Werner Lemberg
b48a6094b2
Formatting.
...
Moving some internal structures and constants from freetype.h to ftobjs.h.
Finally removing FT_LOAD_ANTI_ALIAS.
Cleaning up all error codes. Only the used ones have survived :-)
Removed unused FT_MAX_GLYPH_FORMATS constant.
T2 error codes are now in the range 0x500-0x5FF (instead of `TrueDoc').
Some minor improvements of error return values.
Finally fixing error code values in ftraster and ftgrays to be compliant
with all other FT error codes.
2000-07-09 19:15:30 +00:00
Werner Lemberg
bd5ae40006
Run g++ on the FreeType library. This should make the use of code in
...
C++ programs easier:
Renamed FT_WordXX to FT_UIntXX.
Changed a lot of void* to FT_Byte* if related to i/o streams -- FreeType
always accesses streams byte-wise, so this makes sense IMHO.
Added a lot of #ifdef __cplusplus to header files (and removed a few).
Other minor syntax fixes (mostly casts).
Replaced the variable `private' with `private_dict' -- `private' is
reserved in C++.
2000-07-05 04:32:02 +00:00
David Turner
c6a92202c2
various clean-ups:
...
- using FT_UNUSED instead of UNUSED
- using FT_LONG64 and FT_INT64 instead of LONG64 & INT64
- using FT_SIZEOF_INT & FT_SIZEOF_LONG instead of...
- removed the #ifdefs that used SIZEOF_INT, instead we now
use FT_Int32 and FT_UInt32 when needed to support
32-bits quantity correctly on 64-bits systems..
2000-07-04 18:12:13 +00:00
Werner Lemberg
deb4e98396
Formatting...
...
Preprocessor lines now always start the line.
Improved error handling in `base' module.
Fixed a out-of-bounds error in ttgload.
2000-06-29 03:14:25 +00:00
Werner Lemberg
78575dc0d1
A lot of formatting.
...
Added more tracing levels.
More Makefile fixes.
Minor other changes.
2000-06-12 19:36:41 +00:00
Werner Lemberg
61bd4b9dd1
Added FT_FRAME_SKIP_xxx to skip fields.
...
More use of READ_Fields() in ttsbit.c
Other minor fixes.
2000-06-07 00:00:08 +00:00
Werner Lemberg
4e6dd8587e
freetype.h: Adding ft_encoding_xxx values for some CJK encodings.
...
Fixing copyright notice on many files.
Changed some tracing levels.
A lot of formatting, fixing documentation etc. as usual.
2000-06-05 05:26:15 +00:00
Werner Lemberg
eb81e37825
More preparation for tracing. Formatting.
2000-06-03 06:03:11 +00:00
Werner Lemberg
f13e6333f9
Formatting; minor improvements.
2000-05-30 16:49:14 +00:00
Werner Lemberg
026bd17b41
ftmulti.c: Will now accept any filename. It will no longer append `.ttf'
...
or `.ttc'. Reformatted.
ftcalc.c, ftdebug.c: Minor formatting stuff.
2000-05-30 05:13:30 +00:00
Werner Lemberg
c3c344c76e
Fixing the fixes :-) More formatting.
2000-05-29 22:40:57 +00:00
David Turner
4f99c3c423
fixed divide by zero bug
...
added CFF/OpenType driver source (not working for now)
2000-05-29 20:55:13 +00:00
Werner Lemberg
a519b3b7a3
Formatting, fixing descriptions.
2000-05-29 20:46:12 +00:00
David Turner
1fb6eea7d1
EXPORT_DEF renamed to FT_EXPORT_DEF +
...
reformating/spacing
2000-05-24 00:31:14 +00:00
David Turner
51179f0ae3
some fixes for 64-bit systems. Mainly changed some
...
FT_TRACE calls to use %p instead of %lx when dumping
a pointer address
2000-05-18 16:18:05 +00:00
David Turner
e49ab25c08
formatting - removed trailing spaces
2000-05-16 23:44:38 +00:00
David Turner
bfe2f98f1f
a new massive grunt work. Redefined the EXPORT_DEF,
...
EXPORT_FUNC, BASE_DEF and BASE_FUNC macros to
let them take an argument..
This is needed to compile the library as a DLL on some platforms
that have different compiler conventions..
2000-05-12 12:17:15 +00:00
David Turner
efce08d67c
major re-organisation of the FreeType 2 directory hierarchy
2000-05-11 18:23:52 +00:00
David Turner
271106133a
added FT_Sqrt64 to ensure that all bytecode operations are
...
strictly equivalent to the ones in FT 1.4 when compiling with
the configuration macro FT_CONFIG_OPTION_OLD_CALCS
defined..
2000-05-02 10:52:28 +00:00
David Turner
e01a41d5eb
fixed a stupid bug in FT_MulFix
2000-03-28 11:17:58 +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
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
Werner Lemberg
2b94ffad74
More docs added.
2000-01-07 15:02:05 +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
d2b1f35704
Initial revision
1999-12-16 23:11:37 +00:00