00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 static int g2_PS_paper_size[][2]={
00026 { 2384, 3370 },
00027 { 1684, 2384 },
00028 { 1191, 1684 },
00029 { 842, 1191 },
00030 { 595, 842 },
00031 { 420, 595 },
00032 { 297, 420 },
00033 { 210, 297 },
00034 { 148, 210 },
00035 { 105, 148 },
00036 { 2920, 4127 },
00037 { 2064, 2920 },
00038 { 1460, 2064 },
00039 { 1032, 1460 },
00040 { 729, 1032 },
00041 { 516, 729 },
00042 { 363, 516 },
00043 { 258, 363 },
00044 { 181, 258 },
00045 { 127, 181 },
00046 { 91, 127 },
00047 { 297, 684 },
00048 { 461, 648 },
00049 { 312, 624 },
00050 { 595, 935 },
00051 { 522, 756 },
00052 { 612, 792 },
00053 { 612, 1008 },
00054 { 1224, 792 },
00055 { 792, 1224 }
00056 };
00057
00058
00059
00060
00061
00062
00063
00064 char *g2_PS_operators[]={
00065 " /L { lineto } def",
00066 " /St { stroke } def",
00067 " /M { moveto } def",
00068 " /P {",
00069 " gsave newpath [] 0 setdash 1 setlinecap 0 setlinewidth",
00070 " 0.2 sub exch 0.2 sub exch moveto 0.4 0.4 rlineto",
00071 " stroke grestore} def",
00072 " /T {",
00073 " newpath",
00074 " moveto lineto lineto",
00075 " closepath stroke} def",
00076 " /FT {",
00077 " newpath",
00078 " moveto lineto lineto",
00079 " closepath fill} def",
00080 " /R {",
00081 " newpath",
00082 " 3 index 1 index 6 4 roll 5 index 1 index",
00083 " moveto lineto lineto lineto closepath stroke} def",
00084 " /FR {",
00085 " newpath",
00086 " 3 index 1 index 6 4 roll 5 index 1 index",
00087 " moveto lineto lineto lineto closepath fill} def",
00088 " /A {",
00089 " gsave /g2_old_matrix matrix currentmatrix def newpath",
00090 " translate scale 0 0 1 5 3 roll arc",
00091 " g2_old_matrix setmatrix stroke grestore } def",
00092 " /FA {",
00093 " gsave /g2_old_matrix matrix currentmatrix def newpath",
00094 " translate scale 0 0 moveto 0 0 1 5 3 roll arc closepath",
00095 " g2_old_matrix setmatrix fill grestore } def",
00096 " /S {",
00097 " gsave newpath",
00098 " translate 0 0 moveto show",
00099 " stroke grestore} def",
00100 "\n",
00101 NULL
00102 };
00103
00104