|
|
@@ -30,31 +30,29 @@ |
|
|
|
#include "cucul_internals.h" |
|
|
|
|
|
|
|
|
|
|
|
char 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 " |
|
|
|
" \n " |
|
|
|
" \n " |
|
|
|
"/Courier-Bold findfont \n " |
|
|
|
"8 scalefont \n " |
|
|
|
"setfont\n " |
|
|
|
"gsave \n " |
|
|
|
"6 10 scale \n"}; |
|
|
|
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. |
|
|
|