• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef EMBED_SFNT_INT_H
2 #define EMBED_SFNT_INT_H
3 
4 #include "sfnt.h"
5 #include "embed_pdf.h"
6 
7 EMB_RIGHT_TYPE emb_otf_get_rights(OTF_FILE *otf);
8 
9 // NOTE: statically allocated buffer
10 const char *emb_otf_get_fontname(OTF_FILE *otf);
11 
12 void emb_otf_get_pdf_fontdescr(OTF_FILE *otf,EMB_PDF_FONTDESCR *ret);
13 EMB_PDF_FONTWIDTHS *emb_otf_get_pdf_widths(OTF_FILE *otf,const unsigned short *encoding,int len,const BITSET glyphs);
14 EMB_PDF_FONTWIDTHS *emb_otf_get_pdf_cidwidths(OTF_FILE *otf,const BITSET glyph);
15 
16 int emb_otf_ps(OTF_FILE *otf,unsigned short *encoding,int len,unsigned short *to_unicode,OUTPUT_FN output,void *context);
17 
18 #endif
19