Lines Matching refs:psdoc

20 	PSDoc *psdoc;  in main()  local
53 psdoc = PS_new2(NULL, PS_mp_malloc, PS_mp_realloc, PS_mp_free, NULL); in main()
55 psdoc = PS_new(); in main()
57 if(0 > PS_open_file(psdoc, argv[2])) { in main()
61 PS_set_info(psdoc, "Creator", __FILE__); in main()
62 PS_set_info(psdoc, "Author", "Uwe Steinmann"); in main()
63 PS_set_info(psdoc, "Title", "Long Text Examples"); in main()
64 PS_set_info(psdoc, "Keywords", "boxed text, Einstein"); in main()
66 fraktur = PS_findfont(psdoc, "AlteSchwabacher", "AlteSchwabacher.enc", 1); in main()
67 antiqua = PS_findfont(psdoc, "Helvetica", "", 0); in main()
68 PS_begin_page(psdoc, 596, 842); in main()
70 PS_setfont(psdoc, fraktur, fontsize); in main()
71 PS_set_value(psdoc, "leading", 14); in main()
83 PS_set_parameter(psdoc, "hyphenation", "true"); in main()
84 PS_set_parameter(psdoc, "hyphendict", "hyph_de.dic"); in main()
85 PS_set_value(psdoc, "hyphenminchars", 2); in main()
86 PS_set_value(psdoc, "parindent", fontsize*1.2); in main()
87 PS_set_value(psdoc, "parskip", fontsize*1.2); in main()
88 PS_set_value(psdoc, "parindentskip", 0); in main()
94 PS_rect(psdoc, x, baseline, boxwidth, boxheight); in main()
95 PS_stroke(psdoc); in main()
98 rest = PS_show_boxed(psdoc, str, x, baseline, boxwidth, boxheight, HMODE, ""); in main()
99 PS_set_value(psdoc, "parindentskip", 1); in main()
104 PS_rect(psdoc, x, baseline, boxwidth, boxheight); in main()
105 PS_stroke(psdoc); in main()
107 rest = PS_show_boxed(psdoc, str, x, baseline, boxwidth, boxheight, HMODE, ""); in main()
109 PS_setfont(psdoc, antiqua, 8.0); in main()
110 PS_show_boxed(psdoc, argv[1], leftmargin, baseline-30, colsep+2*boxwidth, 20, "left", ""); in main()
111 PS_setfont(psdoc, fraktur, fontsize); in main()
112 PS_end_page(psdoc); in main()
116 PS_begin_page(psdoc, 596, 842); in main()
117 PS_setfont(psdoc, fraktur, fontsize); in main()
118 PS_set_value(psdoc, "leading", 14); in main()
121 PS_rect(psdoc, x, baseline, boxwidth, boxheight); in main()
122 PS_stroke(psdoc); in main()
124 rest = PS_show_boxed(psdoc, str, x, baseline, boxwidth, boxheight, "justify", ""); in main()
129 PS_rect(psdoc, x, baseline, boxwidth, boxheight); in main()
130 PS_stroke(psdoc); in main()
132 rest = PS_show_boxed(psdoc, str, x, baseline, boxwidth, boxheight, "justify", ""); in main()
135 …PS_set_value(psdoc, "textx", x+boxwidth-PS_stringwidth(psdoc, "Albert Einstein", fraktur, fontsize… in main()
136 PS_continue_text(psdoc, "Albert Einstein"); in main()
138 PS_end_page(psdoc); in main()
140 PS_deletefont(psdoc, fraktur); in main()
141 PS_deletefont(psdoc, antiqua); in main()
142 PS_close(psdoc); in main()
143 PS_delete(psdoc); in main()