1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
/* Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved.
This software is licensed as OpenSource, under the Apache License, Version 2.0.
This license is available at: http://opensource.org/licenses/Apache-2.0. */
/***********************************************************************/
/*
* Encoding support.
*/
#ifndef CFFWRITE_ENCODING_H
#define CFFWRITE_ENCODING_H
#include "cffwrite_share.h"
void cfwEncodingNew(cfwCtx g);
void cfwEncodingReuse(cfwCtx g);
void cfwEncodingFree(cfwCtx g);
const unsigned char *cfwEncodingGetPredef(int id, int *cnt);
void cfwEncodingBeg(cfwCtx g);
void cfwEncodingAddCode(cfwCtx g, unsigned char code);
void cfwEncodingAddSupCode(cfwCtx g, unsigned char code, SID sid);
int cfwEncodingEnd(cfwCtx g);
long cfwEncodingFill(cfwCtx g);
void cfwEncodingWrite(cfwCtx g);
Offset cfwEncodingGetOffset(cfwCtx g, int iEncoding, Offset base);
#endif /* CFFWRITE_ENCODING_H */
|