Home
last modified time | relevance | path

Searched refs:emb (Results 1 – 19 of 19) sorted by relevance

/third_party/cups-filters/fontembed/
Dembed.c177 int emb_embed(EMB_PARAMS *emb,OUTPUT_FN output,void *context) // {{{ in emb_embed() argument
179 assert(emb); in emb_embed()
181 if (emb->dest==EMB_DEST_NATIVE) { in emb_embed()
182 } else if (emb->dest<=EMB_DEST_PS) { in emb_embed()
184 const char *fontname=emb_otf_get_fontname(emb->font->sfnt); // TODO!! in emb_embed()
188 if (emb->outtype==EMB_FMT_T1) { in emb_embed()
189 } else if (emb->outtype==EMB_FMT_TTF) { // emb->outtype==EMB_OUTPUT_OTF is stupid (?) in emb_embed()
191 ret=emb_otf_ps(emb->font->sfnt,NULL,256,NULL,output,context); // TODO? in emb_embed()
192 } else if (emb->outtype==EMB_FMT_CFF) { in emb_embed()
193 } else if (emb->outtype==EMB_FMT_STDFONT) { in emb_embed()
[all …]
Dembed_pdf.c33 static inline int emb_multibyte(EMB_PARAMS *emb) // {{{ in emb_multibyte() argument
35 return (emb->plan&EMB_A_MULTIBYTE)?1:0; in emb_multibyte()
67 const char *emb_pdf_get_font_subtype(EMB_PARAMS *emb) // {{{ in emb_pdf_get_font_subtype() argument
69 assert(emb); in emb_pdf_get_font_subtype()
70 return emb_pdf_font_subtype[emb->outtype][emb_multibyte(emb)]; in emb_pdf_get_font_subtype()
75 const char *emb_pdf_get_fontfile_key(EMB_PARAMS *emb) // {{{ in emb_pdf_get_fontfile_key() argument
77 assert(emb); in emb_pdf_get_fontfile_key()
78 return emb_pdf_fontfile_key[emb->outtype]; in emb_pdf_get_fontfile_key()
83 const char *emb_pdf_get_fontfile_subtype(EMB_PARAMS *emb) // {{{ in emb_pdf_get_fontfile_subtype() argument
85 assert(emb); in emb_pdf_get_fontfile_subtype()
[all …]
Dtest_pdf.c48 static inline void write_string(FILE *f,EMB_PARAMS *emb,const char *str) // {{{ in write_string() argument
51 assert(emb); in write_string()
54 if (emb->plan&EMB_A_MULTIBYTE) { in write_string()
57 const unsigned short gid=emb_get(emb,(unsigned char)str[iA]); in write_string()
64 emb_get(emb,(unsigned char)str[iA]); in write_string()
87 EMB_PARAMS *emb=emb_new(ff, in main() local
103 write_string(f,emb,"Hallo"); in main()
108 emb_get(emb,'a'); in main()
111 EMB_PDF_FONTDESCR *fdes=emb_pdf_fontdescr(emb); in main()
113 EMB_PDF_FONTWIDTHS *fwid=emb_pdf_fontwidths(emb); in main()
[all …]
Dtest_ps.c21 static inline void write_string(FILE *f,EMB_PARAMS *emb,const char *str) // {{{ in write_string() argument
24 assert(emb); in write_string()
27 if (emb->plan&EMB_A_MULTIBYTE) { in write_string()
30 const unsigned short gid=emb_get(emb,(unsigned char)str[iA]); in write_string()
37 emb_get(emb,(unsigned char)str[iA]); in write_string()
60 EMB_PARAMS *emb=emb_new(ff, in main() local
72 emb_get(emb,'a'); in main()
76 emb_get(emb,(unsigned char)str[iA]); in main()
79 emb_embed(emb,example_outfn,f); in main()
83 " /%s findfont 10 scalefont setfont\n",emb_otf_get_fontname(emb->font->sfnt)); in main()
[all …]
Dembed_pdf.h40 const char *emb_pdf_get_font_subtype(EMB_PARAMS *emb);
41 const char *emb_pdf_get_fontfile_key(EMB_PARAMS *emb);
42 const char *emb_pdf_get_fontfile_subtype(EMB_PARAMS *emb);
44 EMB_PDF_FONTDESCR *emb_pdf_fontdescr(EMB_PARAMS *emb);
45 EMB_PDF_FONTWIDTHS *emb_pdf_fontwidths(EMB_PARAMS *emb);
48 char *emb_pdf_simple_fontdescr(EMB_PARAMS *emb,EMB_PDF_FONTDESCR *fdes,int fontfile_obj_ref);
49 char *emb_pdf_simple_font(EMB_PARAMS *emb,EMB_PDF_FONTDESCR *fdes,EMB_PDF_FONTWIDTHS *fwid,int font…
50 char *emb_pdf_simple_cidfont(EMB_PARAMS *emb,const char *fontname,int descendant_obj_ref);
51 char *emb_pdf_simple_stdfont(EMB_PARAMS *emb);
Dembed.h64 int emb_embed(EMB_PARAMS *emb,OUTPUT_FN output,void *context); // returns number of bytes written
65 void emb_close(EMB_PARAMS *emb);
68 static inline void emb_set(EMB_PARAMS *emb,int unicode,unsigned short gid) // {{{ in emb_set() argument
70 if (emb->subset) { in emb_set()
71 if (emb->plan&EMB_A_MULTIBYTE) { in emb_set()
72 bit_set(emb->subset,gid); in emb_set()
82 static inline unsigned short emb_get(EMB_PARAMS *emb,int unicode) // {{{ gid in emb_get() argument
84 const unsigned short gid=otf_from_unicode(emb->font->sfnt,unicode); in emb_get()
85 emb_set(emb,unicode,gid); in emb_get()
/third_party/cups-filters/filter/
Dtest_pdf2.c9 static inline void write_string(pdfOut *pdf,EMB_PARAMS *emb,const char *str) // {{{ in write_string() argument
12 assert(emb); in write_string()
15 if (emb->plan&EMB_A_MULTIBYTE) { in write_string()
18 const unsigned short gid=emb_get(emb,(unsigned char)str[iA]); in write_string()
25 emb_get(emb,(unsigned char)str[iA]); in write_string()
58 EMB_PARAMS *emb=emb_new(ff, in main() local
73 write_string(pdf,emb,"Test"); in main()
87 int font_obj=pdfOut_write_font(pdf,emb); in main()
105 emb_close(emb); in main()
Dpdfutils.c298 int pdfOut_write_font(pdfOut *pdf,EMB_PARAMS *emb) // {{{ in pdfOut_write_font() argument
301 assert(emb); in pdfOut_write_font()
303 EMB_PDF_FONTDESCR *fdes=emb_pdf_fontdescr(emb); in pdfOut_write_font()
305 if (emb->outtype==EMB_FMT_STDFONT) { // std-14 font in pdfOut_write_font()
307 char *res=emb_pdf_simple_stdfont(emb); in pdfOut_write_font()
326 if (emb_pdf_get_fontfile_subtype(emb)) { in pdfOut_write_font()
328 emb_pdf_get_fontfile_subtype(emb)); in pdfOut_write_font()
330 if (emb->outtype==EMB_FMT_TTF) { in pdfOut_write_font()
333 } else if (emb->outtype==EMB_FMT_T1) { // TODO in pdfOut_write_font()
342 const int outlen=emb_embed(emb,pdfOut_outfn,pdf); in pdfOut_write_font()
[all …]
Dtexttopdf.c105 EMB_PARAMS *emb=emb_new(ff, in font_load() local
109 assert(emb); in font_load()
110 assert(emb->plan&EMB_A_MULTIBYTE); in font_load()
111 return emb; in font_load()
118 EMB_PARAMS *emb=emb_new(ff, in font_std() local
121 assert(emb); in font_std()
122 return emb; in font_std()
178 EMB_PARAMS *emb=Fonts[j][i]; in WriteEpilogue() local
179 if (emb->font->fobj) { // already embedded in WriteEpilogue()
182 if ( (!emb->subset)||(bits_used(emb->subset,emb->font->sfnt->numGlyphs)) ) { in WriteEpilogue()
[all …]
Dpdfutils.h80 int pdfOut_write_font(pdfOut *pdf,struct _EMB_PARAMS *emb);
/third_party/python/Doc/extending/
Dembedding.rst236 PyModuleDef_HEAD_INIT, "emb", NULL, -1, EmbMethods,
250 PyImport_AppendInittab("emb", &PyInit_emb);
253 :func:`emb.numargs` function accessible to the embedded Python interpreter.
258 import emb
259 print("Number of arguments", emb.numargs())
/third_party/icu/icu4c/source/data/lang/
Dast.txt149 ebu{"embú"}
/third_party/skia/third_party/externals/icu/source/data/lang/
Dast.txt149 ebu{"embú"}
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/unicode/
DIdnaTestV2.txt4717 ۱。≠٨; ۱.≠٨; [B1, P1, V6]; xn--emb.xn--hib334l; ; ; # ۱.≠٨
4718 ۱。≠٨; ۱.≠٨; [B1, P1, V6]; xn--emb.xn--hib334l; ; ; # ۱.≠٨
4719 xn--emb.xn--hib334l; ۱.≠٨; [B1, V6]; xn--emb.xn--hib334l; ; ; # ۱.≠٨
/third_party/icu/icu4c/source/test/testdata/
DIdnaTestV2.txt4720 ۱。≠\u0668; ۱.≠\u0668; [B1, P1, V6]; xn--emb.xn--hib334l; ; ; # ۱.≠٨
4721 ۱。=\u0338\u0668; ۱.≠\u0668; [B1, P1, V6]; xn--emb.xn--hib334l; ; ; # ۱.≠٨
4722 xn--emb.xn--hib334l; ۱.≠\u0668; [B1, V6]; xn--emb.xn--hib334l; ; ; # ۱.≠٨
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
DIdnaTestV2.txt4720 ۱。≠\u0668; ۱.≠\u0668; [B1, P1, V6]; xn--emb.xn--hib334l; ; ; # ۱.≠٨
4721 ۱。=\u0338\u0668; ۱.≠\u0668; [B1, P1, V6]; xn--emb.xn--hib334l; ; ; # ۱.≠٨
4722 xn--emb.xn--hib334l; ۱.≠\u0668; [B1, V6]; xn--emb.xn--hib334l; ; ; # ۱.≠٨
/third_party/libwebsockets/minimal-examples/api-tests/api-test-fts/
Dles-mis-utf8.txt7232 «Quelle ne m'embête pas! s'écriait-il, je lui bombarde son mioche tout
/third_party/astc-encoder/Test/Images/HDRIHaven/HDR-RGB/
Dhdr-rgb-arboretum.hdr1078 …���a����ei�]���ho��c���x�gopng���nxvz{rjlruuyzwtuw|so�PL����mnl�e�z�p\]tm}�emb^�T^p�������Kes��hRs…
Dhdr-rgb-riverwalk.hdr2407  ����=�ʅ���µр�����������֙emb��������������΍Æ���������������똨tHg��u��s�pU;`������??�…