Просмотр исходного кода

* STATIC char const. AHAHAHAHA.

tags/v0.99.beta14
Sam Hocevar sam 18 лет назад
Родитель
Сommit
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.
*


Загрузка…
Отмена
Сохранить