|
|
@@ -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. |
|
|
|
* |
|
|
|