瀏覽代碼

* STATIC char const. AHAHAHAHA.

tags/v0.99.beta14
Sam Hocevar sam 18 年之前
父節點
當前提交
24a9ef1046
共有 1 個檔案被更改,包括 24 行新增25 行删除
  1. +24
    -25
      cucul/export_ps.c

+ 24
- 25
cucul/export_ps.c 查看文件

@@ -29,31 +29,30 @@
#include "cucul.h"
#include "cucul_internals.h"


char const *ps_header = "%%! \n"
"%%%% libcaca PDF export \n"
"%%%%LanguageLevel: 2 \n"
"%%%%Pages: 1 \n"
"%%%%DocumentData: Clean7Bit \n"
"/csquare { \n"
" newpath \n"
" 0 0 moveto \n"
" 0 1 rlineto \n"
" 1 0 rlineto \n"
" 0 -1 rlineto \n"
" closepath \n"
" setrgbcolor \n"
" fill \n"
"} def \n"
"/S { \n"
" Show \n"
"} bind def \n"
"/Courier-Bold findfont \n"
"8 scalefont \n"
"setfont\n"
"gsave \n"
"6 10 scale \n";

static char const *ps_header =
"%%! \n"
"%%%% libcaca PDF export \n"
"%%%%LanguageLevel: 2 \n"
"%%%%Pages: 1 \n"
"%%%%DocumentData: Clean7Bit \n"
"/csquare { \n"
" newpath \n"
" 0 0 moveto \n"
" 0 1 rlineto \n"
" 1 0 rlineto \n"
" 0 -1 rlineto \n"
" closepath \n"
" setrgbcolor \n"
" fill \n"
"} def \n"
"/S { \n"
" Show \n"
"} bind def \n"
"/Courier-Bold findfont \n"
"8 scalefont \n"
"setfont\n"
"gsave \n"
"6 10 scale \n";

/** \brief Generate Postscript representation of current image.
*


Loading…
取消
儲存