| 1 | # RCS Status : $Id: StandardEncoding.pm,v 1.2 2000-11-15 14:50:14+01 jv Exp $ | ||||||||||
| 2 | # Author : Johan Vromans | ||||||||||
| 3 | # Created On : Sun Jun 18 10:47:10 2000 | ||||||||||
| 4 | # Last Modified By: Johan Vromans | ||||||||||
| 5 | # Last Modified On: Wed Nov 15 14:49:07 2000 | ||||||||||
| 6 | # Update Count : 14 | ||||||||||
| 7 | # Status : Released | ||||||||||
| 8 | |||||||||||
| 9 | ################ Module Preamble ################ | ||||||||||
| 10 | |||||||||||
| 11 | package PostScript::StandardEncoding; | ||||||||||
| 12 | |||||||||||
| 13 | 2 | $VERSION = "1.01"; | |||||||||
| 14 | |||||||||||
| 15 | 2 | ▶ | use 5.005; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 16 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 17 | |||||||||||
| 18 | # Adobe StandardEncoding. | ||||||||||
| 19 | 2 | my @StandardEncoding; | |||||||||
| 20 | 2 | my $StandardEncoding_str = | |||||||||
| 21 | ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ". | ||||||||||
| 22 | ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ". | ||||||||||
| 23 | ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ". | ||||||||||
| 24 | ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ". | ||||||||||
| 25 | "space exclam quotedbl numbersign dollar percent ampersand quoteright ". | ||||||||||
| 26 | "parenleft parenright asterisk plus comma hyphen period slash zero ". | ||||||||||
| 27 | "one two three four five six seven eight nine colon semicolon less ". | ||||||||||
| 28 | "equal greater question at A B C D E F G H I J K L M N O P Q R S T U ". | ||||||||||
| 29 | "V W X Y Z bracketleft backslash bracketright asciicircum underscore ". | ||||||||||
| 30 | "quoteleft a b c d e f g h i j k l m n o p q r s t u v w x y z ". | ||||||||||
| 31 | "braceleft bar braceright asciitilde .notdef .notdef .notdef .notdef ". | ||||||||||
| 32 | ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ". | ||||||||||
| 33 | ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ". | ||||||||||
| 34 | ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ". | ||||||||||
| 35 | ".notdef .notdef .notdef .notdef .notdef .notdef exclamdown cent ". | ||||||||||
| 36 | "sterling fraction yen florin section currency quotesingle ". | ||||||||||
| 37 | "quotedblleft guillemotleft guilsinglleft guilsinglright fi fl ". | ||||||||||
| 38 | ".notdef endash dagger daggerdbl periodcentered .notdef paragraph ". | ||||||||||
| 39 | "bullet quotesinglbase quotedblbase quotedblright guillemotright ". | ||||||||||
| 40 | "ellipsis perthousand .notdef questiondown .notdef grave acute ". | ||||||||||
| 41 | "circumflex tilde macron breve dotaccent dieresis .notdef ring ". | ||||||||||
| 42 | "cedilla .notdef hungarumlaut ogonek caron emdash .notdef .notdef ". | ||||||||||
| 43 | ".notdef .notdef .notdef .notdef .notdef .notdef .notdef .notdef ". | ||||||||||
| 44 | ".notdef .notdef .notdef .notdef .notdef .notdef AE .notdef ". | ||||||||||
| 45 | "ordfeminine .notdef .notdef .notdef .notdef Lslash Oslash OE ". | ||||||||||
| 46 | "ordmasculine .notdef .notdef .notdef .notdef .notdef ae .notdef ". | ||||||||||
| 47 | ".notdef .notdef dotlessi .notdef .notdef lslash oslash oe germandbls ". | ||||||||||
| 48 | ".notdef .notdef .notdef .notdef"; | ||||||||||
| 49 | |||||||||||
| 50 | 0 | ▶ | sub string { | ||||||||
|
Subroutine
string: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 51 | 0 | my ($self) = @_; | |||||||||
| 52 | 0 | $StandardEncoding_str; | |||||||||
| 53 | } | ||||||||||
| 54 | |||||||||||
| 55 | 2 | ▶ | sub array { | ||||||||
|
Subroutine
array: called CC=3 SCAR=11.7
Pod
documented
| |||||||||||
| 56 | 2 | my ($self) = @_; | |||||||||
| 57 | 2 | ▶ | @StandardEncoding = split(' ', $StandardEncoding_str) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 58 | unless @StandardEncoding; | ||||||||||
| 59 | 2 | ▶ | wantarray ? @StandardEncoding : \@StandardEncoding; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 60 | } | ||||||||||
| 61 | |||||||||||
| 62 | 2 | 1; | |||||||||
| 63 | |||||||||||
| 64 | __END__ | ||||||||||