I want to read true type CID font file. Can any one guide me about the file structure. How can I read sfnts array correctly? Is there any open source library available in C++ through which I can read the CID keyed TrueType file?
A Google search will find you the relevant documents for CIDFonts;
The sfnts array is just an array, you read it like any other PostScript array. What it contains is the TrueType outlines of the glyphs and other TrueType information. This is documented in:
Unless you already have it you will also need the TrueType specification.
The FreeType Project FreeType library will read all kinds of fonts. Its not C++, its C, but that should be comprehensible enough to a C++ developer.