pax_global_header00006660000000000000000000000064126213064170014514gustar00rootroot0000000000000052 comment=1ee835706b24ba267b2b110842740cd48d863450 php-image-text-0.7.0/000077500000000000000000000000001262130641700143515ustar00rootroot00000000000000php-image-text-0.7.0/Image_Text-0.7.0/000077500000000000000000000000001262130641700170375ustar00rootroot00000000000000php-image-text-0.7.0/Image_Text-0.7.0/Image/000077500000000000000000000000001262130641700200615ustar00rootroot00000000000000php-image-text-0.7.0/Image_Text-0.7.0/Image/Text.php000066400000000000000000001143641262130641700215270ustar00rootroot00000000000000 * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License * @version CVS: $Id$ * @link http://pear.php.net/package/Image_Text * @since File available since Release 0.0.1 */ require_once 'Image/Text/Exception.php'; /** * Image_Text - Advanced text manipulations in images. * * Image_Text provides advanced text manipulation facilities for GD2 image generation * with PHP. Simply add text clippings to your images, let the class automatically * determine lines, rotate text boxes around their center or top left corner. These * are only a couple of features Image_Text provides. * * @category Image * @package Image_Text * @author Tobias Schlitt * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License * @version Release: @package_version@ * @link http://pear.php.net/package/Image_Text * @since 0.0.1 */ class Image_Text { /** * Regex to match HTML style hex triples. */ const IMAGE_TEXT_REGEX_HTMLCOLOR = "/^[#|]([a-f0-9]{2})?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i"; /** * Defines horizontal alignment to the left of the text box. (This is standard.) */ const IMAGE_TEXT_ALIGN_LEFT = "left"; /** * Defines horizontal alignment to the center of the text box. */ const IMAGE_TEXT_ALIGN_RIGHT = "right"; /** * Defines horizontal alignment to the center of the text box. */ const IMAGE_TEXT_ALIGN_CENTER = "center"; /** * Defines vertical alignment to the to the top of the text box. (This is * standard.) */ const IMAGE_TEXT_ALIGN_TOP = "top"; /** * Defines vertical alignment to the to the middle of the text box. */ const IMAGE_TEXT_ALIGN_MIDDLE = "middle"; /** * Defines vertical alignment to the to the bottom of the text box. */ const IMAGE_TEXT_ALIGN_BOTTOM = "bottom"; /** * TODO: This constant is useless until now, since justified alignment does not * work yet */ const IMAGE_TEXT_ALIGN_JUSTIFY = "justify"; /** * Options array. these options can be set through the constructor or the set() * method. * * Possible options to set are: *
     *   'x'                | This sets the top left coordinates (using x/y) or the
     *   'y'                | center point coordinates (using cx/cy) for your text
     *   'cx'               | box. The values from cx/cy will overwrite x/y.
     *   'cy'               |
     *
     *   'canvas'           | You can set different values as a canvas:
     *                      |   - A gd image resource.
     *                      |   - An array with 'width' and 'height'.
     *                      |   - Nothing (the canvas will be measured after the real
     *                      |     text size).
     *
     *   'antialias'        | This is usually true. Set it to false to switch
     *                      | antialiasing off.
     *
     *   'width'            | The width and height for your text box.
     *   'height'           |
     *
     *   'halign'           | Alignment of your text inside the textbox. Use
     *   'valign'           | alignment constants to define vertical and horizontal
     *                      | alignment.
     *
     *   'angle'            | The angle to rotate your text box.
     *
     *   'color'            | An array of color values. Colors will be rotated in the
     *                      | mode you choose (linewise or paragraphwise). Can be in
     *                      | the following formats:
     *                      |   - String representing HTML style hex couples
     *                      |     (+ unusual alpha couple in the first place,
     *                      |      optional).
     *                      |   - Array of int values using 'r', 'g', 'b' and
     *                      |     optionally 'a' as keys.
     *
     *   'color_mode'       | The color rotation mode for your color sets. Does only
     *                      | apply if you defined multiple colors. Use 'line' or
     *                      | 'paragraph'.
     *
     *   'background_color' | defines the background color. NULL sets it transparent
     *   'enable_alpha'     | if alpha channel should be enabled. Automatically
     *                      | enabled when background_color is set to NULL
     *
     *   'font_path'        | Location of the font to use. The path only gives the
     *                      | directory path (ending with a /).
     *   'font_file'        | The fontfile is given in the 'font_file' option.
     *
     *   'font_size'        | The font size to render text in (will be overwriten, if
     *                      | you use automeasurize).
     *
     *   'line_spacing'     | Measure for the line spacing to use. Default is 0.5.
     *
     *   'min_font_size'    | Automeasurize settings. Try to keep this area as small
     *   'max_font_size'    | as possible to get better performance.
     *
     *   'image_type'       | The type of image (use image type constants). Is
     *                      | default set to PNG.
     *
     *   'dest_file'        | The destination to (optionally) save your file.
     * 
* * @var array * @see Image_Text::set() */ private $_options = array( // orientation 'x' => 0, 'y' => 0, // surface 'canvas' => null, 'antialias' => true, // text clipping 'width' => 0, 'height' => 0, // text alignment inside the clipping 'halign' => self::IMAGE_TEXT_ALIGN_LEFT, 'valign' => self::IMAGE_TEXT_ALIGN_TOP, // angle to rotate the text clipping 'angle' => 0, // color settings 'color' => array('#000000'), 'color_mode' => 'line', 'background_color' => '#000000', 'enable_alpha' => false, // font settings 'font_path' => "./", 'font_file' => null, 'font_size' => 2, 'line_spacing' => 0.5, // automasurizing settings 'min_font_size' => 1, 'max_font_size' => 100, //max. lines to render 'max_lines' => 100, // misc settings 'image_type' => IMAGETYPE_PNG, 'dest_file' => '' ); /** * Contains option names, which can cause re-initialization force. * * @var array */ private $_reInits = array( 'width', 'height', 'canvas', 'angle', 'font_file', 'font_path', 'font_size' ); /** * The text you want to render. * * @var string */ private $_text; /** * Resource ID of the image canvas. * * @var resource */ private $_img; /** * Tokens (each word). * * @var array */ private $_tokens = array(); /** * Fullpath to the font. * * @var string */ private $_font; /** * Contains the bbox of each rendered lines. * * @var array */ private $_bbox = array(); /** * Defines in which mode the canvas has be set. * * @var array */ private $_mode = ''; /** * Color indices returned by imagecolorallocatealpha. * * @var array */ private $_colors = array(); /** * Width and height of the (rendered) text. * * @var array */ private $_realTextSize = array('width' => false, 'height' => false); /** * Measurized lines. * * @var array */ private $_lines = false; /** * Fontsize for which the last measuring process was done. * * @var array */ private $_measurizedSize = false; /** * Is the text object initialized? * * @var bool */ private $_init = false; /** * Constructor * * Set the text and options. This initializes a new Image_Text object. You must * set your text here. Optionally you can set all options here using the $options * parameter. If you finished switching all options you have to call the init() * method first before doing anything further! See Image_Text::set() for further * information. * * @param string $text Text to print. * @param array $options Options. * * @see Image_Text::set(), Image_Text::construct(), Image_Text::init() */ public function __construct($text, $options = null) { $this->set('text', $text); if (!empty($options)) { $this->_options = array_merge($this->_options, $options); } } /** * Construct and initialize an Image_Text in one step. * This method is called statically and creates plus initializes an Image_Text * object. Beware: You will have to recall init() if you set an option afterwards * manually. * * @param string $text Text to print. * @param array $options Options. * * @return Image_Text * @see Image_Text::set(), Image_Text::Image_Text(), Image_Text::init() */ public static function construct($text, $options) { $itext = new Image_Text($text, $options); $itext->init(); return $itext; } /** * Set options * * Set a single or multiple options. It may happen that you have to reinitialize * the Image_Text object after changing options. For possible options, please * take a look at the class options array! * * @param array|string $option A single option name or the options array. * @param mixed $value Option value if $option is string. * * @return void * @see Image_Text::Image_Text() * @throws Image_Text_Exception setting the value failed */ public function set($option, $value = null) { $reInits = array_flip($this->_reInits); if (!is_array($option)) { if (!isset($value)) { throw new Image_Text_Exception('No value given.'); } $option = array($option => $value); } foreach ($option as $opt => $val) { switch ($opt) { case 'color': $this->setColors($val); break; case 'text': if (is_array($val)) { $this->_text = implode('\n', $val); } else { $this->_text = $val; } break; default: $this->_options[$opt] = $val; break; } if (isset($reInits[$opt])) { $this->_init = false; } } } /** * Set the color-set * * Using this method you can set multiple colors for your text. Use a simple * numeric array to determine their order and give it to this function. Multiple * colors will be cycled by the options specified 'color_mode' option. The given * array will overwrite the existing color settings! * * The following colors syntaxes are understood by this method: * * A single color or an array of colors are allowed here. * * @param array|string $colors Single color or array of colors. * * @return void * @see Image_Text::setColor(), Image_Text::set() * @throws Image_Text_Exception */ public function setColors($colors) { $i = 0; if (is_array($colors) && (is_string($colors[0]) || is_array($colors[0]))) { foreach ($colors as $color) { $this->setColor($color, $i++); } } else { $this->setColor($colors, $i); } } /** * Set a color * * This method is used to set a color at a specific color ID inside the color * cycle. * * The following colors syntaxes are understood by this method: * * * @param array|string $color Color value. * @param int $id ID (in the color array) to set color to. * * @return void * @see Image_Text::setColors(), Image_Text::set() * @throws Image_Text_Exception */ function setColor($color, $id = 0) { if (is_array($color)) { if (isset($color['r']) && isset($color['g']) && isset($color['b'])) { $color['a'] = isset($color['a']) ? $color['a'] : 0; $this->_options['colors'][$id] = $color; } else if (isset($color[0]) && isset($color[1]) && isset($color[2])) { $color['r'] = $color[0]; $color['g'] = $color[1]; $color['b'] = $color[2]; $color['a'] = isset($color[3]) ? $color[3] : 0; $this->_options['colors'][$id] = $color; } else { throw new Image_Text_Exception( 'Use keys 1,2,3 (optionally) 4 or r,g,b and (optionally) a.' ); } } elseif (is_string($color)) { $color = $this->convertString2RGB($color); if ($color) { $this->_options['color'][$id] = $color; } else { throw new Image_Text_Exception('Invalid color.'); } } if ($this->_img) { $aaFactor = ($this->_options['antialias']) ? 1 : -1; if (function_exists('imagecolorallocatealpha') && isset($color['a'])) { $this->_colors[$id] = $aaFactor * imagecolorallocatealpha( $this->_img, $color['r'], $color['g'], $color['b'], $color['a'] ); } else { $this->_colors[$id] = $aaFactor * imagecolorallocate( $this->_img, $color['r'], $color['g'], $color['b'] ); } if ($this->_colors[$id] == 0 && $aaFactor == -1) { // correction for black with antialiasing OFF // since color cannot be negative zero $this->_colors[$id] = -256; } } } /** * Initialize the Image_Text object. * * This method has to be called after setting the options for your Image_Text * object. It initializes the canvas, normalizes some data and checks important * options. Be sure to check the initialization after you switched some options. * The set() method may force you to reinitialize the object. * * @return void * @see Image_Text::set() * @throws Image_Text_Exception */ public function init() { // Does the fontfile exist and is readable? $fontFile = rtrim($this->_options['font_path'], '/\\'); $fontFile .= defined('OS_WINDOWS') && OS_WINDOWS ? '\\' : '/'; $fontFile .= $this->_options['font_file']; $fontFile = realpath($fontFile); if (empty($fontFile)) { throw new Image_Text_Exception('You must supply a font file.'); } elseif (!file_exists($fontFile)) { throw new Image_Text_Exception('Font file was not found.'); } elseif (!is_readable($fontFile)) { throw new Image_Text_Exception('Font file is not readable.'); } elseif (!imagettfbbox(1, 1, $fontFile, 1)) { throw new Image_Text_Exception('Font file is not valid.'); } $this->_font = $fontFile; // Is the font size to small? if ($this->_options['width'] < 1) { throw new Image_Text_Exception('Width too small. Has to be > 1.'); } // Check and create canvas $image_canvas = false; switch (true) { case (empty($this->_options['canvas'])): // Create new image from width && height of the clipping $this->_img = imagecreatetruecolor( $this->_options['width'], $this->_options['height'] ); if (!$this->_img) { throw new Image_Text_Exception('Could not create image canvas.'); } break; case (is_resource($this->_options['canvas']) && get_resource_type($this->_options['canvas']) == 'gd'): // The canvas is an image resource $image_canvas = true; $this->_img = $this->_options['canvas']; break; case (is_array($this->_options['canvas']) && isset($this->_options['canvas']['width']) && isset($this->_options['canvas']['height'])): // Canvas must be a width and height measure $this->_img = imagecreatetruecolor( $this->_options['canvas']['width'], $this->_options['canvas']['height'] ); break; case (is_array($this->_options['canvas']) && isset($this->_options['canvas']['size']) && ($this->_options['canvas']['size'] = 'auto')): case (is_string($this->_options['canvas']) && ($this->_options['canvas'] = 'auto')): $this->_mode = 'auto'; break; default: throw new Image_Text_Exception('Could not create image canvas.'); } if ($this->_img) { $this->_options['canvas'] = array(); $this->_options['canvas']['width'] = imagesx($this->_img); $this->_options['canvas']['height'] = imagesy($this->_img); } if ($this->_options['enable_alpha']) { imagesavealpha($this->_img, true); imagealphablending($this->_img, false); } if ($this->_options['background_color'] === null) { $this->_options['enable_alpha'] = true; imagesavealpha($this->_img, true); imagealphablending($this->_img, false); $colBg = imagecolorallocatealpha($this->_img, 255, 255, 255, 127); } else { $arBg = $this->convertString2RGB($this->_options['background_color']); if ($arBg === false) { throw new Image_Text_Exception('Background color is invalid.'); } $colBg = imagecolorallocatealpha( $this->_img, $arBg['r'], $arBg['g'], $arBg['b'], $arBg['a'] ); } if ($image_canvas === false) { imagefilledrectangle( $this->_img, 0, 0, $this->_options['canvas']['width'] - 1, $this->_options['canvas']['height'] - 1, $colBg ); } // Save and repair angle $angle = $this->_options['angle']; while ($angle < 0) { $angle += 360; } if ($angle > 359) { $angle = $angle % 360; } $this->_options['angle'] = $angle; // Set the color values $this->setColors($this->_options['color']); $this->_lines = null; // Initialization is complete $this->_init = true; } /** * Auto measurize text * * Automatically determines the greatest possible font size to fit the text into * the text box. This method may be very resource intensive on your webserver. A * good tweaking point are the $start and $end parameters, which specify the * range of font sizes to search through. Anyway, the results should be cached if * possible. You can optionally set $start and $end here as a parameter or the * settings of the options array are used. * * @param int|bool $start Fontsize to start testing with. * @param int|bool $end Fontsize to end testing with. * * @return int Fontsize measured * @see Image_Text::measurize() * @throws Image_Text_Exception * @todo Beware of initialize */ public function autoMeasurize($start = false, $end = false) { if (!$this->_init) { throw new Image_Text_Exception('Not initialized. Call ->init() first!'); } $start = (empty($start)) ? $this->_options['min_font_size'] : $start; $end = (empty($end)) ? $this->_options['max_font_size'] : $end; // Run through all possible font sizes until a measurize fails // Not the optimal way. This can be tweaked! for ($i = $start; $i <= $end; $i++) { $this->_options['font_size'] = $i; $res = $this->measurize(); if ($res === false) { if ($start == $i) { $this->_options['font_size'] = -1; throw new Image_Text_Exception("No possible font size found"); } $this->_options['font_size'] -= 1; $this->_measurizedSize = $this->_options['font_size']; break; } // Always the last couple of lines is stored here. $this->_lines = $res; } return $this->_options['font_size']; } /** * Measurize text into the text box * * This method makes your text fit into the defined textbox by measurizing the * lines for your given font-size. You can do this manually before rendering (or * use even Image_Text::autoMeasurize()) or the renderer will do measurizing * automatically. * * @param bool $force Optionally, default is false, set true to force * measurizing. * * @return array Array of measured lines. * @see Image_Text::autoMeasurize() * @throws Image_Text_Exception */ public function measurize($force = false) { if (!$this->_init) { throw new Image_Text_Exception('Not initialized. Call ->init() first!'); } $this->_processText(); // Precaching options $font = $this->_font; $size = $this->_options['font_size']; $space = (1 + $this->_options['line_spacing']) * $this->_options['font_size']; $max_lines = (int)$this->_options['max_lines']; if (($max_lines < 1) && !$force) { return false; } $block_width = $this->_options['width']; $block_height = $this->_options['height']; $colors_cnt = sizeof($this->_colors); $text_line = ''; $lines_cnt = 0; $lines = array(); $text_height = 0; $text_width = 0; $i = 0; $para_cnt = 0; $width = 0; $beginning_of_line = true; // Run through tokens and order them in lines foreach ($this->_tokens as $token) { // Handle new paragraphs if ($token == "\n") { $bounds = imagettfbbox($size, 0, $font, $text_line); if ((++$lines_cnt >= $max_lines) && !$force) { return false; } if ($this->_options['color_mode'] == 'paragraph') { $c = $this->_colors[$para_cnt % $colors_cnt]; $i++; } else { $c = $this->_colors[$i++ % $colors_cnt]; } $lines[] = array( 'string' => $text_line, 'width' => $bounds[2] - $bounds[0], 'height' => $bounds[1] - $bounds[7], 'bottom_margin' => $bounds[1], 'left_margin' => $bounds[0], 'color' => $c ); $text_width = max($text_width, ($bounds[2] - $bounds[0])); $text_height += (int)$space; if (($text_height > $block_height) && !$force) { return false; } $para_cnt++; $text_line = ''; $beginning_of_line = true; continue; } // Usual lining up if ($beginning_of_line) { $text_line = ''; $text_line_next = $token; $beginning_of_line = false; } else { $text_line_next = $text_line . ' ' . $token; } $bounds = imagettfbbox($size, 0, $font, $text_line_next); $prev_width = isset($prev_width) ? $width : 0; $width = $bounds[2] - $bounds[0]; // Handling of automatic new lines if ($width > $block_width) { if ((++$lines_cnt >= $max_lines) && !$force) { return false; } if ($this->_options['color_mode'] == 'line') { $c = $this->_colors[$i++ % $colors_cnt]; } else { $c = $this->_colors[$para_cnt % $colors_cnt]; $i++; } $lines[] = array( 'string' => $text_line, 'width' => $prev_width, 'height' => $bounds[1] - $bounds[7], 'bottom_margin' => $bounds[1], 'left_margin' => $bounds[0], 'color' => $c ); $text_width = max($text_width, ($bounds[2] - $bounds[0])); $text_height += (int)$space; if (($text_height > $block_height) && !$force) { return false; } $text_line = $token; $bounds = imagettfbbox($size, 0, $font, $text_line); $width = $bounds[2] - $bounds[0]; $beginning_of_line = false; } else { $text_line = $text_line_next; } } // Store remaining line $bounds = imagettfbbox($size, 0, $font, $text_line); $i++; if ($this->_options['color_mode'] == 'line') { $c = $this->_colors[$i % $colors_cnt]; } else { $c = $this->_colors[$para_cnt % $colors_cnt]; } $lines[] = array( 'string' => $text_line, 'width' => $bounds[2] - $bounds[0], 'height' => $bounds[1] - $bounds[7], 'bottom_margin' => $bounds[1], 'left_margin' => $bounds[0], 'color' => $c ); // add last line height, but without the line-spacing $text_height += $this->_options['font_size']; $text_width = max($text_width, ($bounds[2] - $bounds[0])); if (($text_height > $block_height) && !$force) { return false; } $this->_realTextSize = array( 'width' => $text_width, 'height' => $text_height ); $this->_measurizedSize = $this->_options['font_size']; return $lines; } /** * Render the text in the canvas using the given options. * * This renders the measurized text or automatically measures it first. The * $force parameter can be used to switch of measurizing problems (this may cause * your text being rendered outside a given text box or destroy your image * completely). * * @param bool $force Optional, initially false, set true to silence measurize * errors. * * @return void * @throws Image_Text_Exception */ public function render($force = false) { if (!$this->_init) { throw new Image_Text_Exception('Not initialized. Call ->init() first!'); } if (!$this->_tokens) { $this->_processText(); } if (empty($this->_lines) || ($this->_measurizedSize != $this->_options['font_size']) ) { $this->_lines = $this->measurize($force); } $lines = $this->_lines; if ($this->_mode === 'auto') { $this->_img = imagecreatetruecolor( $this->_realTextSize['width'], $this->_realTextSize['height'] ); if (!$this->_img) { throw new Image_Text_Exception('Could not create image canvas.'); } $this->_mode = ''; $this->setColors($this->_options['color']); } $block_width = $this->_options['width']; $max_lines = $this->_options['max_lines']; $angle = $this->_options['angle']; $radians = round(deg2rad($angle), 3); $font = $this->_font; $size = $this->_options['font_size']; $line_spacing = $this->_options['line_spacing']; $align = $this->_options['halign']; $offset = $this->_getOffset(); $start_x = $offset['x']; $start_y = $offset['y']; $sinR = sin($radians); $cosR = cos($radians); switch ($this->_options['valign']) { case self::IMAGE_TEXT_ALIGN_TOP: $valign_space = 0; break; case self::IMAGE_TEXT_ALIGN_MIDDLE: $valign_space = ($this->_options['height'] - $this->_realTextSize['height']) / 2; break; case self::IMAGE_TEXT_ALIGN_BOTTOM: $valign_space = $this->_options['height'] - $this->_realTextSize['height']; break; default: $valign_space = 0; } $space = (1 + $line_spacing) * $size; // Adjustment of align + translation of top-left-corner to bottom-left-corner // of first line $new_posx = $start_x + ($sinR * ($valign_space + $size)); $new_posy = $start_y + ($cosR * ($valign_space + $size)); $lines_cnt = min($max_lines, sizeof($lines)); $bboxes = array(); // Go thorugh lines for rendering for ($i = 0; $i < $lines_cnt; $i++) { // Calc the new start X and Y (only for line>0) // the distance between the line above is used if ($i > 0) { $new_posx += $sinR * $space; $new_posy += $cosR * $space; } // Calc the position of the 1st letter. We can then get the left and // bottom margins 'i' is really not the same than 'j' or 'g'. $left_margin = $lines[$i]['left_margin']; $line_width = $lines[$i]['width']; // Calc the position using the block width, the current line width and // obviously the angle. That gives us the offset to slide the line. switch ($align) { case self::IMAGE_TEXT_ALIGN_LEFT: $hyp = 0; break; case self::IMAGE_TEXT_ALIGN_RIGHT: $hyp = $block_width - $line_width - $left_margin; break; case self::IMAGE_TEXT_ALIGN_CENTER: $hyp = ($block_width - $line_width) / 2 - $left_margin; break; default: $hyp = 0; break; } $posx = $new_posx + $cosR * $hyp; $posy = $new_posy - $sinR * $hyp; $c = $lines[$i]['color']; // Render textline $bboxes[] = imagettftext( $this->_img, $size, $angle, $posx, $posy, $c, $font, $lines[$i]['string'] ); } $this->_bbox = $bboxes; } /** * Return the image ressource. * * Get the image canvas. * * @return resource Used image resource */ public function getImg() { return $this->_img; } /** * Display the image (send it to the browser). * * This will output the image to the users browser. You can use the standard * IMAGETYPE_* constants to determine which image type will be generated. * Optionally you can save your image to a destination you set in the options. * * @param bool $save Save or not the image on printout. * @param bool $free Free the image on exit. * * @return bool True on success * @see Image_Text::save() * @throws Image_Text_Exception */ public function display($save = false, $free = false) { if (!headers_sent()) { header( "Content-type: " . image_type_to_mime_type($this->_options['image_type']) ); } else { throw new Image_Text_Exception('Header already sent.'); } switch ($this->_options['image_type']) { case IMAGETYPE_PNG: $imgout = 'imagepng'; break; case IMAGETYPE_JPEG: $imgout = 'imagejpeg'; break; case IMAGETYPE_BMP: $imgout = 'imagebmp'; break; default: throw new Image_Text_Exception('Unsupported image type.'); } if ($save) { $imgout($this->_img); $this->save(); } else { $imgout($this->_img); } if ($free) { $res = imagedestroy($this->_img); if (!$res) { throw new Image_Text_Exception('Destroying image failed.'); } } } /** * Save image canvas. * * Saves the image to a given destination. You can leave out the destination file * path, if you have the option for that set correctly. Saving is possible with * the display() method, too. * * @param bool|string $destFile The destination to save to (optional, uses * options value else). * * @see Image_Text::display() * @return void * @throws Image_Text_Exception */ public function save($destFile = false) { if (!$destFile) { $destFile = $this->_options['dest_file']; } if (!$destFile) { throw new Image_Text_Exception("Invalid desitination file."); } switch ($this->_options['image_type']) { case IMAGETYPE_PNG: $imgout = 'imagepng'; break; case IMAGETYPE_JPEG: $imgout = 'imagejpeg'; break; case IMAGETYPE_BMP: $imgout = 'imagebmp'; break; default: throw new Image_Text_Exception('Unsupported image type.'); break; } $res = $imgout($this->_img, $destFile); if (!$res) { throw new Image_Text_Exception('Saving file failed.'); } } /** * Get completely translated offset for text rendering. * * Get completely translated offset for text rendering. Important for usage of * center coords and angles. * * @return array Array of x/y coordinates. */ private function _getOffset() { // Presaving data $width = $this->_options['width']; $height = $this->_options['height']; $angle = $this->_options['angle']; $x = $this->_options['x']; $y = $this->_options['y']; // Using center coordinates if (!empty($this->_options['cx']) && !empty($this->_options['cy'])) { $cx = $this->_options['cx']; $cy = $this->_options['cy']; // Calculation top left corner $x = $cx - ($width / 2); $y = $cy - ($height / 2); // Calculating movement to keep the center point on himslf after rotation if ($angle) { $ang = deg2rad($angle); // Vector from the top left cornern ponting to the middle point $vA = array(($cx - $x), ($cy - $y)); // Matrix to rotate vector // sinus and cosinus $sin = round(sin($ang), 14); $cos = round(cos($ang), 14); // matrix $mRot = array( $cos, (-$sin), $sin, $cos ); // Multiply vector with matrix to get the rotated vector // This results in the location of the center point after rotation $vB = array( ($mRot[0] * $vA[0] + $mRot[2] * $vA[0]), ($mRot[1] * $vA[1] + $mRot[3] * $vA[1]) ); // To get the movement vector, we subtract the original middle $vC = array( ($vA[0] - $vB[0]), ($vA[1] - $vB[1]) ); // Finally we move the top left corner coords there $x += $vC[0]; $y += $vC[1]; } } return array('x' => (int)round($x, 0), 'y' => (int)round($y, 0)); } /** * Convert a color to an array. * * The following colors syntax must be used: * "#08ffff00" hexadecimal format with alpha channel (08) * * @param string $scolor string of colorcode. * * @see Image_Text::IMAGE_TEXT_REGEX_HTMLCOLOR * @return bool|array false if string can't be converted to array */ public static function convertString2RGB($scolor) { if (preg_match(self::IMAGE_TEXT_REGEX_HTMLCOLOR, $scolor, $matches)) { return array( 'r' => hexdec($matches[2]), 'g' => hexdec($matches[3]), 'b' => hexdec($matches[4]), 'a' => hexdec(!empty($matches[1]) ? $matches[1] : 0), ); } return false; } /** * Extract the tokens from the text. * * @return void */ private function _processText() { if (!isset($this->_text)) { return; } $this->_tokens = array(); // Normalize linebreak to "\n" $this->_text = preg_replace("[\r\n]", "\n", $this->_text); // Get each paragraph $paras = explode("\n", $this->_text); // loop though the paragraphs // and get each word (token) foreach ($paras as $para) { $words = explode(' ', $para); foreach ($words as $word) { $this->_tokens[] = $word; } // add a "\n" to mark the end of a paragraph $this->_tokens[] = "\n"; } // we do not need an end paragraph as the last token array_pop($this->_tokens); } } php-image-text-0.7.0/Image_Text-0.7.0/Image/Text/000077500000000000000000000000001262130641700210055ustar00rootroot00000000000000php-image-text-0.7.0/Image_Text-0.7.0/Image/Text/Exception.php000066400000000000000000000012341262130641700234540ustar00rootroot00000000000000 * @license http://www.php.net/license/3_01.txt PHP License * @link http://pear.php.net/package/Image_Text */ require_once 'PEAR/Exception.php'; /** * Exception for Image_Text * * @category Image * @package Image_Text * @author Daniel O'Connor * @author Michael Cramer * @license http://www.php.net/license/3_01.txt PHP License * @link http://pear.php.net/package/Image_Text */ class Image_Text_Exception extends PEAR_Exception { } php-image-text-0.7.0/Image_Text-0.7.0/LICENSE000066400000000000000000000062221262130641700200460ustar00rootroot00000000000000-------------------------------------------------------------------- The PHP License, version 3.01 Copyright (c) 1999 - 2012 The PHP Group. All rights reserved. -------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without modification, is permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name "PHP" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact group@php.net. 4. Products derived from this software may not be called "PHP", nor may "PHP" appear in their name, without prior written permission from group@php.net. You may indicate that your software works in conjunction with PHP by saying "Foo for PHP" instead of calling it "PHP Foo" or "phpfoo" 5. The PHP Group may publish revised and/or new versions of the license from time to time. Each version will be given a distinguishing version number. Once covered code has been published under a particular version of the license, you may always continue to use it under the terms of that version. You may also choose to use such covered code under the terms of any subsequent version of the license published by the PHP Group. No one other than the PHP Group has the right to modify the terms applicable to covered code created under this License. 6. Redistributions of any form whatsoever must retain the following acknowledgment: "This product includes PHP software, freely available from ". THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- This software consists of voluntary contributions made by many individuals on behalf of the PHP Group. The PHP Group can be contacted via Email at group@php.net. For more information on the PHP Group and the PHP project, please see . PHP includes the Zend Engine, freely available at . php-image-text-0.7.0/Image_Text-0.7.0/README000066400000000000000000000010441262130641700177160ustar00rootroot00000000000000This package is http://pear.php.net/package/Image_Text and has been migrated from http://svn.php.net/repository/pear/packages/Image_Text Please report all new issues via the PEAR bug tracker. If this package is marked as unmaintained and you have fixes, please submit your pull requests and start discussion on the pear-qa mailing list. To test, run either $ phpunit tests/ or $ pear run-tests -r To build, simply $ pear package To install from scratch $ pear install package.xml To upgrade $ pear upgrade -f package.xml php-image-text-0.7.0/Image_Text-0.7.0/examples/000077500000000000000000000000001262130641700206555ustar00rootroot00000000000000php-image-text-0.7.0/Image_Text-0.7.0/examples/BasicExample.php000066400000000000000000000053111262130641700237230ustar00rootroot00000000000000 * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License * @link http://pear.php.net/package/Image_Text * @since File available since Release 0.0.1 */ require_once 'Image/Text.php'; $colors = array( 0 => '#0d54e2', 1 => '#e8ce7a', 2 => '#7ae8ad' ); $text = "EXTERIOR: DAGOBAH -- DAY\nWith Yoda\nstrapped to\n\nhis back, Luke climbs" . " up one of the many thick vines that grow in the swamp until he reaches the" . " Dagobah statistics lab. Panting heavily, he continues his exercises --" . " grepping, installing new packages, logging in as root, and writing" . " replacements for two-year-old shell scripts in PHP.\nYODA: Code! Yes. A" . " programmer's strength flows from code maintainability. But beware of Perl." . " Terse syntax... more than one way to do it... default variables. The dark" . " side of code maintainability are they. Easily they flow, quick to join you" . " when code you write. If once you start down the dark path, forever will it" . " dominate your destiny, consume you it will.\nLUKE: Is Perl better than" . " PHP?\nYODA: No... no... no. Orderless, dirtier, more seductive.\nLUKE: But" . " how will I know why PHP is better than Perl?\nYODA: You will know. When your" . " code you try to read six months from now..."; $options = array( 'canvas' => array( 'width' => 600, 'height' => 600 ), // Generate a new image 600x600 pixel 'cx' => 300, // Set center to the middle of the canvas 'cy' => 300, 'width' => 300, // Set text box size 'height' => 300, 'line_spacing' => 1, // Normal linespacing 'angle' => 45, // Text rotated by 45 'color' => $colors, // Predefined colors 'background_color' => '#FF0000', //red background 'max_lines' => 100, // Maximum lines to render 'min_font_size' => 2, // Minimal/Maximal font size (for automeasurize) 'max_font_size' => 50, 'font_path' => './', // Settings for the font file 'font_file' => 'Vera.ttf', 'antialias' => true, // Antialiase font rendering 'halign' => Image_Text::IMAGE_TEXT_ALIGN_RIGHT, // Alignment to the right 'valign' => Image_Text::IMAGE_TEXT_ALIGN_MIDDLE // Alignment to the middle ); // Generate a new Image_Text object $itext = new Image_Text($text, $options); // Initialize and check the settings $itext->init(); // Automatically determine optimal font size $itext->autoMeasurize(); // Render the image $itext->render(); // Display it $itext->display(); php-image-text-0.7.0/Image_Text-0.7.0/examples/example.php000066400000000000000000000173741262130641700230350ustar00rootroot00000000000000 * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version CVS: $Id$ * @link http://pear.php.net/package/Net_FTP2 * @since File available since Release 0.0.1 */ // ini_set('include_path', '.:/cvs/pear/Image_Text:/usr/share/pear'); require_once 'Image/Text.php'; function getmicrotime() { list($usec,$sec) = explode(' ', microtime()); return ((float)$usec+(float)$sec); } $colors = array( 0 => '#0d54e2', 1 => '#e8ce7a', 2 => '#7ae8ad' ); $texts[] = "a passion for php"; // Short Text $texts[] = "a good computer is like a tipi - no windows, no gates and an apache inside"; // Normal Text $texts[] = "What is PEAR?\nThe fleshy pome, or fruit, of a rosaceous tree (Pyrus communis), cultivated in many varieties in temperate climates.\nPEAR is a framework and distribution system for reusable PHP components. PECL, being a subset of PEAR, is the complement for C extensions for PHP. See the FAQ and manual for more information."; // Long Text $texts[] = "EXTERIOR: DAGOBAH -- DAY\nWith Yoda\nstrapped to\n\nhis back, Luke climbs up one of the many thick vines that grow in the swamp until he reaches the Dagobah statistics lab. Panting heavily, he continues his exercises -- grepping, installing new packages, logging in as root, and writing replacements for two-year-old shell scripts in PHP.\nYODA: Code! Yes. A programmer's strength flows from code maintainability. But beware of Perl. Terse syntax... more than one way to do it... default variables. The dark side of code maintainability are they. Easily they flow, quick to join you when code you write. If once you start down the dark path, forever will it dominate your destiny, consume you it will.\nLUKE: Is Perl better than PHP?\nYODA: No... no... no. Orderless, dirtier, more seductive.\nLUKE: But how will I know why PHP is better than Perl?\nYODA: You will know. When your code you try to read six months from now..."; $texts[] = "1. The idea:\nThe idea is very simple. I wanted to have 2 versions of PHP (4.3.4 and 5.0beta3) running together on 1 maschine, both as Apache 1.3 modules.\n2. Compiling PHP:\nI had a PHP 4.3.4 running on my devbox and compiled a PHP 5 version in addition. This can be managed in a bloody simple way. Download a copy of PHP 5, unpack the archive to any directory. Copy the './configure' statement from your installed PHP version and exchange/create the prefix option, e.g. '--prefix=/usr/php5' and change the '--with-config-file-path' to a different location (e.g. '/etc/php5').\n\nRun the './configure' statement inside the unpack directory using './configure '. You can get a complete list opf PHP 5 supported option with './configure --help'.\n\nPHP 5 make files had been created successfully (most errors shouls result from version conflicts of libraries and header files, you can easiely solve this by installing or compiling new versions of the required packages/development-packages). Now you should run the 'make' statement and get a coffee, during your first PHP 5 compile... ein Wort \nmehr"; $texts[] = "1. The idea: \n\n\n\nThe idea is very simple. I wanted to have 2 versions of PHP (4.3.4 and 5.0beta3) running together on 1 maschine, both as Apache 1.3 modules. \n\n \n\n2. Compiling PHP: \n\n \n\nI had a PHP 4.3.4 running on my devbox and compiled a PHP 5 version in addition. This can be managed in a bloody simple way. Download a copy of PHP 5, unpack the archive to any directory. Copy the './configure' statement from your installed PHP version and exchange/create the prefix option, e.g. '--prefix=/usr/php5' and change the '--with-config-file-path' to a different location (e.g. '/etc/php5'). \n\n \n\nRun the './configure' statement inside the unpack directory using './configure '. You can get a complete list opf PHP 5 supported option with './configure --help'. \n\n \n\nPHP 5 make files had been created successfully (most errors shouls result from version conflicts of libraries and header files, you can easiely solve this by installing or compiling new versions of the required packages/development-packages). Now you should run the 'make' statement and get a coffee,\nduring your first PHP 5 compile..."; $texts[] = "1. The idea: The idea is very simple. I wanted to have 2 versions of PHP (4.3.4 and 5.0beta3) running together on 1 maschine, both as Apache 1.3 modules. 2. Compiling PHP: I had a PHP 4.3.4 running on my devbox and compiled a PHP 5 version in addition. This can be managed in a bloody simple way. Download a copy of PHP 5, unpack the archive to any directory. Copy the './configure' statement from your installed PHP version and exchange/create the prefix option, e.g. '--prefix=/usr/php5' and change the '--with-config-file-path' to a different location (e.g. '/etc/php5'). Run the './configure' statement inside the unpack directory using './configure '. You can get a complete list opf PHP 5 supported option with './configure --help'. PHP 5 make files had been created successfully (most errors shouls result from version conflicts of libraries and header files, you can easiely solve this by installing or compiling new versions of the required packages/development-packages). Now you should run the 'make' statement and get a coffee, during your first PHP 5 compile..."; $options = array( 'cx' => 300, 'cy' => 300, 'canvas' => array('width'=> 600,'height'=> 600), 'width' => 300, 'height' => 300, 'line_spacing' => 1, 'angle' => 0, 'color' => $colors, 'background_color' => '#FF0000', //red background 'max_lines' => 100, 'min_font_size' => 2, 'max_font_size' => 50, 'font_path' => './', 'antialias' => true, 'font_file' => 'Vera.ttf', 'halign' => IMAGE_TEXT_ALIGN_LEFT ); $text = $texts[array_rand($texts)]; foreach ($_GET as $key => $val) { switch ($key) { case 'font_size': $options['font_size'] = (int)$val; break; case 'line_spacing': $options['line_spacing'] = $val; break; case 'halign': $options['halign'] = $val; break; case 'valign': $options['valign'] = $val; break; case 'angle': $options['angle'] = $val; break; case 'text': $text = $texts[$val]; break; } } $start = getmicrotime(); $itext = new Image_Text($text, $options); $ret = $itext->init(); if (PEAR::isError($ret)) { echo $ret->getMessage() . "\n"; die(); } if (empty($options['font_size'])) { $itext->autoMeasurize(); } else { $itext->measurize(); } $itext->render(); $end = getmicrotime(); $time = $end - $start; if (isset($_GET['debug'])) { echo "

-- DEBUGGING MODE --

"; } else { $img =& $itext->getImg(); $red = imagecolorallocate($img, 255, 0, 0); imagefilledellipse($img, 300, 300, 10, 10, $red); if (isset($_GET['info'])) { imagettftext($img, 10, 0, 10, 550, $red, "./Vera.ttf", "$time sec."); } $itext->display(); } ?> php-image-text-0.7.0/Image_Text-0.7.0/tests/000077500000000000000000000000001262130641700202015ustar00rootroot00000000000000php-image-text-0.7.0/Image_Text-0.7.0/tests/Bug17623_Test.php000066400000000000000000000026311262130641700230330ustar00rootroot00000000000000 * @license http://www.php.net/license/3_01.txt PHP License * @link http://pear.php.net/package/Image_Text */ require_once 'Image/Text.php'; /** * Class Bug17623_Test * * @category Image * @package Image_Text * @author Michael Cramer * @license http://www.php.net/license/3_01.txt PHP License * @link http://pear.php.net/package/Image_Text * @link http://pear.php.net/bugs/bug.php?id=17623 */ class Bug17623_Test extends PHPUnit_Framework_TestCase { /** * testee * * @var Image_Text */ private $_testee; /** * setup test instance * * @return void */ protected function setUp() { $this->_testee = new Image_Text("test"); } /** * testcase for Bug 17623 * * @return void */ public function testBug17623() { $this->_testee->set('font_path', dirname(__FILE__) . '/data/'); $this->_testee->set('font_file', 'Vera.ttf'); $this->_testee->set('width', 200); $this->_testee->set('height', 200); $this->_testee->set('color', '#000000'); $this->_testee->init(); $this->assertNotNull($this->_testee->getImg()); } } php-image-text-0.7.0/Image_Text-0.7.0/tests/TextTest.php000066400000000000000000000167501262130641700225070ustar00rootroot00000000000000 * @license BSD License * @link http://pear.php.net/package/Text_CAPTCHA */ require_once 'Image/Text.php'; require_once dirname(__FILE__) . '/imageisthesame.php'; /** * Class Image_Text_Test * * @category Text * @package Text_CAPTCHA * @author Michael Cramer * @license BSD License * @link http://pear.php.net/package/Text_CAPTCHA */ class Image_Text_Test extends PHPUnit_Framework_TestCase { /** * directory with images for comparison * * @var */ private $_dir; /** * Sets up the fixture, for example, open a network connection. * This method is called before a test is executed. * * @return void */ protected function setUp() { if (!extension_loaded('gd')) { $this->markTestSkipped("Requires the gd extension"); } $this->_dir = dirname(__FILE__) . '/testimages/'; } /** * initialize the testee * * @param string $text Text for Image * * @return Image_Text testee */ protected function initInstance($text) { $i = new Image_Text($text); $i->set( array( 'font_path' => dirname(__FILE__) . '/data/', 'font_file' => 'Vera.ttf', 'font_size' => 12, 'canvas' => array('width' => 200, 'height' => 100), 'width' => 200, 'height' => 200, 'color' => array('#FFFFFF') ) ); return $i; } /** * test construction * * @return void */ public function testConstruct() { $i = $this->initInstance('test'); $this->assertSame('Image_Text', get_class($i)); $i->init(); $i->render(); $this->assertTrue( imageisthesame( $this->_dir . 'test-construct.png', $i->getImg() ) ); $i = $this->initInstance('text'); $this->assertSame('Image_Text', get_class($i)); $i->init(); $i->render(); $this->assertFalse( imageisthesame( $this->_dir . 'test-construct.png', $i->getImg() ) ); } /** * test background color * * @return void */ public function testBackgroundColor() { //default background is black $i = $this->initInstance('test'); $this->assertSame('Image_Text', get_class($i)); $i->init(); $i->render(); $this->assertTrue( imageisthesame( $this->_dir . 'test-construct.png', $i->getImg() ) ); //red background $i = $this->initInstance('text'); $this->assertSame('Image_Text', get_class($i)); $i->set(array('background_color' => '#FF0000')); $i->init(); $i->render(); $this->assertTrue( imageisthesame( $this->_dir . 'test-background-red.png', $i->getImg() ) ); //transparent background $i = $this->initInstance('text'); $this->assertSame('Image_Text', get_class($i)); $i->set(array('background_color' => null)); $i->init(); $i->render(); $this->assertTrue( imageisthesame( $this->_dir . 'test-background-transparent.png', $i->getImg() ) ); } /** * @todo Implement testSet(). */ public function testSet() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement testSetColors(). */ public function testSetColors() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement testSetColor(). */ public function testSetColor() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement testInit(). */ public function testInit() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement testAutoMeasurize(). */ public function testAutoMeasurize() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement testMeasurize(). */ public function testMeasurize() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement testRender(). */ public function testRender() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement testGetImg(). */ public function testGetImg() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement testDisplay(). */ public function testDisplay() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement testSave(). */ public function testSave() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * @todo Implement test_getOffset(). */ public function test_getOffset() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } /** * test convert routine * * @return void */ public function test_convertString2RGB() { $this->assertEquals( array('r' => 255, 'g' => 255, 'b' => 255, 'a' => 0), Image_Text::convertString2RGB('#FFFFFF') ); $this->assertEquals( array('r' => 255, 'g' => 255, 'b' => 255, 'a' => 0), Image_Text::convertString2RGB('#00FFFFFF') ); $this->assertEquals( array('r' => 0, 'g' => 0, 'b' => 0, 'a' => 0), Image_Text::convertString2RGB('#000000') ); $this->assertEquals( array('r' => 0, 'g' => 0, 'b' => 0, 'a' => 255), Image_Text::convertString2RGB('#FF000000') ); } /** * @todo Implement test_processText(). */ public function test_processText() { // Remove the following line when you implement this test. $this->markTestIncomplete( "This test has not been implemented yet." ); } } php-image-text-0.7.0/Image_Text-0.7.0/tests/Vera.ttf000066400000000000000000002005311262130641700216160ustar00rootroot00000000000000OS/2_cpVPCLTъ^6cmaplXcvt 9fpgm&`gaspH glyf tA&~hdmx4!Hhead݄T6hheaEoL$hmtx Ǝ0kernRՙ-loca=maxpG:, nameټȵpostZ/prep; h::_:: dM0l   p t  &   Y &  &   c . 5 `  s 0 & {Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.Bitstream Vera SansBitstreamVeraSans-RomanRelease 1.10Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org.http://www.bitstream.comCopyright (c) 2003 by Bitstream, Inc. All Rights Reserved.Bitstream Vera SansBitstreamVeraSans-RomanRelease 1.10Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org.http://www.bitstream.com5fqu-J3T99NR7s`s3VV9s3D{o{RoHT3fs +b-{T#\q#H99`#fy```{w``b{{Rffw;{J/}oo5jo{-{T7fD)fs@%2%%A:B2SAS//2ݖ}ٻ֊A}G}G͖2ƅ%]%]@@%d%d%A2dA  d   A(]%]@%..%A  %d%@~}}~}}|d{T{%zyxw v utsrqponl!kjBjSih}gBfedcba:`^ ][ZYX YX WW2VUTUBTSSRQJQP ONMNMLKJKJIJI IH GFEDC-CBAK@?>=>=<=<; <@; :987876765 65 43 21 21 0/ 0 / .- .- ,2+*%+d*)*%)('%(A'%&% &% $#"!! d d BBBdB-B}d       -d@--d++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++, %Id@QX Y!-,%Id@QX Y!-,  P y PXY%%# P y PXY%-,KPX EDY!-,%E`D-,KSX%%EDY!!-,ED-ff@ /10!%!!fsr)5 @@ <2991/0K TX @ 878Y P ]%3#3#5qeM@1<20KTKT[X@878Y@0 @ P ` p ]#!#o$++`@1      91/<<<<<<<2220@   ]!! !3!!!!#!#!5!!5!T%Dh$ig8R>hggh`TifaabbNm!(/@U" '&( /)/))/B" ) *!#*- ) " & 0<<<1/299990KSX99Y"K TX0@00878YK TKT[KT[X000@878Y#.'5.546753.'>54&dijfod]SS\dtzq{---@A$*.U# jXV`OnZXhq) #'3@6$%&%&'$'B .$ &($4'!%   ! + 1 49912<0KSXY"K TK T[K T[KT[KT[K T[X4@44878Y"32654&'2#"&546"32654&%3#2#"&546WccWUccUVcbWWcd1Zܻۻa ۻۼ 0@      !         B  (('+'$ .  .'.'!!199999991/9990KSX99999999Y"2]@ " ) **&:4D ^YZ UZZY0g{ "-  ' (   2'') #**(/2; 49?2J LKFO2VZ Y UY\_2j i`2uy z 2229]]3267 >73#'#"5467.54632.#"[UԠ_I{;B h]hΆ02޸SUWDi;#QX?@Yr~YW׀c?}<$$/1oX3goB@ 10KTKT[X@878Y@ @P`p]#o+{ O@  29910KTX@878YKTX@878Y#&547{>;o @ <99103#654<:=JN@,       <2<2991<22990%#'%%73%g:r:g:PrPbybcy #@   <<1/<<0!!#!5!-Ө-Ӫ--@ 1073#ӤR@d10!!d1/073#B-@B/9910KSXY"3#m #@  10"32'2#"  P3343ssyzZ K@B  1/20KSXY"KTX  @878Y]7!5%3!!JeJsHHժJ@'B   91/20KSX9Y"KTKT[KT[X@878Y@2UVVzzvtvust]]%!!567>54&#"5>32Ls3aM_xzXE[w:mIwBC12\ps({@.    #)&  )99190KTKT[X)@))878Y@ daa d!]!"&'532654&+532654&#"5>32?^jTmǹSrsY %Đ%%12wps{$& Ѳ|d @   B    <291/<290KSXY"K TK T[X@878Y@* *HYiw+&+6NO O Vfuz ]] !33##!55^%3`du@#    190KTKT[X@878YKTX@878Y!!>32!"&'532654&#",X,$^hZkʭQTժ 10$& $X@$  "% " !%190@]]"32654&.#">32# !2 LL;kPL;y$&W]ybhc@B991/0KSXY"KTX@878Y@X9Hg]]!#!3V+ #/C@% '-'0 $*$ !0991990"32654&%&&54632#"$54632654&#"HŚV г "Əُattt$X@# %!"" %190@]]7532#"543 !"&2654&#"LK:lL>$& V\s[#@<21/073#3### %@  <2103#3#ӤR#٬@^M@*B$#29190KSXY" 5Ѧ`@ #<210!!!!^O@+B$#<9190KSXY"55//m$p@+$     &%99991/9990K TX%@%%878Yy z z ]%3##546?>54&#"5>32ſ8ZZ93lOa^gHZX/'eVY5^1YnFC98ŸLVV/5<4q L@2  L4307$7CM34( (+(I+*(I,=M<9912990K TK T[KT[KT[KT[XMMM@878Y@ NN/N?N]32654&#"#"&5463253>54&'&$#"3267#"$'&5476$32|{zy!orqp ˘s'6@   0210].# !267# !2'ffjzSb_^^_HHghG.@   2 99991/0`]3 !%! )5BhPa/w.,~ .@   21/0 ]!!!!!!9>ժF# )@ 21/0 ]!!!!#ZpPժH7s9@ 43 1990%!5!# !2&&# !26uu^opkSUmnHF_`%; ,@ 8  221/<20P ]3!3#!#"d+991/0KTX@878Y@ 0@P`]3#+f M@  9 991990KTX  @878Y@ 0 @ P ` ]3+53265M?nj @(B  291/<290KSXY"]@ ((764GFCUgvw    (+*66650 A@E@@@ b`hgwp  ,]q]q3! !#3wH1j%@ :1/0@ 0P]3!!_ժ @4  B    >  91/<290KSXY"p]@V   && & 45 i|{y   #,'( 4<VY ej vy ]]! !###-}-+3 y@B6 991/<2990KSXY" ]@068HGif FIWXeiy ]]!3!#j+s #@  310"32' ! ':xyLHH[[bb:@   ? 291/0@ ?_]32654&#%!2+#8/ϒs R@*  B     39991990KSX9Y""32#'# ! '? !#y;:xLHHab[T@5  B    ?  299991/<9990KSX9Y"@]@Bz%%%&'&&& 66FFhuuw]]#.+#! 32654&#A{>ٿJx~hb؍O'~@<    B %( "-"(9999190KSX99Y")])/)O)].#"!"&'532654&/.54$32Hs_wzj{r{i76vce+ٶ0/EF~n|-&J@@@1/20K TX@878Y@  @ p ]!!#!ժ+)K@   8A1299990KTX@878Y]332653! ˮ®u\*$h@'B91/290KSXY"P]@b*GGZ} *&&))% 833<<7HEEIIGYVfiizvvyyu)]]!3 3J+D {@I      B     91/<2290KSXY"]@  ($ >>4 0 LMB @ Yjkg ` {|      !   # $ %  <:5306 9 ? 0FFJ@E@BBB@@ D M @@XVY Pfgab```d d d wv{xwtyywpx   []]3 3 3# #D:9:9+=; ]@F      B    91/<290KSXY"K TK T[KT[X  @878Y@ '' 486 KX[fkww       &()&(' ) 54<;:;4 4 8 ? H O X _ eejjhiil l xyyx}  x   @]]3 3 # #su \Y+3{@(B@@ 91/290KSXY" ]@<5000F@@@QQQe &)78@ ghxp ]]3 3#f9\ @BB 991/0KSXY"K TK T[X @ 878Y@@ )&8HGH    / 59? GJO UYfio wx ]]!!!5!sP=g՚oXS@C210K TX@878YKTKT[X@878Y!#3!XB-@B/9910KSXY"#mo<@C<10KTKT[X@878Y!53#5oXޏ@ 91290##HHu-10!5f1@ D10K TKT[X@878Y #ofv{-{ %@'   #   E&22991/9990@n0000 0!0"?'@@@@ @!@"PPPP P!P"P'p' !"'''000 0!@@@ @!PPP P!``` `!ppp p! !]]"326=7#5#"&5463!54&#"5>32߬o?`TeZ3f{bsٴ)Lfa..'' 8@  G F221/0`]4&#"326>32#"&'#3姒:{{:/Rdaadq{?@  HE210@ ].#"3267#"!2NPƳPNM]-U5++++$$>:#qZ8@G E221/0`]3#5#"3232654&#":||ǧ^daDDaq{p@$   KE9190@)?p?????,// , ooooo ]q]!3267# 32.#" ͷjbck)^Z44*,8 Cė/p@     L<<991/22990K TX@878YKTX@878Y@P]#"!!##535463cM/ѹPhc/яNqVZ{ (J@#  &#' & G E)221/990`***]4&#"326!"&'5326=#"3253aQQR9||9=,*[cb::bcd4@  N  F21/<90`]#4&#"#3>32d||Bu\edy+@F<21/0@  @ P ` p ]3#3#`Vy D@   O  F<2991990@ @P`p]3+532653#F1iL`a( @)B F 291/<90KSXY" ]@_ ')+Vfgsw    ('(++@ h` ]q]33 ##%kǹi#y"F1/0@ @P`p]3#{"Z@&   PPF#291/<<<290@0$P$p$$$$$$$ ]>32#4&#"#4&#"#3>32)Erurw?yz|v\`gb|d{6@  N  F21/<90`]#4&#"#3>32d||Bu\`edqu{ J@  QE10@#?{{   {  {]"32654&'2#"s98V{>@ GF2210@ `]%#3>32#"&4&#"326s:{{8 daaqVZ{ >@   GE2210@ `]32654&#"#"3253#/s:||:/daDDadJ{0@    F21/90P].#"#3>32JI,:.˾`fco{'@<  S  SB %( R"E(9999190KSX99Y"']@m   . , , , ; ; ; ; $( ( *//*(() )!$'      '/)?)_))))))]]q.#"#"&'532654&/.54632NZb?ĥZlfae@f?((TT@I!*##55YQKP%$78@  F<<2991/<2990]!!;#"&5#53w{KsբN`>X`6@    NF21/290`]332653#5#"&||Cua{fc=`@'B91/290KSXY"K TX@878YKTKT[X@878Y@Hj{  &&)) 55::0FFIIFH@VVYYPffiigh`ut{{uz>]]3 3#=^^\`TV5` @IU U U U   B     91/<2290KSXY"K TKT[KT[KT[K T[X  @878YK TK T[KT[X @ 878Y@" 5 IIF @ [[U P nnf yy          %%#'!%""%' $ ! # 9669 0FHF@B@@@D D D @@VVVPQRRPS T U cdejejjjn a g ouuy}x}zzxy  { v } @/   y]]333# #V`jjj;y` Z@F      B   91/<290KSXY"K TKT[KT[KT[X  @878YKTX @ 878Y@   & =1 UWX f vzvt        )&% * :9746 9 0 IFE J @ YVYYWVYVV Y P o x  /]] # # 3 dkr))`HJq=V`@C        B     9129990KSX2Y"K TKT[X@878YKTX@878Y@     # 5 I O N Z Z j        '$$  )( % $ $ ' ** 755008 6 6 8 990A@@@@@@@@B E G II@TQQUPPVUVW W U U YYPffh ii`{xx   e]]+5326?3 3N|lLT3!;^^hzHTNlX` @B 2991/0KSXY"K TK T[X @ 878YKTX  @878Y@B&GI  + 690 @@E@@CWY_ ``f``b ]]!!!5!qjL}e`ۓ%$@4 %   !  % $  C %<<29999999199999990K TX%%%@878Y&]#"&=4&+5326=46;#"3>l==k>DV[noZVtsݓXX10#$@6%   #%#C %<2<9999999199999990K TX%@%%878YKTX%%%@878Y&]326=467.=4&+532;#"+FUZooZUF?l>>l?VWstݔ1#@  1990#"'&'&'&#"56632326ian ^Xbian ^V1OD;>MSOE<>LhN'$uhm !@T   !!  ! !!!B     !  VV!"2299999991/<9990KSXY" #]@  s P#f iu {yyv v!# ]]4&#"326!.54632#!#TY?@WX??Y!X=>sr?<҈_Z?YWA?XXN)sIsrFv)su''&-k'(u3^'1usN'2'u)N'8u{-f'DR{-f'DCR{-f'DR{-'DR{-7'DR{-'DRqu{'Fqf'Hqf'HCqf'Hq'Hof'f'C\f'F'd7'Qquf'Rsquf'RCsquf'Rsqu'Rsqu7'RsXf'X{Xf'XC{Xf'X{X'X{9; '@  YW Y <<1<203!!#!5!oo\]u=  @  Z[Z10"32654&'2#"&546PnnPPnoO@v+..ooPOmmOOp1.-rB#!Q@+     "  "<<<221<9990%&&'667#&73JDFHAMf fIX⸹)**'# 32!b`@!    <<1/2<2990K TX@878Y66].#"!!!!53#535632NL=ty-=))׏/я\= >@54&.#"#"&'532654/.5467.54632{?>?>S8alӃ\]>9̭IXW:fqր][;;ȦI.Z.L-[.K''PGZsweZ54m@''TLf{xf[1,pE3!   \ 104632#"&3~|}}||};9 %@]] 91290!###&&54$yfNݸ/@0-'!  **.  !' $'$-F099991/990@@'(     ! "&  : :!MM I!I"jj  ]]4632#"&'532654&/.5467.#"#:A9`@IPAtx;e\`Wqqs`/Q*%jd_[?T>7;[gp/8L`@6EBC?2H09JC 9 $HE301BKL?gwyVpMI`3D/IC@&=>:A$104G$ 7aD=0^* D^ J21/02#"$'&5476$"32676654&'&&&&#"3267#"&54632mmllmmmmllmm^^``^^⃄^]]^\^BB@zBCFInmmmmnnmmmmng^^^傁^^__^]⃅]^^! "'F >@!    b b cbc91<<2<<903#######5Jq7rqr/B^^sRf1@ D10K TKT[X@878Y3#fF)@dd1<20K TK T[X@878YK TK T[KT[KT[X@878YKTKT[X@878Y@````pppp]3#%3#^y'>@"     <291<2<<990!!!!!'7!5!7!}/H{};fըfӪH@9  B     <291/<0KSXY"]@gww  ]!!!!!!#!59=qժF՞f +@< +,  )&  *&& &,+,* # )#3,99999999199999990@*WZWU!je!{vu! FYVjddj(|svz( ]] 324&'.#"&5!27!"&''3>_'y=_''NOy;WfNPƀ[gX@CHp@CpDfbMKYg[KKX /@- !$'!!0 $*0999919990@     $$$   $$ $ ***///***55500055 5 :::???:::EEE@@@EE E JJJOOOJJJV !"&'()]]32654&#".#"326#"&54632>32#"&1TevYR1UfvYRF^_HDa^/XZie7XXjeߦ~᧯w .@     <2<21/<<0!!#!5!!!-Ө-}} T@.B $# <2291/90KSXY" 5!!@po V@/B$ # <<291/90KSXY"55!5AǪR@F  B     fe f e<2299991/2<2<290KSXY"K TX@878Y@(' ' ')((79  ]]!#!5!5'!5!3 3!!!c`Tþ{yT9{3{JD{3V` M@%  !   NF!2912<990"`""]3326533267#"&'#"&'#% )I#ER2bf*V H<9 NPOONNh-)b@'! '!* $$*9991990K TK T[KT[KT[KT[X*@**878Y>54&#"#"&54632#"&54324&#"32IH7$$0e՘ݢe WOmVPmmWKt,>bFأ[t}t{w; ]@    91990@0QVPZ spvupz  Z pp{ t  ]]!! !!5 7AJI3!wq@gg120!#!# }/#@1 " $ #" #h#$9999991/<229990K TX$$$@878Y@V             ##(]]#3267#"&5467!##"#>3!i/7.%7vy"Pµ)6< yJ\:1fd.xo@E}/%&@  & iji&1026732#"&'&&#"#"&546327j Pd@7*8  kOeD=!0 l9TA6?&#Hn!bSA8?Ss;)_@3(%%  * "(kl"k *22999199990!!#5#"&5463354&#"56632"32655P,]uu>DIE~bRhP{@p?Dq[[""CO@Mr`d.@  klk 9910!!2#"&546"32654&PXγгi~hi}|P{ݿܾsN@@"   mm  9991/<20%!5654#"!5!&5! Dz?1/aL"a*>w؍{o{3>@C'-%= 4%:.-*1 %?47&%7& =&-7"E?<9999912<<29990@0+0,0-0.0/00@+@,@-@.@/@0P+P,P-P.P/P0+0@@@@@@@@@??? ??0,0-0.0/@,@-@.@/P,P-P.P/ooo oo`,`-`.`/p,p-p.p/,-./]q].#">32!3267#"&'#"&5463!54&#"5>32"326=DJԄ ̷hddjMI؏`TeZ߬o0Z^Z55*,ywxx..''`f{bsٴ)H +@<+,&  )&  *&& &,+,* # #Q)E,22999999199999990@p(?-YVUV jf!{    { z{ {!"#$%{&%--&YVUZ(ifej(ztvz($$]] 32654&'.#".5327#"&'')gA\*g>}66]C_56`?`!*(Ou))Hn.Mw834OMx43N $@/  !# #%" " "!& %999919990KTKT[KT[X%%%@878Y@ ttttv]33267#"&546?>7>5#537ZZ:3mN`^gIYX0&DeWX5^1YnFC98ŸLVV/5<65 b@ <2991/0K TX @ 878YKTKT[KT[X  @878Y P ]#53#3+e^@ 10!#!^=} *@    91903##'%\sB}}`s-Pb;V#@@   B   !$  $912299990KSX29Y"K TX$$$@878Y.#"!!#"&'53267#5!>32&P,`r<::d/4a/am"?$Ɨ5dzɏ!!J;?@.9*-" *19" <-<<219999990#"'&'&'&#"56632326#"'&'&'&#"56632326ian ^Xbian ^Vgian ^Xbian ^VoNE;=LTNE;=KڲOE;=LSNE;=K`8@91/90@cmpxyvn]] !3!^DC?%# @I    B   o o n<2991<2990KSXY"55%-+#-+#RRH# @I  B   o op<<991<2990KSXY"5%5+-+-#^R^  ^R^   #@   1/<<220%3#%3#%3#hk'$uh^'$us^'2'us ;@   299991/220!!!!! !# !39OAg@AժF|pm|q{'3@1 . ("%4"1 K1 Q+E499912<2290@%?5_5p55555????? ooooo ]q].#"!3267#"&'#"32>32%"32654& H ̷jbdjQGьBN5Z44*,nmnm98olkp݇y/10!!yy/10!!ym '@   1<20#53#53ӤRӤR??m '@   1<203#%3#ӤRӤRլ@@@ 10#53ӤR?@ q103#ӤR՘?o )@ r <<103#3#!!oA#u"@91990  9%-=V'\^N'<su+@B10KSXY"3#-\^R#/@I -'! - -'!0 *$0* $ $(st*(s099999999919999999907'#"&''7&&5467'766324&#"326{r%$&(r;t=:x=q%%&&s7t@?s9q(&%%s>v:@t8s'%$|pprs#G@%Bon29190KSXY"5s-+#R#I@&Bop<9190KSXY"5+-#^R^  /J@(   L<2<2991/<22990K TX@878YKTX@878Y@0P]]#!##53546;#"3#JcM`/яNPhc/J@!    L<<991/<22990K TX@878YKTX@878Y@0P ]!#!"!!##53546JcM/ѹ{Phc/яN9;>@   Y W Y <<2<<2122220%!#!5!!5!3!!!oooo\\HF103#F@ 10%3#ӤR@m '@    1<20%3#%3#ӤRfӤR@@q L #'3?K@D$%&%&'$'B@ .(F4 :&$L%IC'1+C =  1 =I 7+ ! L9912<<2220KSXY"KTK T[K T[K T[K T[KT[XL@LL878Y"32654&'2#"&5462#"&546!3#"32654&2#"&546"32654&WddWUccUt%ZVcbWWcdWccWUccܻۻۻۼܻۻhm'$um'(uhk'$uN'(uk'(uk',/u`m',/uXN',/u;k',/usk'2'usm'2'usk'2'u)k'8u)m'8u)k'8uy` F1/0@ @P`p]3#`?f7@ u91290K TKT[X@878Y3#'#fJ7c@$   VwVv99991<<99990K TK T[X@878Y'.#"#>3232673#"&9! &$}f[&@%9! &$}f[&@Z7IR!7IRb+/10K TKT[X@878Y!!V)9H W@ VV1<0K TX@878YKTKT[KT[X@878Y332673#"&v aWV` v HKKJLDf,@ d10K TX@878Y3# _@ V xV10K TK T[X@878YK TK T[K T[X@878Y4&#"3267#"&54632X@AWWA@Xzssss?XW@AWX@sss#u@  ' 1/90!#"&'532654&'T76xv.W+"J/;<+->i0Y[ 0.W=fB@991<20K TKT[X@878Y3#3#߉fxLu @   '1/90!33267#"&546w-+76 >&Dzs5=X.. W]0i?f7@ u91<90K TKT[X@878Y373xu ?@   : y<<991/900P]3%!!'79Pw^Mo;jnH ^@  z z <<991/90KTX @ 878Y@ @ P ` sz p ]37#'7Ǹ}Lɸ{JZjXjm'6uof'V\m'=uXf']@ <210##    g@    2  y<291/220@(   ]]! )#53!!3 !iP`P5~.,qu('@^%{&%#${##{#({'(#&'('%$%(('"#" ! B('&%"! ## #)&' ! (%#" QE)999999919990KSXY"?*]@v%+("/#/$)%-&-'*(6%F%X X!` `!f"u u!u"%#%$&&&''(6$6%F$E%Z Z!b b!z{     {zzv v!x"**']].#"32654&#"5432''%'3%F2X)6 ~r4*!M!ü޼z&77kc\̑oabk'<su=Vf'\^ =@   ? 2291/0@ ?_]332+#32654&#'ђV>@ GF2210@ `]%#3>32#"&4&#"326s:{{8daa-10!!ת? @M    B   <291<290KSXY" '77w55v8vL57y5yy5 ,@   |]|| 12035733! c)t'+n^J@$}}B ~9190KSX2Y"!!56754&#"56632 "?XhU4zHM98rn81^BQ##{l0b(H@'    #)~&~ )999190#"&'532654&##532654&#"56632 \e9}F4wCmxolV^^ad_(fQI7Z`mR|yOFJLl?<:=svcE`''5 d?''5db''5 dsm'* uqVZH'JP', /uu'6ou{'Vs'k'&-uqf'Fs'm'&-uqf'Fq$J@$ "    GE%<<1/<20`&&&]!5!533##5#"3232654&#"F:||ǧN}}daDDad10!!dHF103#F1@: "+ /) 2+"!)#&  , & &*!/<29999999999122<20K TK T[K T[KT[KT[KT[X222@878Y@z  1Ti lnooooiko o!o"o#n$l%i'i-  !"#$%&'()*+,-2   USjg ]].#"!!!!3267#"#734&5465#7332[f A78 ʝf[Y`(77(6bbiZȻ{.# .{ZiHH"{/ #/{"G)@ dd1<20KTKT[X@878YKTK T[KT[X@878YKTKT[X@878YKTX@878Y@````pppp]3#%3#^ys@B10KSXY"K TX@878YKTX@878Y@ %%6FVjg //]]3#7Ju@!  VV 99991<2990K TX@878YKTX@878Y ]'.#"#4632326=3#"&9 $(}gV$=09" (}gT";9! 2-ev 3)dw @B10KSXY"K TX@878YKTX@878Y@*$$5CUU//]]#ę1w@ 91<90K TX@878YKTX@878YKTX@878Y@ //- ]3#'#Ӌ1@ 91290K TK T[K T[K T[X@878YKTX@878YKTX@878Y@ "  ]373Ӌ ? @   ] <291<290KTKT[KT[KT[K T[K T[X@878YKTKT[X@878Y@T /9IFYi       "5GK S[ e]] !33##5!55bf]my9 j@ VV120K TX@878YKTX@878YKTKT[X@878Y332673#"&v cSRav 6978w{zf103#  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~>: ~1BSax~ & 0 : !""""+"H"e%  0AR^x}  0 9 !""""+"H"`%^ChVjq_8 (Bbcdefghjikmlnoqprsutvwxzy{}|~f55q=3=dd?y}s)3s\\?uLsLsyD{={\{fqqq/q999qqJ+o#7=V;=3XyysLs{{{{{{fqqqqq9999qqqqq9\3 'sLfR#hd+/s`N{H?55=ZyyLss/q%%=V^33 / /9% qyy\\\\;LsLsLs9#LF+o{\3X3 q=55^5bb3sq\+osfqsfqqds 5?+   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~     sfthyphenperiodcenteredEuroc6459c6460c6461c6462c6463c6466c6467c6468c6469""""XO!nE~Le  R s  X : i  = z /Eu)pP@"m#{CwRw [ r !5!B!!!" ""#"0"="J"W"d"q"~"""""""""## ##'#4#A#N#[#h##$4$%3%S%&&'K''((X()_*%*\**+z+,D,,-P-..R./0A011!1P12H2z23F3p3p3}3334z44445595g55556[667C77888J999)969C9P9]9j9w99999999::{::;;^;;;<"<_<<<<<<=c>;>H>U>>>?a??@:@K@\@m@z@@@@@@@@A@AVAkBEBBC_CCDUDE*E?- x$%&')*K+-r./2934K57D9:;< =IQR&UYZ\bdg9xy&z&{&|&}&9 999 K$$$$$9$&$*$2$4$6$7a$8$9}$:$;$=>=<=<; <@; :987876765 65 43 21 21 0/ 0 / .- .- ,2+*%+d*)*%)('%(A'%&% &% $#"!! d d BBBdB-B}d       -d@--d++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++, %Id@QX Y!-,%Id@QX Y!-,  P y PXY%%# P y PXY%-,KPX EDY!-,%E`D-,KSX%%EDY!!-,ED-ff@ /10!%!!fsr)5 @@ <2991/0K TX @ 878Y P ]%3#3#5qeM@1<20KTKT[X@878Y@0 @ P ` p ]#!#o$++`@1      91/<<<<<<<2220@   ]!! !3!!!!#!#!5!!5!T%Dh$ig8R>hggh`TifaabbNm!(/@U" '&( /)/))/B" ) *!#*- ) " & 0<<<1/299990KSX99Y"K TX0@00878YK TKT[KT[X000@878Y#.'5.546753.'>54&dijfod]SS\dtzq{---@A$*.U# jXV`OnZXhq) #'3@6$%&%&'$'B .$ &($4'!%   ! + 1 49912<0KSXY"K TK T[K T[KT[KT[K T[X4@44878Y"32654&'2#"&546"32654&%3#2#"&546WccWUccUVcbWWcd1Zܻۻa ۻۼ 0@      !         B  (('+'$ .  .'.'!!199999991/9990KSX99999999Y"2]@ " ) **&:4D ^YZ UZZY0g{ "-  ' (   2'') #**(/2; 49?2J LKFO2VZ Y UY\_2j i`2uy z 2229]]3267 >73#'#"5467.54632.#"[UԠ_I{;B h]hΆ02޸SUWDi;#QX?@Yr~YW׀c?}<$$/1oX3goB@ 10KTKT[X@878Y@ @P`p]#o+{ O@  29910KTX@878YKTX@878Y#&547{>;o @ <99103#654<:=JN@,       <2<2991<22990%#'%%73%g:r:g:PrPbybcy #@   <<1/<<0!!#!5!-Ө-Ӫ--@ 1073#ӤR@d10!!d1/073#B-@B/9910KSXY"3#m #@  10"32'2#"  P3343ssyzZ K@B  1/20KSXY"KTX  @878Y]7!5%3!!JeJsHHժJ@'B   91/20KSX9Y"KTKT[KT[X@878Y@2UVVzzvtvust]]%!!567>54&#"5>32Ls3aM_xzXE[w:mIwBC12\ps({@.    #)&  )99190KTKT[X)@))878Y@ daa d!]!"&'532654&+532654&#"5>32?^jTmǹSrsY %Đ%%12wps{$& Ѳ|d @   B    <291/<290KSXY"K TK T[X@878Y@* *HYiw+&+6NO O Vfuz ]] !33##!55^%3`du@#    190KTKT[X@878YKTX@878Y!!>32!"&'532654&#",X,$^hZkʭQTժ 10$& $X@$  "% " !%190@]]"32654&.#">32# !2 LL;kPL;y$&W]ybhc@B991/0KSXY"KTX@878Y@X9Hg]]!#!3V+ #/C@% '-'0 $*$ !0991990"32654&%&&54632#"$54632654&#"HŚV г "Əُattt$X@# %!"" %190@]]7532#"543 !"&2654&#"LK:lL>$& V\s[#@<21/073#3### %@  <2103#3#ӤR#٬@^M@*B$#29190KSXY" 5Ѧ`@ #<210!!!!^O@+B$#<9190KSXY"55//m$p@+$     &%99991/9990K TX%@%%878Yy z z ]%3##546?>54&#"5>32ſ8ZZ93lOa^gHZX/'eVY5^1YnFC98ŸLVV/5<4q L@2  L4307$7CM34( (+(I+*(I,=M<9912990K TK T[KT[KT[KT[XMMM@878Y@ NN/N?N]32654&#"#"&5463253>54&'&$#"3267#"$'&5476$32|{zy!orqp ˘s'6@   0210].# !267# !2'ffjzSb_^^_HHghG.@   2 99991/0`]3 !%! )5BhPa/w.,~ .@   21/0 ]!!!!!!9>ժF# )@ 21/0 ]!!!!#ZpPժH7s9@ 43 1990%!5!# !2&&# !26uu^opkSUmnHF_`%; ,@ 8  221/<20P ]3!3#!#"d+991/0KTX@878Y@ 0@P`]3#+f M@  9 991990KTX  @878Y@ 0 @ P ` ]3+53265M?nj @(B  291/<290KSXY"]@ ((764GFCUgvw    (+*66650 A@E@@@ b`hgwp  ,]q]q3! !#3wH1j%@ :1/0@ 0P]3!!_ժ @4  B    >  91/<290KSXY"p]@V   && & 45 i|{y   #,'( 4<VY ej vy ]]! !###-}-+3 y@B6 991/<2990KSXY" ]@068HGif FIWXeiy ]]!3!#j+s #@  310"32' ! ':xyLHH[[bb:@   ? 291/0@ ?_]32654&#%!2+#8/ϒs R@*  B     39991990KSX9Y""32#'# ! '? !#y;:xLHHab[T@5  B    ?  299991/<9990KSX9Y"@]@Bz%%%&'&&& 66FFhuuw]]#.+#! 32654&#A{>ٿJx~hb؍O'~@<    B %( "-"(9999190KSX99Y")])/)O)].#"!"&'532654&/.54$32Hs_wzj{r{i76vce+ٶ0/EF~n|-&J@@@1/20K TX@878Y@  @ p ]!!#!ժ+)K@   8A1299990KTX@878Y]332653! ˮ®u\*$h@'B91/290KSXY"P]@b*GGZ} *&&))% 833<<7HEEIIGYVfiizvvyyu)]]!3 3J+D {@I      B     91/<2290KSXY"]@  ($ >>4 0 LMB @ Yjkg ` {|      !   # $ %  <:5306 9 ? 0FFJ@E@BBB@@ D M @@XVY Pfgab```d d d wv{xwtyywpx   []]3 3 3# #D:9:9+=; ]@F      B    91/<290KSXY"K TK T[KT[X  @878Y@ '' 486 KX[fkww       &()&(' ) 54<;:;4 4 8 ? H O X _ eejjhiil l xyyx}  x   @]]3 3 # #su \Y+3{@(B@@ 91/290KSXY" ]@<5000F@@@QQQe &)78@ ghxp ]]3 3#f9\ @BB 991/0KSXY"K TK T[X @ 878Y@@ )&8HGH    / 59? GJO UYfio wx ]]!!!5!sP=g՚oXS@C210K TX@878YKTKT[X@878Y!#3!XB-@B/9910KSXY"#mo<@C<10KTKT[X@878Y!53#5oXޏ@ 91290##HHu-10!5f1@ D10K TKT[X@878Y #ofv{-{ %@'   #   E&22991/9990@n0000 0!0"?'@@@@ @!@"PPPP P!P"P'p' !"'''000 0!@@@ @!PPP P!``` `!ppp p! !]]"326=7#5#"&5463!54&#"5>32߬o?`TeZ3f{bsٴ)Lfa..'' 8@  G F221/0`]4&#"326>32#"&'#3姒:{{:/Rdaadq{?@  HE210@ ].#"3267#"!2NPƳPNM]-U5++++$$>:#qZ8@G E221/0`]3#5#"3232654&#":||ǧ^daDDaq{p@$   KE9190@)?p?????,// , ooooo ]q]!3267# 32.#" ͷjbck)^Z44*,8 Cė/p@     L<<991/22990K TX@878YKTX@878Y@P]#"!!##535463cM/ѹPhc/яNqVZ{ (J@#  &#' & G E)221/990`***]4&#"326!"&'5326=#"3253aQQR9||9=,*[cb::bcd4@  N  F21/<90`]#4&#"#3>32d||Bu\edy+@F<21/0@  @ P ` p ]3#3#`Vy D@   O  F<2991990@ @P`p]3+532653#F1iL`a( @)B F 291/<90KSXY" ]@_ ')+Vfgsw    ('(++@ h` ]q]33 ##%kǹi#y"F1/0@ @P`p]3#{"Z@&   PPF#291/<<<290@0$P$p$$$$$$$ ]>32#4&#"#4&#"#3>32)Erurw?yz|v\`gb|d{6@  N  F21/<90`]#4&#"#3>32d||Bu\`edqu{ J@  QE10@#?{{   {  {]"32654&'2#"s98V{>@ GF2210@ `]%#3>32#"&4&#"326s:{{8 daaqVZ{ >@   GE2210@ `]32654&#"#"3253#/s:||:/daDDadJ{0@    F21/90P].#"#3>32JI,:.˾`fco{'@<  S  SB %( R"E(9999190KSX99Y"']@m   . , , , ; ; ; ; $( ( *//*(() )!$'      '/)?)_))))))]]q.#"#"&'532654&/.54632NZb?ĥZlfae@f?((TT@I!*##55YQKP%$78@  F<<2991/<2990]!!;#"&5#53w{KsբN`>X`6@    NF21/290`]332653#5#"&||Cua{fc=`@'B91/290KSXY"K TX@878YKTKT[X@878Y@Hj{  &&)) 55::0FFIIFH@VVYYPffiigh`ut{{uz>]]3 3#=^^\`TV5` @IU U U U   B     91/<2290KSXY"K TKT[KT[KT[K T[X  @878YK TK T[KT[X @ 878Y@" 5 IIF @ [[U P nnf yy          %%#'!%""%' $ ! # 9669 0FHF@B@@@D D D @@VVVPQRRPS T U cdejejjjn a g ouuy}x}zzxy  { v } @/   y]]333# #V`jjj;y` Z@F      B   91/<290KSXY"K TKT[KT[KT[X  @878YKTX @ 878Y@   & =1 UWX f vzvt        )&% * :9746 9 0 IFE J @ YVYYWVYVV Y P o x  /]] # # 3 dkr))`HJq=V`@C        B     9129990KSX2Y"K TKT[X@878YKTX@878Y@     # 5 I O N Z Z j        '$$  )( % $ $ ' ** 755008 6 6 8 990A@@@@@@@@B E G II@TQQUPPVUVW W U U YYPffh ii`{xx   e]]+5326?3 3N|lLT3!;^^hzHTNlX` @B 2991/0KSXY"K TK T[X @ 878YKTX  @878Y@B&GI  + 690 @@E@@CWY_ ``f``b ]]!!!5!qjL}e`ۓ%$@4 %   !  % $  C %<<29999999199999990K TX%%%@878Y&]#"&=4&+5326=46;#"3>l==k>DV[noZVtsݓXX10#$@6%   #%#C %<2<9999999199999990K TX%@%%878YKTX%%%@878Y&]326=467.=4&+532;#"+FUZooZUF?l>>l?VWstݔ1#@  1990#"'&'&'&#"56632326ian ^Xbian ^V1OD;>MSOE<>LhN'$uhm !@T   !!  ! !!!B     !  VV!"2299999991/<9990KSXY" #]@  s P#f iu {yyv v!# ]]4&#"326!.54632#!#TY?@WX??Y!X=>sr?<҈_Z?YWA?XXN)sIsrFv)su''&-k'(u3^'1usN'2'u)N'8u{-f'DR{-f'DCR{-f'DR{-'DR{-7'DR{-'DRqu{'Fqf'Hqf'HCqf'Hq'Hof'f'C\f'F'd7'Qquf'Rsquf'RCsquf'Rsqu'Rsqu7'RsXf'X{Xf'XC{Xf'X{X'X{9; '@  YW Y <<1<203!!#!5!oo\]u=  @  Z[Z10"32654&'2#"&546PnnPPnoO@v+..ooPOmmOOp1.-rB#!Q@+     "  "<<<221<9990%&&'667#&73JDFHAMf fIX⸹)**'# 32!b`@!    <<1/2<2990K TX@878Y66].#"!!!!53#535632NL=ty-=))׏/я\= >@54&.#"#"&'532654/.5467.54632{?>?>S8alӃ\]>9̭IXW:fqր][;;ȦI.Z.L-[.K''PGZsweZ54m@''TLf{xf[1,pE3!   \ 104632#"&3~|}}||};9 %@]] 91290!###&&54$yfNݸ/@0-'!  **.  !' $'$-F099991/990@@'(     ! "&  : :!MM I!I"jj  ]]4632#"&'532654&/.5467.#"#:A9`@IPAtx;e\`Wqqs`/Q*%jd_[?T>7;[gp/8L`@6EBC?2H09JC 9 $HE301BKL?gwyVpMI`3D/IC@&=>:A$104G$ 7aD=0^* D^ J21/02#"$'&5476$"32676654&'&&&&#"3267#"&54632mmllmmmmllmm^^``^^⃄^]]^\^BB@zBCFInmmmmnnmmmmng^^^傁^^__^]⃅]^^! "'F >@!    b b cbc91<<2<<903#######5Jq7rqr/B^^sRf1@ D10K TKT[X@878Y3#fF)@dd1<20K TK T[X@878YK TK T[KT[KT[X@878YKTKT[X@878Y@````pppp]3#%3#^y'>@"     <291<2<<990!!!!!'7!5!7!}/H{};fըfӪH@9  B     <291/<0KSXY"]@gww  ]!!!!!!#!59=qժF՞f +@< +,  )&  *&& &,+,* # )#3,99999999199999990@*WZWU!je!{vu! FYVjddj(|svz( ]] 324&'.#"&5!27!"&''3>_'y=_''NOy;WfNPƀ[gX@CHp@CpDfbMKYg[KKX /@- !$'!!0 $*0999919990@     $$$   $$ $ ***///***55500055 5 :::???:::EEE@@@EE E JJJOOOJJJV !"&'()]]32654&#".#"326#"&54632>32#"&1TevYR1UfvYRF^_HDa^/XZie7XXjeߦ~᧯w .@     <2<21/<<0!!#!5!!!-Ө-}} T@.B $# <2291/90KSXY" 5!!@po V@/B$ # <<291/90KSXY"55!5AǪR@F  B     fe f e<2299991/2<2<290KSXY"K TX@878Y@(' ' ')((79  ]]!#!5!5'!5!3 3!!!c`Tþ{yT9{3{JD{3V` M@%  !   NF!2912<990"`""]3326533267#"&'#"&'#% )I#ER2bf*V H<9 NPOONNh-)b@'! '!* $$*9991990K TK T[KT[KT[KT[X*@**878Y>54&#"#"&54632#"&54324&#"32IH7$$0e՘ݢe WOmVPmmWKt,>bFأ[t}t{w; ]@    91990@0QVPZ spvupz  Z pp{ t  ]]!! !!5 7AJI3!wq@gg120!#!# }/#@1 " $ #" #h#$9999991/<229990K TX$$$@878Y@V             ##(]]#3267#"&5467!##"#>3!i/7.%7vy"Pµ)6< yJ\:1fd.xo@E}/%&@  & iji&1026732#"&'&&#"#"&546327j Pd@7*8  kOeD=!0 l9TA6?&#Hn!bSA8?Ss;)_@3(%%  * "(kl"k *22999199990!!#5#"&5463354&#"56632"32655P,]uu>DIE~bRhP{@p?Dq[[""CO@Mr`d.@  klk 9910!!2#"&546"32654&PXγгi~hi}|P{ݿܾsN@@"   mm  9991/<20%!5654#"!5!&5! Dz?1/aL"a*>w؍{o{3>@C'-%= 4%:.-*1 %?47&%7& =&-7"E?<9999912<<29990@0+0,0-0.0/00@+@,@-@.@/@0P+P,P-P.P/P0+0@@@@@@@@@??? ??0,0-0.0/@,@-@.@/P,P-P.P/ooo oo`,`-`.`/p,p-p.p/,-./]q].#">32!3267#"&'#"&5463!54&#"5>32"326=DJԄ ̷hddjMI؏`TeZ߬o0Z^Z55*,ywxx..''`f{bsٴ)H +@<+,&  )&  *&& &,+,* # #Q)E,22999999199999990@p(?-YVUV jf!{    { z{ {!"#$%{&%--&YVUZ(ifej(ztvz($$]] 32654&'.#".5327#"&'')gA\*g>}66]C_56`?`!*(Ou))Hn.Mw834OMx43N $@/  !# #%" " "!& %999919990KTKT[KT[X%%%@878Y@ ttttv]33267#"&546?>7>5#537ZZ:3mN`^gIYX0&DeWX5^1YnFC98ŸLVV/5<65 b@ <2991/0K TX @ 878YKTKT[KT[X  @878Y P ]#53#3+e^@ 10!#!^=} *@    91903##'%\sB}}`s-Pb;V#@@   B   !$  $912299990KSX29Y"K TX$$$@878Y.#"!!#"&'53267#5!>32&P,`r<::d/4a/am"?$Ɨ5dzɏ!!J;?@.9*-" *19" <-<<219999990#"'&'&'&#"56632326#"'&'&'&#"56632326ian ^Xbian ^Vgian ^Xbian ^VoNE;=LTNE;=KڲOE;=LSNE;=K`8@91/90@cmpxyvn]] !3!^DC?%# @I    B   o o n<2991<2990KSXY"55%-+#-+#RRH# @I  B   o op<<991<2990KSXY"5%5+-+-#^R^  ^R^   #@   1/<<220%3#%3#%3#hk'$uh^'$us^'2'us ;@   299991/220!!!!! !# !39OAg@AժF|pm|q{'3@1 . ("%4"1 K1 Q+E499912<2290@%?5_5p55555????? ooooo ]q].#"!3267#"&'#"32>32%"32654& H ̷jbdjQGьBN5Z44*,nmnm98olkp݇y/10!!yy/10!!ym '@   1<20#53#53ӤRӤR??m '@   1<203#%3#ӤRӤRլ@@@ 10#53ӤR?@ q103#ӤR՘?o )@ r <<103#3#!!oA#u"@91990  9%-=V'\^N'<su+@B10KSXY"3#-\^R#/@I -'! - -'!0 *$0* $ $(st*(s099999999919999999907'#"&''7&&5467'766324&#"326{r%$&(r;t=:x=q%%&&s7t@?s9q(&%%s>v:@t8s'%$|pprs#G@%Bon29190KSXY"5s-+#R#I@&Bop<9190KSXY"5+-#^R^  /J@(   L<2<2991/<22990K TX@878YKTX@878Y@0P]]#!##53546;#"3#JcM`/яNPhc/J@!    L<<991/<22990K TX@878YKTX@878Y@0P ]!#!"!!##53546JcM/ѹ{Phc/яN9;>@   Y W Y <<2<<2122220%!#!5!!5!3!!!oooo\\HF103#F@ 10%3#ӤR@m '@    1<20%3#%3#ӤRfӤR@@q L #'3?K@D$%&%&'$'B@ .(F4 :&$L%IC'1+C =  1 =I 7+ ! L9912<<2220KSXY"KTK T[K T[K T[K T[KT[XL@LL878Y"32654&'2#"&5462#"&546!3#"32654&2#"&546"32654&WddWUccUt%ZVcbWWcdWccWUccܻۻۻۼܻۻhm'$um'(uhk'$uN'(uk'(uk',/u`m',/uXN',/u;k',/usk'2'usm'2'usk'2'u)k'8u)m'8u)k'8uy` F1/0@ @P`p]3#`?f7@ u91290K TKT[X@878Y3#'#fJ7c@$   VwVv99991<<99990K TK T[X@878Y'.#"#>3232673#"&9! &$}f[&@%9! &$}f[&@Z7IR!7IRb+/10K TKT[X@878Y!!V)9H W@ VV1<0K TX@878YKTKT[KT[X@878Y332673#"&v aWV` v HKKJLDf,@ d10K TX@878Y3# _@ V xV10K TK T[X@878YK TK T[K T[X@878Y4&#"3267#"&54632X@AWWA@Xzssss?XW@AWX@sss#u@  ' 1/90!#"&'532654&'T76xv.W+"J/;<+->i0Y[ 0.W=fB@991<20K TKT[X@878Y3#3#߉fxLu @   '1/90!33267#"&546w-+76 >&Dzs5=X.. W]0i?f7@ u91<90K TKT[X@878Y373xu ?@   : y<<991/900P]3%!!'79Pw^Mo;jnH ^@  z z <<991/90KTX @ 878Y@ @ P ` sz p ]37#'7Ǹ}Lɸ{JZjXjm'6uof'V\m'=uXf']@ <210##    g@    2  y<291/220@(   ]]! )#53!!3 !iP`P5~.,qu('@^%{&%#${##{#({'(#&'('%$%(('"#" ! B('&%"! ## #)&' ! (%#" QE)999999919990KSXY"?*]@v%+("/#/$)%-&-'*(6%F%X X!` `!f"u u!u"%#%$&&&''(6$6%F$E%Z Z!b b!z{     {zzv v!x"**']].#"32654&#"5432''%'3%F2X)6 ~r4*!M!ü޼z&77kc\̑oabk'<su=Vf'\^ =@   ? 2291/0@ ?_]332+#32654&#'ђV>@ GF2210@ `]%#3>32#"&4&#"326s:{{8daa-10!!ת? @M    B   <291<290KSXY" '77w55v8vL57y5yy5 ,@   |]|| 12035733! c)t'+n^J@$}}B ~9190KSX2Y"!!56754&#"56632 "?XhU4zHM98rn81^BQ##{l0b(H@'    #)~&~ )999190#"&'532654&##532654&#"56632 \e9}F4wCmxolV^^ad_(fQI7Z`mR|yOFJLl?<:=svcE`''5 d?''5db''5 dsm'* uqVZH'JP', /uu'6ou{'Vs'k'&-uqf'Fs'm'&-uqf'Fq$J@$ "    GE%<<1/<20`&&&]!5!533##5#"3232654&#"F:||ǧN}}daDDad10!!dHF103#F1@: "+ /) 2+"!)#&  , & &*!/<29999999999122<20K TK T[K T[KT[KT[KT[X222@878Y@z  1Ti lnooooiko o!o"o#n$l%i'i-  !"#$%&'()*+,-2   USjg ]].#"!!!!3267#"#734&5465#7332[f A78 ʝf[Y`(77(6bbiZȻ{.# .{ZiHH"{/ #/{"G)@ dd1<20KTKT[X@878YKTK T[KT[X@878YKTKT[X@878YKTX@878Y@````pppp]3#%3#^ys@B10KSXY"K TX@878YKTX@878Y@ %%6FVjg //]]3#7Ju@!  VV 99991<2990K TX@878YKTX@878Y ]'.#"#4632326=3#"&9 $(}gV$=09" (}gT";9! 2-ev 3)dw @B10KSXY"K TX@878YKTX@878Y@*$$5CUU//]]#ę1w@ 91<90K TX@878YKTX@878YKTX@878Y@ //- ]3#'#Ӌ1@ 91290K TK T[K T[K T[X@878YKTX@878YKTX@878Y@ "  ]373Ӌ ? @   ] <291<290KTKT[KT[KT[K T[K T[X@878YKTKT[X@878Y@T /9IFYi       "5GK S[ e]] !33##5!55bf]my9 j@ VV120K TX@878YKTX@878YKTKT[X@878Y332673#"&v cSRav 6978w{zf103#  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~>: ~1BSax~ & 0 : !""""+"H"e%  0AR^x}  0 9 !""""+"H"`%^ChVjq_8 (Bbcdefghjikmlnoqprsutvwxzy{}|~f55q=3=dd?y}s)3s\\?uLsLsyD{={\{fqqq/q999qqJ+o#7=V;=3XyysLs{{{{{{fqqqqq9999qqqqq9\3 'sLfR#hd+/s`N{H?55=ZyyLss/q%%=V^33 / /9% qyy\\\\;LsLsLs9#LF+o{\3X3 q=55^5bb3sq\+osfqsfqqds 5?+   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~     sfthyphenperiodcenteredEuroc6459c6460c6461c6462c6463c6466c6467c6468c6469""""XO!nE~Le  R s  X : i  = z /Eu)pP@"m#{CwRw [ r !5!B!!!" ""#"0"="J"W"d"q"~"""""""""## ##'#4#A#N#[#h##$4$%3%S%&&'K''((X()_*%*\**+z+,D,,-P-..R./0A011!1P12H2z23F3p3p3}3334z44445595g55556[667C77888J999)969C9P9]9j9w99999999::{::;;^;;;<"<_<<<<<<=c>;>H>U>>>?a??@:@K@\@m@z@@@@@@@@A@AVAkBEBBC_CCDUDE*E?- x$%&')*K+-r./2934K57D9:;< =IQR&UYZ\bdg9xy&z&{&|&}&9 999 K$$$$$9$&$*$2$4$6$7a$8$9}$:$;$markTestSkipped("Requires the gd extension"); } $this->_dir = dirname(__FILE__) . '/testimages/'; } /** * */ public function testSame() { //same image $this->assertTrue( imageisthesame( $this->_dir . '10x5-red.png', $this->_dir . '10x5-red.png' ) ); //same image $this->assertTrue( imageisthesame( imagecreatefrompng($this->_dir . '10x5-red.png'), imagecreatefrompng($this->_dir . '10x5-red.png') ) ); } public function testSize() { //wrong size $this->assertFalse( imageisthesame( $this->_dir . '10x5-red.png', $this->_dir . '5x10-red.png' ) ); $this->assertFalse( imageisthesame( imagecreatefrompng($this->_dir . '10x5-red.png'), imagecreatefrompng($this->_dir . '5x10-red.png') ) ); } public function testWrongColor() { //wrong color $this->assertFalse( imageisthesame( $this->_dir . '10x5-red.png', $this->_dir . '10x5-white.png' ) ); } public function testIndexed() { //same, but indexed $this->assertTrue( imageisthesame( $this->_dir . '10x5-white.png', $this->_dir . '10x5-white-index.png' ) ); //wrong color, but indexed $this->assertFalse( imageisthesame( $this->_dir . '10x5-red.png', $this->_dir . '10x5-white-index.png' ) ); } public function testGreyscale() { //same, but greyscale $this->assertTrue( imageisthesame( $this->_dir . '10x5-white.png', $this->_dir . '10x5-white-grey.png' ) ); //wrong color, greyscale $this->assertFalse( imageisthesame( $this->_dir . '10x5-red.png', $this->_dir . '10x5-white-grey.png' ) ); } public function testImagetypes() { $this->markTestSkipped("compression?!"); //same color, different image type, one color $this->assertTrue( imageisthesame( $this->_dir . '5x10-red-254.jpg', $this->_dir . '5x10-red-254.png' ) ); //same color, different type, gradient $this->assertTrue( imageisthesame( $this->_dir . '5x10-gradient.jpg', $this->_dir . '5x10-gradient.png' ) ); } } php-image-text-0.7.0/Image_Text-0.7.0/tests/testimages/000077500000000000000000000000001262130641700223465ustar00rootroot00000000000000php-image-text-0.7.0/Image_Text-0.7.0/tests/testimages/10x5-red.png000066400000000000000000000002311262130641700243150ustar00rootroot00000000000000PNG  IHDR ? pHYs  tIME ,/4tEXtCommentby Christian WeiskecIDATcπ01 4 &IENDB`php-image-text-0.7.0/Image_Text-0.7.0/tests/testimages/10x5-white-grey.png000066400000000000000000000002301262130641700256260ustar00rootroot00000000000000PNG  IHDR Y" pHYs  tIME 0I3tEXtCommentby Christian WeiskecIDATcL 37 ecX`IENDB`php-image-text-0.7.0/Image_Text-0.7.0/tests/testimages/10x5-white-index.png000066400000000000000000000002421262130641700257720ustar00rootroot00000000000000PNG  IHDR F+PLTE pHYs  tIME 0HA|tEXtCommentby Christian Weiskec IDATc`@-.IENDB`php-image-text-0.7.0/Image_Text-0.7.0/tests/testimages/10x5-white.png000066400000000000000000000002351262130641700246670ustar00rootroot00000000000000PNG  IHDR ? pHYs  tIME -1tEXtCommentby Christian WeiskecIDATc?nĀTזIENDB`php-image-text-0.7.0/Image_Text-0.7.0/tests/testimages/5x10-gradient.jpg000066400000000000000000000006631262130641700253450ustar00rootroot00000000000000JFIFExifMM*by Christian WeiskeCC " %DR !%Cac '"#135ACDRSa ?31M)lX'r}}˴Lz'HT&` /`R,3#fx{2php-image-text-0.7.0/Image_Text-0.7.0/tests/testimages/5x10-gradient.png000066400000000000000000000003611262130641700253440ustar00rootroot00000000000000PNG  IHDR [g pHYs B4tIME מץtEXtCommentby Christian WeiskeciIDAT%10 @;iaЛ/zoTMA4tpjUi8 )t^$?|-,]lnFb1ݘɶEFFr)XYx}NWDViv8vwqckV!ďĿt`AX ,X,  ‚a`AX ,X,  ‚a`AX ,X,  ‚a`AX ,X,  ‚a`AX ,X,  ‚a`AX ,X,  ‚a`AX ,X,  ‚a`AX ,X,  ‚a`AX ,X,  ‚a`AX ,X,  ‚a`AX ,X,  ‚//<`'IENDB`php-image-text-0.7.0/Image_Text-0.7.0/tests/testimages/test-background-transparent.png000066400000000000000000000013401262130641700305050ustar00rootroot00000000000000PNG  IHDRdÆ IDATx?cUwFZDlDdFBooVGmQB ]T;]jXq+@9&or9:99 8_TDΝK븿OnTV?VX];ת=h9Nzij՗;o'oױϪױ/Z>m=]]m b5cͭ w;k]ǫ.UO sg_ W2Gu]-]QM{/-?cQ]\μ@8w6yn=ek}.WVW\_Ysp6ܬyJݪ[>nPrkj:qp6XVoV|o =PZ=}]RA}KH^nUyf}=bٜ@ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 @ 0 aaUw4IENDB`php-image-text-0.7.0/Image_Text-0.7.0/tests/testimages/test-construct.png000066400000000000000000000010511262130641700260520ustar00rootroot00000000000000PNG  IHDRdL\IDATx1KP` A"A:9g!88 E:8q"D8SRJzbPq܋yd8 d<W9~~`r͌?LQ%I޴aIt4 V5q]s(gYcEE]YYT*jj]]]ʡԊqzzzxx8q'p7s(@i6V:IzJ8?OZyߟqEV,˖82??h4$zr(<+wjp8+R8~xyyݭj fs~{{S׃ XZZjV1Rzxxx{{.k4~0Ff9GQt~~eYi-..~e 2PIENDB`php-image-text-0.7.0/package.xml000066400000000000000000000157451262130641700165020ustar00rootroot00000000000000 Image_Text pear.php.net Image_Text - Advanced text maipulations in images. Image_Text provides a comfortable interface to text manipulations in GD images. Beside common Freetype2 functionality it offers to handle texts in a graphic- or office-tool like way. For example it allows alignment of texts inside a text box, rotation (around the top left corner of a text box or it's center point) and the automatic measurizement of the optimal font size for a given text box. Stoyan Stefanov stoyan ssttoo@gmail.com Tobias Schlitt toby toby@php.net Michael Cramer bigmichi1 michael@bigmichi1.de yes Daniel O'Connor doconnor daniel.oconnor@gmail.com yes 2013-08-07 0.7.0 0.7.0 beta beta PHP License First PHP5 release * Bug #17621 Vera.ttf is not a valid font file. * Request #19789 Please Provides LICENSE file 5.1.0 1.4.6 gd 0.7.0 0.7.0 beta beta 2013-08-07 PHP License First PHP5 release * Bug #17621 Vera.ttf is not a valid font file. * Request #19789 Please Provides LICENSE file 0.6.1 0.6.0beta beta 2011-12-12 PHP License QA release * Bug #17619 Warning: imagettfbbox() [function.imagettfbbox]: Could not read font 0.6.0beta 0.6.0beta beta 2007-04-18 PHP License * Fixing bug #10722: Example crashes because font file is not found (Thanks to James Pic, Christian Weiske!) * Updated example and phpDocs (Thanks to Christian Weiske!) * Fixing requests #2520 - set background-color. (Thanks to James Pic, Christian Weiske!) * Fixed request #6211 - transparent background. (Thanks to James Pic, Christian Weiske!) * Unit tests (Thanks to Christian Weiske!) * Fixed E_NOTICE, setting default max_lines (Thanks to Christian Weiske!) * Fixed bug #10235 * Fixed request #3356 * Moved to package.xml v.2 0.6.0 0.6.0beta beta 2010-10-24 PHP License QA release * Bug #10775 when color = #000000 antialias is always true * Bug #11066 Background color overfills the GD Image * Doc Bug #13377 background_color missing in set() * Request #16749 Image to background