1 /****************************************************************************
5 * Basic OpenType/CFF object type definitions (specification).
7 * Copyright (C) 2017-2020 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
10 * This file is part of the FreeType project, and may only be used,
11 * modified, and distributed under the terms of the FreeType project
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
13 * this file you indicate that you have read the license and
14 * understand and accept it fully.
22 #include <freetype/internal/ftobjs.h>
23 #include <freetype/internal/cfftypes.h>
24 #include <freetype/internal/tttypes.h>
25 #include <freetype/internal/services/svpscmap.h>
26 #include <freetype/internal/pshints.h>
32 typedef TT_Face CFF_Face;
35 /**************************************************************************
41 * A handle to an OpenType size object.
43 typedef struct CFF_SizeRec_
46 FT_ULong strike_index; /* 0xFFFFFFFF to indicate invalid */
48 } CFF_SizeRec, *CFF_Size;
51 /**************************************************************************
57 * A handle to an OpenType glyph slot object.
59 typedef struct CFF_GlyphSlotRec_
69 } CFF_GlyphSlotRec, *CFF_GlyphSlot;
72 /**************************************************************************
78 * The interface to the 'internal' field of `FT_Size`.
80 typedef struct CFF_InternalRec_
83 PSH_Globals subfonts[CFF_MAX_CID_FONTS];
85 } CFF_InternalRec, *CFF_Internal;
88 /**************************************************************************
90 * Subglyph transformation record.
92 typedef struct CFF_Transform_
94 FT_Fixed xx, xy; /* transformation matrix coefficients */
96 FT_F26Dot6 ox, oy; /* offsets */
104 #endif /* CFFOTYPES_H_ */