obj = pdf_dict_get(ctx, dict, PDF_NAME(FontName)); if (obj) fontname = pdf_to_name(ctx, obj); obj = pdf_dict_get(ctx, dict, PDF_NAME(FontFile)); if (obj) { stream = obj; ext = "pfa"; } obj = pdf_dict_get(ctx, dict, PDF_NAME(FontFile2)); if (obj) { stream =...
ds = pdf_dict_get_text_string_opt(ctx, annot->obj, PDF_NAME(DS)); @@ -2370,7 +2332,7 @@ pdf_write_free_text_appearance(fz_context *ctx, pdf_annot *annot, fz_buffer *buf #endif write_variable_text(ctx, annot, buf, res, lang, text, font, size, n, color, q, w, h, b...
ds = pdf_dict_get_text_string_opt(ctx, annot->obj, PDF_NAME(DS));@@ -2370,7 +2332,7 @@ pdf_write_free_text_appearance(fz_context *ctx, pdf_annot *annot, fz_buffer *buf 2370 2332 #endif 2371 2333 write_variable_text(ctx, annot, buf, res, lang, text, font, size, n, col...
The key must be an application-specific resource id:密钥必须是特定于应用程序的资源id。先来个基础...
Bug 696457-mupdf error 1.8 Summary:mupdf error 1.8 Status:RESOLVED INVALID Alias:None Product:MuPDF Classification:Unclassified Component:apps (show other bugs) Version:unspecified Hardware:Android Phone Android Importance:P4 normal Assignee:MuPDF bugs ...
btn_aus.GetPath() pdf_fle_out = open(ausgabe,"wb") pdf_out = PyPDF2.PdfFileWriter() aus_nr = 0 # current page number in output pdf_dict = {"/Creator":"PDF-Joiner", "/Producer":"PyMuPDF, PyPDF2", "/CreationDate": cdate, "/ModDate": cdate, "/Title": dlg.austit.Value,...
pdf_obj *type = pdf_dict_get(ctx, obj, PDF_NAME(Type)); return pdf_name_eq(ctx, type, PDF_NAME(FontDescriptor)); } static void writepixmap(fz_context *ctx, fz_pixmap *pix, char *file, int dorgb) { char buf[1024]; fz_pixmap *rgb = NULL; ...
pdf_dict_put(ctx, bs, PDF_NAME(Type), PDF_NAME(Border)); oldwidth = pdf_dict_get_real(ctx, bs, PDF_NAME(W)); old_width = pdf_dict_get_real(ctx, bs, PDF_NAME(W)); pdf_dict_put_real(ctx, bs, PDF_NAME(W), width); rectobj = pdf_dict_get(ctx, annot->obj, PDF_NAME(...
pdf_dict_put_drop(ctx, dict, key, pdf_new_text_string(ctx, x)); } void pdf_dict_put_indirect(fz_context *ctx, pdf_obj *dict, pdf_obj *key, int num) { pdf_dict_put_drop(ctx, dict, key, pdf_new_indirect(ctx, pdf_get_bound_document(ctx, dict), num, 0)); } void pdf_di...
private static final String TAG = TestActivity.class.getSimpleName();private final static int REQUEST_CODE = 42; public static final int PERMISSION_CODE = 42042;String pdfFileName;@Override protected void onCreate(@Nullable Bundle savedInstanceState) {...