1<?php
2
3/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4
5/**
6 * This is a visual test case, testing canvas fundamental canvas functionality.
7 *
8 * PHP versions 4 and 5
9 *
10 * LICENSE: This library is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License as published by
12 * the Free Software Foundation; either version 2.1 of the License, or (at your
13 * option) any later version. This library is distributed in the hope that it
14 * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
16 * General Public License for more details. You should have received a copy of
17 * the GNU Lesser General Public License along with this library; if not, write
18 * to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 * 02111-1307 USA
20 *
21 * @category   Images
22 * @package    Image_Canvas
23 * @author     Jesper Veggerby <pear.nosey@veggerby.dk>
24 * @copyright  Copyright (C) 2003, 2004 Jesper Veggerby Hansen
25 * @license    http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
26 * @version    CVS: $Id: ps.php 262270 2008-07-08 14:47:23Z steinm $
27 * @link       http://pear.php.net/package/Image_Canvas
28 */
29
30// SPECIFY HERE WHERE A TRUETYPE FONT CAN BE FOUND
31$testFont = 'c:/windows/fonts/Arial.ttf';
32
33require_once 'Image/Canvas.php';
34
35$canvas =& Image_Canvas::factory('ps', array('page' => 'A4', 'align' => 'center', 'width' => 600, 'height' => 600, 'filename'=>'testps.ps'));
36
37require_once './canvas_body.php';
38
39?>
40