view release on metacpan or search on metacpan
examples/BarCode.pl view on Meta::CPAN
# ----------------------------------------------------
# 5. Code EAN-128
# note that EAN-128 is part of Code 128
# alphabet: 128 ASCII characters 0x00..0x7F or 99 digit pairs
# CODE A: ASCII sp.._ (x20..x5F) NUL..US (x00..x1F)
# CODE B: ASCII sp..DEL (x20..x7F) with | (x7C) replaced by a hook symbol
# CODE C: numeric decimal 00..99
# all alphabets have additional EAN-128-specific controls in alphabet
# superset of CODE 128, with FNC1 required after START CODE x
# length: there appears to be a lengh limit of around 8 digits per (group), and
# codes will overlay each other if too long. if groups short enough,
# length is unlimited
@cellLoc = makeCellLoc(0);
@cellSize = (170, 131);
$grfx->save();
makeCell(@cellLoc, @cellSize);
@base=@cellLoc;
#$base[0] += 10;
#$base[1] += 10;
$text->font($fontR, 20);
examples/Boxes.pl view on Meta::CPAN
##################################################### subroutines
# --------------- define the media
sub media_page {
my $mode = shift();
$page = $pdf->page();
$grfx = $page->gfx();
$text = $page->text(); # text always overlays graphics
if ($mode eq 'dual') {
$page->mediabox(@dual_format);
my @size = (0,0, @dual_format);
media_layer($mode, $grfx, @size);
$text->fillcolor('black');
$text->font($font, 20);
$text->translate(400,550);
$text->text_center('Set the "paper" (media) size and coordinate system.');
examples/Boxes.pl view on Meta::CPAN
return;
}
# --------------- add content to the pages
sub page_content {
my $mode = shift();
$page = $pdf->page();
$grfx = $page->gfx();
$text = $page->text(); # text always overlays graphics
$clip = $page->gfx(); # clip (graphics) overlays text
if ($mode eq 'dual') {
$page->mediabox(@dual_format);
my @size = (0,0, @dual_format);
media_layer($mode, $grfx, @size);
content_layer($mode, $grfx, $text, @size);
$text->fillcolor('black');
$text->font($font, 20);
$text->translate(400,550);
examples/Boxes.pl view on Meta::CPAN
}
# --------------- crop the pages to what printer can output
# let's say 1/4 inch off each edge (probably too much)
sub crop_page {
my $mode = shift();
$page = $pdf->page();
$grfx = $page->gfx();
$text = $page->text(); # text always overlays graphics
$clip = $page->gfx(); # clip (graphics) overlays text
if ($mode eq 'dual') {
$page->mediabox(@dual_format);
my @size = (0,0, @dual_format);
media_layer($mode, $grfx, @size);
content_layer($mode, $grfx, $text, @size);
$text->fillcolor('black');
$text->font($font, 20);
$text->translate(400,550);
examples/Boxes.pl view on Meta::CPAN
return;
}
# --------------- set bleed box: no visible effect
sub bleed_page {
my $mode = shift();
$page = $pdf->page();
$grfx = $page->gfx();
$text = $page->text(); # text always overlays graphics
$clip = $page->gfx(); # clip (graphics) overlays text
if ($mode eq 'dual') {
$page->mediabox(@dual_format);
my @size = (0,0, @dual_format);
media_layer($mode, $grfx, @size);
content_layer($mode, $grfx, $text, @size);
$text->fillcolor('black');
$text->font($font, 20);
$text->translate(400,550);
examples/Boxes.pl view on Meta::CPAN
return;
}
# --------------- add some printer instructions: crop marks, color alignment
sub printer_page {
my $mode = shift();
$page = $pdf->page();
$grfx = $page->gfx();
$text = $page->text(); # text always overlays graphics
$clip = $page->gfx(); # clip (graphics) overlays text
if ($mode eq 'dual') {
$page->mediabox(@dual_format);
my @size = (0,0, @dual_format);
media_layer($mode, $grfx, @size);
content_layer($mode, $grfx, $text, @size);
$text->fillcolor('black');
$text->font($font, 20);
$text->translate(400,550);
examples/Boxes.pl view on Meta::CPAN
return;
}
# --------------- set trim box: emulate effect of paper being cut
sub trim_page {
my $mode = shift();
$page = $pdf->page();
$grfx = $page->gfx();
$text = $page->text(); # text always overlays graphics
$clip = $page->gfx(); # clip (graphics) overlays text
if ($mode eq 'dual') {
$page->mediabox(@dual_format);
my @size = (0,0, @dual_format);
media_layer($mode, $grfx, @size);
content_layer($mode, $grfx, $text, @size);
$text->fillcolor('black');
$text->font($font, 20);
$text->translate(400,550);
examples/Boxes.pl view on Meta::CPAN
return;
}
# --------------- set art box
sub art_page {
my $mode = shift();
$page = $pdf->page();
$grfx = $page->gfx();
$text = $page->text(); # text always overlays graphics
$clip = $page->gfx(); # clip (graphics) overlays text
if ($mode eq 'dual') {
$page->mediabox(@dual_format);
my @size = (0,0, @dual_format);
media_layer($mode, $grfx, @size);
content_layer($mode, $grfx, $text, @size);
$text->fillcolor('black');
$text->font($font, 20);
$text->translate(400,550);
examples/Content.pl view on Meta::CPAN
@points = (135,25, 35,25, 135,95);
$grfx->linecap(0);
$grfx->linejoin(0);
# draw red, including miter or bevel joint per setting (all that will show)
$grfx->strokecolor('red');
$grfx->linewidth($lw);
$grfx->poly(@points);
$grfx->stroke();
# draw black each of the two thick bars (butt linecap), overlaying most red
$grfx->strokecolor('black');
for ($i=0; $i<scalar(@points)-2; $i+=2) {
$grfx->poly($points[$i],$points[$i+1], $points[$i+2],$points[$i+3]);
$grfx->stroke();
}
# gray overlap of bars, as custom-written filled shape
$grfx->fillcolor('#333333');
$angle = atan2($points[5]-$points[3], $points[4]-$points[2]);
@npts = ($points[2], $points[3], $points[2], $points[3]+$lw/2,
examples/Content.pl view on Meta::CPAN
@points = (135,25, 35,25, 135,95);
$grfx->linecap(0);
$grfx->linejoin(1);
# draw red, including miter or bevel joint per setting (all that will show)
$grfx->strokecolor('red');
$grfx->linewidth($lw);
$grfx->poly(@points);
$grfx->stroke();
# draw black each of the two thick bars (butt linecap), overlaying most red
$grfx->strokecolor('black');
for ($i=0; $i<scalar(@points)-2; $i+=2) {
$grfx->poly($points[$i],$points[$i+1], $points[$i+2],$points[$i+3]);
$grfx->stroke();
}
# gray overlap of bars, as custom-written filled shape
$grfx->fillcolor('#333333');
$angle = atan2($points[5]-$points[3], $points[4]-$points[2]);
@npts = ($points[2], $points[3], $points[2], $points[3]+$lw/2,
examples/Content.pl view on Meta::CPAN
@points = (135,25, 35,25, 135,95);
$grfx->linecap(0);
$grfx->linejoin(2);
# draw red, including miter or bevel joint per setting (all that will show)
$grfx->strokecolor('red');
$grfx->linewidth($lw);
$grfx->poly(@points);
$grfx->stroke();
# draw black each of the two thick bars (butt linecap), overlaying most red
$grfx->strokecolor('black');
for ($i=0; $i<scalar(@points)-2; $i+=2) {
$grfx->poly($points[$i],$points[$i+1], $points[$i+2],$points[$i+3]);
$grfx->stroke();
}
# gray overlap of bars, as custom-written filled shape
$grfx->fillcolor('#333333');
$angle = atan2($points[5]-$points[3], $points[4]-$points[2]);
@npts = ($points[2], $points[3], $points[2], $points[3]+$lw/2,
examples/Content.pl view on Meta::CPAN
@points = (135,25, 55,25, 15,95);
$grfx->linecap(0);
$grfx->linejoin(0);
# draw red, including miter or bevel joint per setting (all that will show)
$grfx->strokecolor('red');
$grfx->linewidth($lw);
$grfx->poly(@points);
$grfx->stroke();
# draw black each of the two thick bars (butt linecap), overlaying most red
$grfx->strokecolor('black');
for ($i=0; $i<scalar(@points)-2; $i+=2) {
$grfx->poly($points[$i],$points[$i+1], $points[$i+2],$points[$i+3]);
$grfx->stroke();
}
# gray overlap of bars, as custom-written filled shape
$grfx->fillcolor('#333333');
$angle = atan2($points[5]-$points[3], $points[4]-$points[2]);
@npts = ($points[2], $points[3], $points[2], $points[3]+$lw/2,
examples/Content.pl view on Meta::CPAN
@points = (135,25, 55,25, 55,95);
$grfx->linecap(0);
$grfx->linejoin(0);
# draw red, including miter or bevel joint per setting (all that will show)
$grfx->strokecolor('red');
$grfx->linewidth($lw);
$grfx->poly(@points);
$grfx->stroke();
# draw black each of the two thick bars (butt linecap), overlaying most red
$grfx->strokecolor('black');
for ($i=0; $i<scalar(@points)-2; $i+=2) {
$grfx->poly($points[$i],$points[$i+1], $points[$i+2],$points[$i+3]);
$grfx->stroke();
}
# gray overlap of bars, as custom-written filled shape
$grfx->fillcolor('#333333');
$angle = atan2($points[5]-$points[3], $points[4]-$points[2]);
@npts = ($points[2], $points[3], $points[2], $points[3]+$lw/2,
examples/Content.pl view on Meta::CPAN
@points = (135,25, 55,25, 135,105);
$grfx->linecap(0);
$grfx->linejoin(0);
# draw red, including miter or bevel joint per setting (all that will show)
$grfx->strokecolor('red');
$grfx->linewidth($lw);
$grfx->poly(@points);
$grfx->stroke();
# draw black each of the two thick bars (butt linecap), overlaying most red
$grfx->strokecolor('black');
for ($i=0; $i<scalar(@points)-2; $i+=2) {
$grfx->poly($points[$i],$points[$i+1], $points[$i+2],$points[$i+3]);
$grfx->stroke();
}
# gray overlap of bars, as custom-written filled shape
$grfx->fillcolor('#333333');
$angle = atan2($points[5]-$points[3], $points[4]-$points[2]);
@npts = ($points[2], $points[3], $points[2], $points[3]+$lw/2,
examples/Content.pl view on Meta::CPAN
@points = (135,25, 55,25, 135,71.2);
$grfx->linecap(0);
$grfx->linejoin(0);
# draw red, including miter or bevel joint per setting (all that will show)
$grfx->strokecolor('red');
$grfx->linewidth($lw);
$grfx->poly(@points);
$grfx->stroke();
# draw black each of the two thick bars (butt linecap), overlaying most red
$grfx->strokecolor('black');
for ($i=0; $i<scalar(@points)-2; $i+=2) {
$grfx->poly($points[$i],$points[$i+1], $points[$i+2],$points[$i+3]);
$grfx->stroke();
}
# gray overlap of bars, as custom-written filled shape
$grfx->fillcolor('#333333');
$angle = atan2($points[5]-$points[3], $points[4]-$points[2]);
@npts = ($points[2], $points[3], $points[2], $points[3]+$lw/2,
examples/Content.pl view on Meta::CPAN
@points = (135,25, 55,25, 135,54.1);
$grfx->linecap(0);
$grfx->linejoin(0);
# draw red, including miter or bevel joint per setting (all that will show)
$grfx->strokecolor('red');
$grfx->linewidth($lw);
$grfx->poly(@points);
$grfx->stroke();
# draw black each of the two thick bars (butt linecap), overlaying most red
$grfx->strokecolor('black');
for ($i=0; $i<scalar(@points)-2; $i+=2) {
$grfx->poly($points[$i],$points[$i+1], $points[$i+2],$points[$i+3]);
$grfx->stroke();
}
# gray overlap of bars, as custom-written filled shape
$grfx->fillcolor('#333333');
$angle = atan2($points[5]-$points[3], $points[4]-$points[2]);
@npts = ($points[2], $points[3], $points[2], $points[3]+$lw/2,
examples/Content.pl view on Meta::CPAN
@points = (135,25, 55,25, 135,46.4);
$grfx->linecap(0);
$grfx->linejoin(0);
# draw red, including miter or bevel joint per setting (all that will show)
$grfx->strokecolor('red');
$grfx->linewidth($lw);
$grfx->poly(@points);
$grfx->stroke();
# draw black each of the two thick bars (butt linecap), overlaying most red
$grfx->strokecolor('black');
for ($i=0; $i<scalar(@points)-2; $i+=2) {
$grfx->poly($points[$i],$points[$i+1], $points[$i+2],$points[$i+3]);
$grfx->stroke();
}
# gray overlap of bars, as custom-written filled shape
$grfx->fillcolor('#333333');
$angle = atan2($points[5]-$points[3], $points[4]-$points[2]);
@npts = ($points[2], $points[3], $points[2], $points[3]+$lw/2,
lib/PDF/Builder/Page.pm view on Meta::CPAN
$grfx1->save();
$text2 = $page->text();
$text2->restore();
$text2->save();
$grfx2 = $page->gfx();
$grfx1->restore();
I<Generally,> you will want to define the graphics object first, and then the
text object after that. This defines the order in which the streams will be
rendered (graphics first), which is usually desirable if you're setting a
background color, or have other graphics with which you want to overlay text
over. Sometimes, though, you may wish to overlay text with graphics, in which
case you might either define the objects text and then graphics, or define a
second graphics stream to lay over the text. Most of the time it really doesn't
matter which comes first (as text and graphics don't interact or overlay), but
in any case, be aware of states carried over from the end of one stream
into the next.
B<Alternate name:> C<graphics>
This has been added for PDF::API2 compatibility.
=back
=cut
lib/PDF/Builder/Page.pm view on Meta::CPAN
You may specify a compression flag saying whether the text content is
to be compressed. If not given, the default is for the overall PDF
compression setting to be used (I<on> by default).
Please see the discussion above in C<gfx()> regarding multiple graphics and
text objects on one page, how they are grouped into PDF objects and streams,
and the rendering consequences of running through one entire object (stream)
at a time, before moving on to the next. Even if you have only one graphics
and one text stream, the order in which they are defined has consequences for
how text overlays graphics or vice-versa.
The I<text> object has many settings and attributes of its own, but shares many
with graphics (I<gfx>), such as strokecolor, fillcolor, linewidth, linedash,
and the like. Thus there is some overlap in attributes, and graphics and text
calls can affect each other.
=back
=cut
lib/PDF/Builder/Resource/Font/CoreFont/courier.pm view on Meta::CPAN
'shindageshsindot' => 600,
'shook' => 600,
'sigma' => 600,
'sigma1' => 600,
'sigmalunatesymbolgreek' => 600,
'six' => 600,
'sixpersian' => 600,
'slash' => 600,
'slongdotaccent' => 600,
'smileface' => 600,
'soliduslongoverlaycmb' => 600,
'solidusshortoverlaycmb' => 600,
'space' => 600,
'spade' => 600,
'squarebelowcmb' => 600,
'sterling' => 600,
'strokelongoverlaycmb' => 600,
'strokeshortoverlaycmb' => 600,
'summation' => 600,
'sun' => 600,
't' => 600,
'tahfinalarabic' => 600,
'tahinitialarabic' => 600,
'tahmedialarabic' => 600,
'tau' => 600,
'tavdages' => 600,
'tbar' => 600,
'tcaron' => 600,
lib/PDF/Builder/Resource/Font/CoreFont/courier.pm view on Meta::CPAN
'thousandsseparatorarabic' => 600,
'three' => 600,
'threeeighths' => 600,
'threepersian' => 600,
'threequarters' => 600,
'threesuperior' => 600,
'tilde' => 600,
'tildebelowcmb' => 600,
'tildecomb' => 600,
'tildedoublecmb' => 600,
'tildeoverlaycmb' => 600,
'tildeverticalcmb' => 600,
'tipehahebrew' => 600,
'titlocyrilliccmb' => 600,
'tiwnarmenian' => 600,
'tlinebelow' => 600,
'toarmenian' => 600,
'tonefive' => 600,
'tonesix' => 600,
'tonetwo' => 600,
'tonos' => 600,
lib/PDF/Builder/Resource/Font/CoreFont/courierbold.pm view on Meta::CPAN
'shindageshsindot' => 600,
'shook' => 600,
'sigma' => 600,
'sigma1' => 600,
'sigmalunatesymbolgreek' => 600,
'six' => 600,
'sixpersian' => 600,
'slash' => 600,
'slongdotaccent' => 600,
'smileface' => 600,
'soliduslongoverlaycmb' => 600,
'solidusshortoverlaycmb' => 600,
'space' => 600,
'spade' => 600,
'squarebelowcmb' => 600,
'sterling' => 600,
'strokelongoverlaycmb' => 600,
'strokeshortoverlaycmb' => 600,
'summation' => 600,
'sun' => 600,
't' => 600,
'tahfinalarabic' => 600,
'tahinitialarabic' => 600,
'tahmedialarabic' => 600,
'tau' => 600,
'tavdages' => 600,
'tbar' => 600,
'tcaron' => 600,
lib/PDF/Builder/Resource/Font/CoreFont/courierbold.pm view on Meta::CPAN
'thousandsseparatorarabic' => 600,
'three' => 600,
'threeeighths' => 600,
'threepersian' => 600,
'threequarters' => 600,
'threesuperior' => 600,
'tilde' => 600,
'tildebelowcmb' => 600,
'tildecomb' => 600,
'tildedoublecmb' => 600,
'tildeoverlaycmb' => 600,
'tildeverticalcmb' => 600,
'tipehahebrew' => 600,
'titlocyrilliccmb' => 600,
'tiwnarmenian' => 600,
'tlinebelow' => 600,
'toarmenian' => 600,
'tonefive' => 600,
'tonesix' => 600,
'tonetwo' => 600,
'tonos' => 600,
lib/PDF/Builder/Resource/Font/CoreFont/courierboldoblique.pm view on Meta::CPAN
'shindageshshindot' => 600,
'shindageshsindot' => 600,
'shook' => 600,
'sigma' => 600,
'sigma1' => 600,
'sigmalunatesymbolgreek' => 600,
'six' => 600,
'slash' => 600,
'slongdotaccent' => 600,
'smileface' => 600,
'soliduslongoverlaycmb' => 600,
'solidusshortoverlaycmb' => 600,
'space' => 600,
'spade' => 600,
'squarebelowcmb' => 600,
'sterling' => 600,
'strokelongoverlaycmb' => 600,
'strokeshortoverlaycmb' => 600,
'summation' => 600,
'sun' => 600,
't' => 600,
'tau' => 600,
'tavdages' => 600,
'tbar' => 600,
'tcaron' => 600,
'tccurl' => 600,
'tcedilla' => 600,
'tcircumflexbelow' => 600,
lib/PDF/Builder/Resource/Font/CoreFont/courierboldoblique.pm view on Meta::CPAN
'thorn' => 600,
'thousandcyrillic' => 600,
'three' => 600,
'threeeighths' => 600,
'threequarters' => 600,
'threesuperior' => 600,
'tilde' => 600,
'tildebelowcmb' => 600,
'tildecomb' => 600,
'tildedoublecmb' => 600,
'tildeoverlaycmb' => 600,
'tildeverticalcmb' => 600,
'tipehahebrew' => 600,
'titlocyrilliccmb' => 600,
'tiwnarmenian' => 600,
'tlinebelow' => 600,
'toarmenian' => 600,
'tonefive' => 600,
'tonesix' => 600,
'tonetwo' => 600,
'tonos' => 600,
lib/PDF/Builder/Resource/Font/CoreFont/courieroblique.pm view on Meta::CPAN
'shindageshshindot' => 600,
'shindageshsindot' => 600,
'shook' => 600,
'sigma' => 600,
'sigma1' => 600,
'sigmalunatesymbolgreek' => 600,
'six' => 600,
'slash' => 600,
'slongdotaccent' => 600,
'smileface' => 600,
'soliduslongoverlaycmb' => 600,
'solidusshortoverlaycmb' => 600,
'space' => 600,
'spade' => 600,
'squarebelowcmb' => 600,
'sterling' => 600,
'strokelongoverlaycmb' => 600,
'strokeshortoverlaycmb' => 600,
'summation' => 600,
'sun' => 600,
't' => 600,
'tau' => 600,
'tavdages' => 600,
'tbar' => 600,
'tcaron' => 600,
'tccurl' => 600,
'tcedilla' => 600,
'tcircumflexbelow' => 600,
lib/PDF/Builder/Resource/Font/CoreFont/courieroblique.pm view on Meta::CPAN
'thorn' => 600,
'thousandcyrillic' => 600,
'three' => 600,
'threeeighths' => 600,
'threequarters' => 600,
'threesuperior' => 600,
'tilde' => 600,
'tildebelowcmb' => 600,
'tildecomb' => 600,
'tildedoublecmb' => 600,
'tildeoverlaycmb' => 600,
'tildeverticalcmb' => 600,
'tipehahebrew' => 600,
'titlocyrilliccmb' => 600,
'tiwnarmenian' => 600,
'tlinebelow' => 600,
'toarmenian' => 600,
'tonefive' => 600,
'tonesix' => 600,
'tonetwo' => 600,
'tonos' => 600,
lib/PDF/Builder/Resource/Font/CoreFont/helvetica.pm view on Meta::CPAN
'shook' => 500,
'sigma' => 617,
'sigma1' => 481,
'sigmalunatesymbolgreek' => 500,
'six' => 556,
'sixpersian' => 525,
'sixsuperior' => 333,
'slash' => 278, # +1
'slongdotaccent' => 222,
'smileface' => 1020,
'soliduslongoverlaycmb' => 0,
'solidusshortoverlaycmb' => 0,
'space' => 278, # +1
'spade' => 531,
'squarebelowcmb' => 0,
'sterling' => 556,
'strokelongoverlaycmb' => 0,
'strokeshortoverlaycmb' => 0,
'summation' => 748, # was 712 use pm+5%
'sun' => 916,
't' => 278, # +1
'tahfinalarabic' => 581,
'tahinitialarabic' => 581,
'tahmedialarabic' => 581,
'tau' => 395,
'tavdages' => 642,
'tbar' => 278, # (+1)
'tcaron' => 394, # was 375 use pm+5%
lib/PDF/Builder/Resource/Font/CoreFont/helvetica.pm view on Meta::CPAN
'thousandsseparatorarabic' => 318,
'three' => 556,
'threeeighths' => 833,
'threepersian' => 525,
'threequarters' => 834, # +1
'threesuperior' => 333,
'tilde' => 333,
'tildebelowcmb' => 0,
'tildecomb' => 0,
'tildedoublecmb' => 0,
'tildeoverlaycmb' => 0,
'tildeverticalcmb' => 0,
'tipehahebrew' => 0,
'titlocyrilliccmb' => 0,
'tiwnarmenian' => 831,
'tlinebelow' => 278, # (+1)
'toarmenian' => 667,
'tonebarextrahighmod' => 382,
'tonebarextralowmod' => 382,
'tonebarhighmod' => 382,
'tonebarlowmod' => 382,
lib/PDF/Builder/Resource/Font/CoreFont/helveticabold.pm view on Meta::CPAN
'shook' => 556,
'sigma' => 684,
'sigma1' => 520,
'sigmalunatesymbolgreek' => 556,
'six' => 556,
'sixpersian' => 561,
'sixsuperior' => 333,
'slash' => 278, # +1
'slongdotaccent' => 277,
'smileface' => 1020,
'soliduslongoverlaycmb' => 0,
'solidusshortoverlaycmb' => 0,
'space' => 278, # +1
'spade' => 531,
'squarebelowcmb' => 0,
'sterling' => 556,
'strokelongoverlaycmb' => 0,
'strokeshortoverlaycmb' => 0,
'summation' => 748, # was 712, afm 600 too narrow
'sun' => 916,
't' => 333,
'tahfinalarabic' => 523,
'tahinitialarabic' => 523,
'tahmedialarabic' => 523,
'tau' => 446,
'tavdages' => 673,
'tbar' => 333,
'tcaron' => 529, # was 389, afm 479 too narrow
lib/PDF/Builder/Resource/Font/CoreFont/helveticabold.pm view on Meta::CPAN
'thousandsseparatorarabic' => 318,
'three' => 556,
'threeeighths' => 833,
'threepersian' => 561,
'threequarters' => 834, # +1
'threesuperior' => 333,
'tilde' => 333,
'tildebelowcmb' => 0,
'tildecomb' => 0,
'tildedoublecmb' => 0,
'tildeoverlaycmb' => 0,
'tildeverticalcmb' => 0,
'tipehahebrew' => 0,
'titlocyrilliccmb' => 0,
'tiwnarmenian' => 897,
'tlinebelow' => 333,
'toarmenian' => 777,
'tonebarextrahighmod' => 382,
'tonebarextralowmod' => 382,
'tonebarhighmod' => 382,
'tonebarlowmod' => 382,
lib/PDF/Builder/Resource/Font/CoreFont/helveticaboldoblique.pm view on Meta::CPAN
'shindageshsindot' => 714,
'shook' => 556,
'sigma' => 663,
'sigma1' => 532,
'sigmalunatesymbolgreek' => 556,
'six' => 556,
'sixsuperior' => 333,
'slash' => 278, # +1
'slongdotaccent' => 277,
'smileface' => 1020,
'soliduslongoverlaycmb' => 0,
'solidusshortoverlaycmb' => 0,
'space' => 278, # +1
'spade' => 531,
'squarebelowcmb' => 0,
'sterling' => 556,
'strokelongoverlaycmb' => 0,
'strokeshortoverlaycmb' => 0,
'summation' => 712, # afm 600 too narrow
'sun' => 916,
't' => 333,
'tau' => 408,
'tavdages' => 673,
'tbar' => 333,
'tcaron' => 479, # afm 389 too narrow
'tccurl' => 839,
'tcedilla' => 333,
'tcircumflexbelow' => 333,
lib/PDF/Builder/Resource/Font/CoreFont/helveticaboldoblique.pm view on Meta::CPAN
'thorn' => 611, # +1
'thousandcyrillic' => 583,
'three' => 556,
'threeeighths' => 833,
'threequarters' => 834, # +1
'threesuperior' => 333,
'tilde' => 333,
'tildebelowcmb' => 0,
'tildecomb' => 0,
'tildedoublecmb' => 0,
'tildeoverlaycmb' => 0,
'tildeverticalcmb' => 0,
'tipehahebrew' => 0,
'titlocyrilliccmb' => 0,
'tiwnarmenian' => 893,
'tlinebelow' => 333,
'toarmenian' => 781,
'tonebarextrahighmod' => 382,
'tonebarextralowmod' => 382,
'tonebarhighmod' => 382,
'tonebarlowmod' => 382,
lib/PDF/Builder/Resource/Font/CoreFont/helveticaoblique.pm view on Meta::CPAN
'shindageshsindot' => 694,
'shook' => 500,
'sigma' => 603,
'sigma1' => 486,
'sigmalunatesymbolgreek' => 500,
'six' => 556,
'sixsuperior' => 333,
'slash' => 278, # +1
'slongdotaccent' => 222,
'smileface' => 1020,
'soliduslongoverlaycmb' => 0,
'solidusshortoverlaycmb' => 0,
'space' => 278, # +1
'spade' => 531,
'squarebelowcmb' => 0,
'sterling' => 556,
'strokelongoverlaycmb' => 0,
'strokeshortoverlaycmb' => 0,
'summation' => 712, # afm 600, too narrow
'sun' => 916,
't' => 278, # +1
'tau' => 374,
'tavdages' => 642,
'tbar' => 278, # (+1)
'tcaron' => 354, # afm 317, too narrow
'tccurl' => 708,
'tcedilla' => 278, # (+1)
'tcircumflexbelow' => 278, # (+1)
lib/PDF/Builder/Resource/Font/CoreFont/helveticaoblique.pm view on Meta::CPAN
'thorn' => 556,
'thousandcyrillic' => 556,
'three' => 556,
'threeeighths' => 833,
'threequarters' => 834, # +1
'threesuperior' => 333,
'tilde' => 333,
'tildebelowcmb' => 0,
'tildecomb' => 0,
'tildedoublecmb' => 0,
'tildeoverlaycmb' => 0,
'tildeverticalcmb' => 0,
'tipehahebrew' => 0,
'titlocyrilliccmb' => 0,
'tiwnarmenian' => 836,
'tlinebelow' => 278, # (+1)
'toarmenian' => 696,
'tonebarextrahighmod' => 382,
'tonebarextralowmod' => 382,
'tonebarhighmod' => 382,
'tonebarlowmod' => 382,
lib/PDF/Builder/Resource/Font/CoreFont/timesbold.pm view on Meta::CPAN
'sigma1' => 421,
'sigmalunatesymbolgreek' => 443,
'six' => 500,
'sixinferior' => 299,
'sixpersian' => 561,
'sixroman' => 777,
'sixsuperior' => 299,
'slash' => 278, # +1
'slongdotaccent' => 277,
'smileface' => 1020,
'soliduslongoverlaycmb' => 0,
'solidusshortoverlaycmb' => 0,
'space' => 250,
'spade' => 531,
'squarebelowcmb' => 0,
'sterling' => 500,
'strokelongoverlaycmb' => 0,
'strokeshortoverlaycmb' => 0,
'summation' => 712, # afm 600, use TTF
'sun' => 916,
't' => 333,
'tahfinalarabic' => 523,
'tahinitialarabic' => 523,
'tahmedialarabic' => 523,
'tau' => 460,
'tavdages' => 518,
'tbar' => 333,
'tcaron' => 525, # afm 416, use TTF+5
lib/PDF/Builder/Resource/Font/CoreFont/timesbold.pm view on Meta::CPAN
'threeeighths' => 750,
'threeinferior' => 299,
'threepersian' => 561,
'threequarters' => 750,
'threeroman' => 829,
'threesuperior' => 300, # +1
'tilde' => 333,
'tildebelowcmb' => 0,
'tildecomb' => 0,
'tildedoublecmb' => 0,
'tildeoverlaycmb' => 0,
'tildeverticalcmb' => 0,
'tipehahebrew' => 0,
'titlocyrilliccmb' => 0,
'tiwnarmenian' => 812,
'tlinebelow' => 333,
'toarmenian' => 733,
'tonebarextrahighmod' => 382,
'tonebarextralowmod' => 382,
'tonebarhighmod' => 382,
'tonebarlowmod' => 382,
lib/PDF/Builder/Resource/Font/CoreFont/timesbolditalic.pm view on Meta::CPAN
'sigma' => 539,
'sigma1' => 445,
'sigmalunatesymbolgreek' => 443,
'six' => 500,
'sixinferior' => 299,
'sixroman' => 722,
'sixsuperior' => 299,
'slash' => 278, # +1
'slongdotaccent' => 333,
'smileface' => 1020,
'soliduslongoverlaycmb' => 0,
'solidusshortoverlaycmb' => 0,
'space' => 250,
'spade' => 531,
'squarebelowcmb' => 0,
'sterling' => 500,
'strokelongoverlaycmb' => 0,
'strokeshortoverlaycmb' => 0,
'summation' => 712, # afm 600, use TTF
'sun' => 916,
't' => 278, # +1
'tau' => 443,
'tavdages' => 503,
'tbar' => 278, # (+1)
'tcaron' => 366, # use afm, was TTF 531
'tccurl' => 653,
'tcedilla' => 278, # (+1)
'tcircumflexbelow' => 278, # (+1)
lib/PDF/Builder/Resource/Font/CoreFont/timesbolditalic.pm view on Meta::CPAN
'three' => 500,
'threeeighths' => 750,
'threeinferior' => 299,
'threequarters' => 750,
'threeroman' => 790,
'threesuperior' => 300, # +1
'tilde' => 333,
'tildebelowcmb' => 0,
'tildecomb' => 0,
'tildedoublecmb' => 0,
'tildeoverlaycmb' => 0,
'tildeverticalcmb' => 0,
'tipehahebrew' => 0,
'titlocyrilliccmb' => 0,
'tiwnarmenian' => 781,
'tlinebelow' => 278, # (+1)
'toarmenian' => 698,
'tonebarextrahighmod' => 382,
'tonebarextralowmod' => 382,
'tonebarhighmod' => 382,
'tonebarlowmod' => 382,
lib/PDF/Builder/Resource/Font/CoreFont/timesitalic.pm view on Meta::CPAN
'sigma' => 493,
'sigma1' => 405,
'sigmalunatesymbolgreek' => 445,
'six' => 500,
'sixinferior' => 299,
'sixroman' => 724,
'sixsuperior' => 299,
'slash' => 278, # +1
'slongdotaccent' => 277,
'smileface' => 1020,
'soliduslongoverlaycmb' => 0,
'solidusshortoverlaycmb' => 0,
'space' => 250,
'spade' => 531,
'squarebelowcmb' => 0,
'sterling' => 500,
'strokelongoverlaycmb' => 0,
'strokeshortoverlaycmb' => 0,
'summation' => 712, # afm 600 too narrow
'sun' => 916,
't' => 278, # +1
'tau' => 357,
'tavdages' => 474,
'tbar' => 278,
'tcaron' => 300, # use afm, was TTF 363
'tccurl' => 639,
'tcedilla' => 278, # (+1)
'tcircumflexbelow' => 278, # (+1)
lib/PDF/Builder/Resource/Font/CoreFont/timesitalic.pm view on Meta::CPAN
'three' => 500,
'threeeighths' => 750,
'threeinferior' => 299,
'threequarters' => 750,
'threeroman' => 770,
'threesuperior' => 300, # +1
'tilde' => 333,
'tildebelowcmb' => 0,
'tildecomb' => 0,
'tildedoublecmb' => 0,
'tildeoverlaycmb' => 0,
'tildeverticalcmb' => 0,
'tipehahebrew' => 0,
'titlocyrilliccmb' => 0,
'tiwnarmenian' => 734,
'tlinebelow' => 278, # (+1)
'toarmenian' => 635,
'tonebarextrahighmod' => 382,
'tonebarextralowmod' => 382,
'tonebarhighmod' => 382,
'tonebarlowmod' => 382,
lib/PDF/Builder/Resource/Font/CoreFont/timesroman.pm view on Meta::CPAN
'sigma1' => 395,
'sigmalunatesymbolgreek' => 443,
'six' => 500,
'sixinferior' => 299,
'sixpersian' => 525,
'sixroman' => 761,
'sixsuperior' => 299,
'slash' => 278, # +1
'slongdotaccent' => 277,
'smileface' => 1020,
'soliduslongoverlaycmb' => 0,
'solidusshortoverlaycmb' => 0,
'space' => 250,
'spade' => 531,
'squarebelowcmb' => 0,
'sterling' => 500,
'strokelongoverlaycmb' => 0,
'strokeshortoverlaycmb' => 0,
'summation' => 712, # afm 600 too narrow
'sun' => 916,
't' => 278, # +1
'tahfinalarabic' => 581,
'tahinitialarabic' => 581,
'tahmedialarabic' => 581,
'tau' => 401,
'tavdages' => 500,
'tbar' => 278, # (+1)
'tcaron' => 430, # afm 326 too narrow
lib/PDF/Builder/Resource/Font/CoreFont/timesroman.pm view on Meta::CPAN
'threeeighths' => 750,
'threeinferior' => 299,
'threepersian' => 525,
'threequarters' => 750,
'threeroman' => 770,
'threesuperior' => 300, # +1
'tilde' => 333,
'tildebelowcmb' => 0,
'tildecomb' => 0,
'tildedoublecmb' => 0,
'tildeoverlaycmb' => 0,
'tildeverticalcmb' => 0,
'tipehahebrew' => 0,
'titlocyrilliccmb' => 0,
'tiwnarmenian' => 777,
'tlinebelow' => 278, # (+1)
'toarmenian' => 642,
'tonebarextrahighmod' => 382,
'tonebarextralowmod' => 382,
'tonebarhighmod' => 382,
'tonebarlowmod' => 382,
lib/PDF/Builder/Resource/Glyphs.pm view on Meta::CPAN
'810' => 'bridgebelowcmb',
'811' => 'dblarchinvertedbelowcmb',
'812' => 'caronbelowcmb',
'813' => 'circumflexbelowcmb',
'814' => 'brevebelowcmb',
'815' => 'breveinvertedbelowcmb',
'816' => 'tildebelowcmb',
'817' => 'macronbelowcmb',
'818' => 'lowlinecmb',
'819' => 'dbllowlinecmb',
'820' => 'tildeoverlaycmb',
'821' => 'strokeshortoverlaycmb',
'822' => 'strokelongoverlaycmb',
'823' => 'solidusshortoverlaycmb',
'824' => 'soliduslongoverlaycmb',
'825' => 'ringhalfrightbelowcmb',
'826' => 'bridgeinvertedbelowcmb',
'827' => 'squarebelowcmb',
'828' => 'seagullbelowcmb',
'829' => 'xabovecmb',
'830' => 'tildeverticalcmb',
'831' => 'dbloverlinecmb',
'832' => 'gravetonecmb',
'833' => 'acutetonecmb',
'834' => 'perispomenigreekcmb',
lib/PDF/Builder/Resource/Glyphs.pm view on Meta::CPAN
'smonospace' => '65363',
'snowflake' => '61524',
'sofpasuqhebrew' => '1475',
'softcy' => '1100',
'softhyphen' => '173',
'softsigncyrillic' => '1100',
'sohiragana' => '12381',
'sokatakana' => '12477',
'sokatakanahalfwidth' => '65407',
'sol' => '47',
'soliduslongoverlaycmb' => '824',
'solidusshortoverlaycmb' => '823',
'sorusithai' => '3625',
'sosalathai' => '3624',
'sosothai' => '3595',
'sosuathai' => '3626',
'space' => '32',
'spacehackarabic' => '32',
'spade' => '9824',
'spades' => '9824',
'spadesuitblack' => '9824',
'spadesuitwhite' => '9828',
lib/PDF/Builder/Resource/Glyphs.pm view on Meta::CPAN
'ssangsioskorean' => '12614',
'ssangtikeutkorean' => '12600',
'sstarf' => '8902',
'ssuperior' => '63218',
'star' => '9734',
'starf' => '9733',
'starofdavid' => '61529',
'starshadow' => '61622',
'sterling' => '163',
'sterlingmonospace' => '65505',
'strokelongoverlaycmb' => '822',
'strokeshortoverlaycmb' => '821',
'sub' => '8834',
'sube' => '8838',
'subnE' => '8842',
'subset' => '8834',
'subsetnotequal' => '8842',
'subsetorequal' => '8838',
'succeeds' => '8827',
'suchthat' => '8715',
'suhiragana' => '12377',
'sukatakana' => '12473',
lib/PDF/Builder/Resource/Glyphs.pm view on Meta::CPAN
'tikeutaparenkorean' => '12816',
'tikeutcirclekorean' => '12898',
'tikeutkorean' => '12599',
'tikeutparenkorean' => '12802',
'tilde' => '732',
'tildebelowcmb' => '816',
'tildecmb' => '771',
'tildecomb' => '771',
'tildedoublecmb' => '864',
'tildeoperator' => '8764',
'tildeoverlaycmb' => '820',
'tildeverticalcmb' => '830',
'times' => '215',
'timesb' => '8864',
'timescircle' => '8855',
'tipehahebrew' => '1430',
'tipehalefthebrew' => '1430',
'tippigurmukhi' => '2672',
'titlocyrilliccmb' => '1155',
'tiwnarmenian' => '1407',
'tlinebelow' => '7791',
lib/PDF/Builder/Resource/XObject/Image/SVG.pm view on Meta::CPAN
Remember that I<not> setting C<subimage> will cause the entire array to be
returned. You are free to rearrange and/or subset this array, if you wish.
If you want to display (in the PDF) multiple images, you can select one or more
of the array elements to be processed (see the examples). If you want to stack
all of them vertically, perhaps with some space between them, consider using
the C<combine =E<gt> 'stacked'> option, but be aware that the total height of
the single resulting image may be too large for your page! You may need to
output them separately, as many as will fit on a page.
This leaves the possibility of I<overlaying> multiple images to overlap in one
large combined image. You have the various width and height (and bounding box
coordinates), so it I<is> possible to align images to have the same origin.
SVGPDF I<may> get C<combine =E<gt> 'bbox'> at some point in the future, to
automate this, but for the time being you need to do it yourself. Keep an eye
out for different C<svg>s scaled at different sizes; they may need rescaling
to overlay properly.
=cut
# -------------------------------------------------------------------
# produce an array of XObject hashes describing one or more <svg> tags in
# the input, by calling SVGPDF new() and process(). if 'subimage' is given,
# discard all other array elements.
sub new {
my ($class, $pdf, $file, %opts) = @_;
lib/PDF/Builder/Resource/uniglyph.txt view on Meta::CPAN
0x032A ; bridgebelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING BRIDGE BELOW
0x032B ; dblarchinvertedbelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING INVERTED DOUBLE ARCH BELOW
0x032C ; caronbelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING CARON BELOW
0x032D ; circumflexbelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING CIRCUMFLEX ACCENT BELOW
0x032E ; brevebelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING BREVE BELOW
0x032F ; breveinvertedbelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING INVERTED BREVE BELOW
0x0330 ; tildebelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING TILDE BELOW
0x0331 ; macronbelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING MACRON BELOW
0x0332 ; lowlinecmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING LOW LINE
0x0333 ; dbllowlinecmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING DOUBLE LOW LINE
0x0334 ; tildeoverlaycmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING TILDE OVERLAY
0x0335 ; strokeshortoverlaycmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING SHORT STROKE OVERLAY
0x0336 ; strokelongoverlaycmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING LONG STROKE OVERLAY
0x0337 ; solidusshortoverlaycmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING SHORT SOLIDUS OVERLAY
0x0338 ; soliduslongoverlaycmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING LONG SOLIDUS OVERLAY
0x0339 ; ringhalfrightbelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING RIGHT HALF RING BELOW
0x033A ; bridgeinvertedbelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING INVERTED BRIDGE BELOW
0x033B ; squarebelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING SQUARE BELOW
0x033C ; seagullbelowcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING SEAGULL BELOW
0x033D ; xabovecmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING X ABOVE
0x033E ; tildeverticalcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING VERTICAL TILDE
0x033F ; dbloverlinecmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING DOUBLE OVERLINE
0x0340 ; gravetonecmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING GRAVE TONE MARK
0x0341 ; acutetonecmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING ACUTE TONE MARK
0x0342 ; perispomenigreekcmb ; 0 # Adobe Glyph List (Sept/02) # COMBINING GREEK PERISPOMENI