Documentation fixes.
This commit is contained in:
parent
480b026b72
commit
fd7441a3b7
|
@ -1,3 +1,14 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cffotypes.h */
|
||||
/* */
|
||||
/* Basic OpenType/CFF object type definitions (specification). */
|
||||
/* */
|
||||
/* Copyright notice here. */
|
||||
/* */
|
||||
/***************************************************************************/
|
||||
|
||||
|
||||
#ifndef CFFOTYPES_H_
|
||||
#define CFFOTYPES_H_
|
||||
|
||||
|
@ -84,4 +95,7 @@ FT_BEGIN_HEADER
|
|||
FT_END_HEADER
|
||||
|
||||
|
||||
#endif
|
||||
#endif /* CFFOTYPES_H_ */
|
||||
|
||||
|
||||
/* END */
|
||||
|
|
|
@ -961,7 +961,6 @@ FT_BEGIN_HEADER
|
|||
typedef void
|
||||
(*CFF_Builder_Close_Contour_Func)( CFF_Builder* builder );
|
||||
|
||||
/* static */
|
||||
typedef FT_Error
|
||||
(*CFF_Builder_Add_Contour_Func)( CFF_Builder* builder );
|
||||
|
||||
|
@ -969,7 +968,6 @@ FT_BEGIN_HEADER
|
|||
|
||||
typedef struct CFF_Builder_FuncsRec_
|
||||
{
|
||||
/* static */
|
||||
void
|
||||
(*init)( CFF_Builder* builder,
|
||||
TT_Face face,
|
||||
|
@ -977,7 +975,6 @@ FT_BEGIN_HEADER
|
|||
CFF_GlyphSlot glyph,
|
||||
FT_Bool hinting );
|
||||
|
||||
/* static */
|
||||
void
|
||||
(*done)( CFF_Builder* builder );
|
||||
|
||||
|
|
|
@ -1,3 +1,14 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* svcfftl.h */
|
||||
/* */
|
||||
/* The FreeType CFF tables loader service (specification). */
|
||||
/* */
|
||||
/* Copyright notice here */
|
||||
/* */
|
||||
/***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SVCFFTL_H_
|
||||
#define SVCFFTL_H_
|
||||
|
||||
|
|
|
@ -383,6 +383,7 @@
|
|||
if ( error )
|
||||
goto Exit;
|
||||
|
||||
/* Copy flags back for forced scaling */
|
||||
hinting = glyph->hint;
|
||||
scaled = glyph->scaled;
|
||||
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cffdecode.c */
|
||||
/* */
|
||||
/* PostScript CFF (Type 2) decoding routines (body). */
|
||||
/* */
|
||||
/* Copyright notice here. */
|
||||
/* */
|
||||
/***************************************************************************/
|
||||
|
||||
|
||||
#include <ft2build.h>
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cffdecode.h */
|
||||
/* */
|
||||
/* PostScript CFF (Type 2) decoding routines (specification). */
|
||||
/* */
|
||||
/* Copyright notice here. */
|
||||
/* */
|
||||
/***************************************************************************/
|
||||
|
||||
|
||||
#ifndef CFFDECODE_H_
|
||||
#define CFFDECODE_H_
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2arrst.c */
|
||||
/* psarrst.c */
|
||||
/* */
|
||||
/* Adobe's code for Array Stacks (body). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2arrst.h */
|
||||
/* psarrst.h */
|
||||
/* */
|
||||
/* Adobe's code for Array Stacks (specification). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2blues.c */
|
||||
/* psblues.c */
|
||||
/* */
|
||||
/* Adobe's code for handling Blue Zones (body). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2blues.h */
|
||||
/* psblues.h */
|
||||
/* */
|
||||
/* Adobe's code for handling Blue Zones (specification). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2error.c */
|
||||
/* pserror.c */
|
||||
/* */
|
||||
/* Adobe's code for error handling (body). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2error.h */
|
||||
/* pserror.h */
|
||||
/* */
|
||||
/* Adobe's code for error handling (specification). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2fixed.h */
|
||||
/* psfixed.h */
|
||||
/* */
|
||||
/* Adobe's code for Fixed Point Mathematics (specification only). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2font.c */
|
||||
/* psfont.c */
|
||||
/* */
|
||||
/* Adobe's code for font instances (body). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2font.h */
|
||||
/* psfont.h */
|
||||
/* */
|
||||
/* Adobe's code for font instances (specification). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2ft.c */
|
||||
/* psft.c */
|
||||
/* */
|
||||
/* FreeType Glue Component to Adobe's Interpreter (body). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2ft.h */
|
||||
/* psft.h */
|
||||
/* */
|
||||
/* FreeType Glue Component to Adobe's Interpreter (specification). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2glue.h */
|
||||
/* psglue.h */
|
||||
/* */
|
||||
/* Adobe's code for shared stuff (specification only). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2hints.c */
|
||||
/* pshints.c */
|
||||
/* */
|
||||
/* Adobe's code for handling CFF hints (body). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2hints.h */
|
||||
/* pshints.h */
|
||||
/* */
|
||||
/* Adobe's code for handling CFF hints (body). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2intrp.c */
|
||||
/* psintrp.c */
|
||||
/* */
|
||||
/* Adobe's CFF Interpreter (body). */
|
||||
/* */
|
||||
|
@ -661,6 +661,9 @@
|
|||
op1 == cf2_cmdENDCHAR ||
|
||||
op1 >= 32 /* Numbers */ ) )
|
||||
{
|
||||
/* Skip outline commands first time round. */
|
||||
/* `endchar' will trigger initial hintmap build */
|
||||
/* and rewind the charstring. */
|
||||
cf2_stack_clear( opStack );
|
||||
continue;
|
||||
}
|
||||
|
@ -787,6 +790,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* Add left-sidebearing correction in Type 1 mode */
|
||||
cf2_doStems( font,
|
||||
opStack,
|
||||
&hStemHintArray,
|
||||
|
@ -816,6 +820,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* Add left-sidebearing correction in Type 1 mode */
|
||||
cf2_doStems( font,
|
||||
opStack,
|
||||
&vStemHintArray,
|
||||
|
@ -1220,6 +1225,7 @@
|
|||
SUB_INT32( SUB_INT32( v2, v1 ),
|
||||
cf2_stack_getReal( opStack, 3 ) ) );
|
||||
|
||||
/* Add left-sidebearing correction */
|
||||
cf2_doStems( font,
|
||||
opStack,
|
||||
isV ? &vStemHintArray : &hStemHintArray,
|
||||
|
@ -1755,6 +1761,8 @@
|
|||
|
||||
if ( initial_map_ready )
|
||||
{
|
||||
/* do not clear hints if initial hintmap */
|
||||
/* is not ready - we need to collate all */
|
||||
cf2_arrstack_clear( &vStemHintArray );
|
||||
cf2_arrstack_clear( &hStemHintArray );
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2font.h */
|
||||
/* psintrp.h */
|
||||
/* */
|
||||
/* Adobe's CFF Interpreter (specification). */
|
||||
/* */
|
||||
|
|
|
@ -2409,6 +2409,8 @@
|
|||
}
|
||||
|
||||
|
||||
/* Synthesize a SubFont object for Type 1 fonts, for use in the */
|
||||
/* new interpreter to access Private dict data */
|
||||
FT_LOCAL_DEF( void )
|
||||
t1_make_subfont( FT_Face face,
|
||||
PS_Private priv,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2read.c */
|
||||
/* psread.c */
|
||||
/* */
|
||||
/* Adobe's code for stream handling (body). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2read.h */
|
||||
/* psread.h */
|
||||
/* */
|
||||
/* Adobe's code for stream handling (specification). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2stack.c */
|
||||
/* psstack.c */
|
||||
/* */
|
||||
/* Adobe's code for emulating a CFF stack (body). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2stack.h */
|
||||
/* psstack.h */
|
||||
/* */
|
||||
/* Adobe's code for emulating a CFF stack (specification). */
|
||||
/* */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************/
|
||||
/* */
|
||||
/* cf2types.h */
|
||||
/* pstypes.h */
|
||||
/* */
|
||||
/* Adobe's code for defining data types (specification only). */
|
||||
/* */
|
||||
|
|
|
@ -39,23 +39,6 @@
|
|||
#define FT_COMPONENT trace_t1gload
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
/********** *********/
|
||||
/********** COMPUTE THE MAXIMUM ADVANCE WIDTH *********/
|
||||
/********** *********/
|
||||
/********** The following code is in charge of computing *********/
|
||||
/********** the maximum advance width of the font. It *********/
|
||||
/********** quickly processes each glyph charstring to *********/
|
||||
/********** extract the value from either a `sbw' or `seac' *********/
|
||||
/********** operator. *********/
|
||||
/********** *********/
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
|
||||
|
||||
static FT_Error
|
||||
T1_Parse_Glyph_And_Get_Char_String( T1_Decoder decoder,
|
||||
FT_UInt glyph_index,
|
||||
|
@ -195,6 +178,23 @@
|
|||
}
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
/********** *********/
|
||||
/********** COMPUTE THE MAXIMUM ADVANCE WIDTH *********/
|
||||
/********** *********/
|
||||
/********** The following code is in charge of computing *********/
|
||||
/********** the maximum advance width of the font. It *********/
|
||||
/********** quickly processes each glyph charstring to *********/
|
||||
/********** extract the value from either a `sbw' or `seac' *********/
|
||||
/********** operator. *********/
|
||||
/********** *********/
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
/*************************************************************************/
|
||||
|
||||
|
||||
FT_LOCAL_DEF( FT_Error )
|
||||
T1_Compute_Max_Advance( T1_Face face,
|
||||
FT_Pos* max_advance )
|
||||
|
|
Loading…
Reference in New Issue