Name Description Size
afmparse.c The macro FT_COMPONENT is used in trace mode. It is an implicit parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log messages during execution. 25277
afmparse.h real number 1825
cffdecode.c The macro FT_COMPONENT is used in trace mode. It is an implicit parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log messages during execution. 68442
cffdecode.h END 1825
module.mk 666
psarrst.c CF2_ArrStack uses an error pointer, to enable shared errors. Shared errors are necessary when multiple objects allow the program to continue after detecting errors. Only the first error should be recorded. 6515
psarrst.h need to define the struct here (not opaque) so it can be allocated by 3476
psaux.c END 945
psauxerr.h This file is used to define the PS auxiliary module error enumeration constants. 1003
psauxmod.c init 4847
psauxmod.h PSAUXMOD_H_ 1247
psblues.c The macro FT_COMPONENT is used in trace mode. It is an implicit parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log messages during execution. 19403
psblues.h A `CF2_Blues' object stores the blue zones (horizontal alignment zones) of a font. These are specified in the CFF private dictionary by `BlueValues', `OtherBlues', `FamilyBlues', and `FamilyOtherBlues'. Each zone is defined by a top and bottom edge in character space. Further, each zone is either a top zone or a bottom zone, as recorded by `bottomZone'. The maximum number of `BlueValues' and `FamilyBlues' is 7 each. However, these are combined to produce a total of 7 zones. Similarly, the maximum number of `OtherBlues' and `FamilyOtherBlues' is 5 and these are combined to produce an additional 5 zones. Blue zones are used to `capture' hints and force them to a common alignment point. This alignment is recorded in device space in `dsFlatEdge'. Except for this value, a `CF2_Blues' object could be constructed independently of scaling. Construction may occur once the matrix is known. Other features implemented in the Capture method are overshoot suppression, overshoot enforcement, and Blue Boost. Capture is determined by `BlueValues' and `OtherBlues', but the alignment point may be adjusted to the scaled flat edge of `FamilyBlues' or `FamilyOtherBlues'. No alignment is done to the curved edge of a zone. 5995
psconv.c The macro FT_COMPONENT is used in trace mode. It is an implicit parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log messages during execution. 11649
psconv.h PSCONV_H_ 1700
pserror.c END 2089
pserror.h A poor-man error facility. This code being written in vanilla C, doesn't have the luxury of a language-supported exception mechanism such as the one available in Java. Instead, we are stuck with using error codes that must be carefully managed and preserved. However, it is convenient for us to model our error mechanism on a Java-like exception mechanism. When we assign an error code we are thus `throwing' an error. The preservation of an error code is done by coding convention. Upon a function call if the error code is anything other than `FT_Err_Ok', which is guaranteed to be zero, we will return without altering that error. This will allow the error to propagate and be handled at the appropriate location in the code. This allows a style of code where the error code is initialized up front and a block of calls are made with the error code only being checked after the block. If a new error occurs, the original error will be preserved and a functional no-op should result in any subsequent function that has an initial error code not equal to `FT_Err_Ok'. Errors are encoded by calling the `FT_THROW' macro. For example, { FT_Error e; ... e = FT_THROW( Out_Of_Memory ); } 4024
psfixed.h rasterizer integer and fixed-point arithmetic must be 32-bit 3743
psfont.c Compute a stem darkening amount in character space. 19883
psfont.h maximum subroutine nesting; 5402
psft.c max ppem 25628
psft.h TODO: disable asserts for now 5394
psglue.h common includes for other modules 4501
pshints.c The macro FT_COMPONENT is used in trace mode. It is an implicit parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log messages during execution. 66109
pshints.h maximum # of hints 9869
psintrp.c for cff_random 105458
psintrp.h PSINTRP_H_ 3074
psobjs.c The macro FT_COMPONENT is used in trace mode. It is an implicit parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log messages during execution. 66466
psobjs.h / /************************************************************************ 10283
psread.c Define CF2_IO_FAIL as 1 to enable random errors and random 3522
psread.h PSREAD_H_ 2299
psstack.c Allocate and initialize an instance of CF2_Stack. 9233
psstack.h CFF operand stack; specified maximum of 48 or 192 values 3695
pstypes.h The data models that we expect to support are as follows: name char short int long long-long pointer example ----------------------------------------------------- ILP32 8 16 32 32 64* 32 32-bit MacOS, x86 LLP64 8 16 32 32 64 64 x64 LP64 8 16 32 64 64 64 64-bit MacOS *) type may be supported by emulation on a 32-bit architecture 2674
rules.mk 2520
t1cmap.c / /************************************************************************ 11948
t1cmap.h / /************************************************************************ 3282
t1decode.c ensure proper sign extension 60726
t1decode.h T1DECODE_H_ 2024