PostScript::PseudoISO - Module with handy ISO enhancements |
PostScript::PseudoISO - Module with handy ISO enhancements
$str = "This is an emdash: ---"; # Encode $t = PostScript::PseudoISO::->prepstr($str);
This module contains some handy extensions to PostScript ISO Latin1 encoding (ISO 8859.1).
The (class) routine prepstr
massages a string and makes the
following changes, if appropriate:
"
and '
will be changed to render curly quotes.
Example:
$str = PostScript::PseudoISO::->prepstr ("emdash '---'");
This routine makes the changes as described above.
Example:
$vec = PostScript::PseudoISO::->reencodingvector;
This function returns a reference to a hash that contains the mapping
of glyphs that are not part of the ISO Latin1 encoding. This vector
can be used with the reencode
method of a
PostScript::BasicTypesetter
object.
Johan Vromans, Squirrel Consultancy <jvromans@squirrel.nl>
This program is Copyright 2000 by Squirrel Consultancy. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of either: a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the ``Artistic License'' which comes with Perl.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.
PostScript::PseudoISO - Module with handy ISO enhancements |