Browse Source

* STATIC char const. AHAHAHAHA.

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
24a9ef1046
1 changed files with 24 additions and 25 deletions
  1. +24
    -25
      cucul/export_ps.c

+ 24
- 25
cucul/export_ps.c View File

@@ -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…
Cancel
Save