Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cam::pdf::gs(3pm) [debian man page]

CAM::PDF::GS(3pm)					User Contributed Perl Documentation					 CAM::PDF::GS(3pm)

NAME
CAM::PDF::GS - PDF graphic state LICENSE
See CAM::PDF. SYNOPSIS
use CAM::PDF; my $pdf = CAM::PDF->new($filename); my $contentTree = $pdf->getPageContentTree(4); my $gs = $contentTree->computeGS(); DESCRIPTION
This class is used to represent the graphic state at a point in the rendering flow of a PDF page. Much of the functionality is actually based in the parent class, CAM::PDF::GS::NoText. Subclasses that want to do something useful with text should override the renderText() method. CONVERSION FUNCTIONS
$self->getCoords($node) Computes device coordinates for the specified node. This implementation handles text-printing nodes, and hands all other types to the superclass. $self->textToUser($x, $y) Convert text coordinates ("Tm") to user coordinates. Returns the converted X and Y. $self->textToDevice($x, $y) Convert text coordinates ("Tm") to device coordinates. Returns the converted X and Y. $self->textLineToUser($x, $y) Convert text coordinates ("Tlm") to user coordinates. Returns the converted X and Y. $self->textLineToDevice($x, $y) Convert text coordinates ("Tlm") to device coordinates. Returns the converted X and Y. $self->renderText($string, $width) A general method for rendering strings, from "Tj" or "TJ". This is a no-op, but subclasses may override. $self->Tadvance($width) Move the text cursor. DATA FUNCTIONS
$self->BT() $self->Tf($fontname, $fontsize) $self->Tstar() $self->Tz($scale) $self->Td($x, $y) $self->TD($x, $y) $self->Tj($string) $self->TJ($arrayref) $self->quote($string) $self->doublequote($tw, $tc, $string) $self->Tm($m1, $m2, $m3, $m4, $m5, $m6) AUTHOR
See CAM::PDF perl v5.14.2 2012-07-08 CAM::PDF::GS(3pm)

Check Out this Related Man Page

PDF::API2::Resource::Font::SynFont(3pm) 		User Contributed Perl Documentation		   PDF::API2::Resource::Font::SynFont(3pm)

NAME
PDF::API2::Resource::Font::SynFont - Module for using synthetic Fonts. SYNOPSIS
# use PDF::API2; # $pdf = PDF::API2->new; $sft = $pdf->synfont($cft); # METHODS
$font = PDF::API2::Resource::Font::SynFont->new $pdf, $fontobj, %options Returns a synfont object. Valid %options are: -encode ... changes the encoding of the font from its default. See perl's Encode for the supported values. -pdfname ... changes the reference-name of the font from its default. The reference-name is normally generated automatically and can be retrived via $pdfname=$font->name. -slant ... slant/expansion factor (0.1-0.9 = slant, 1.1+ = expansion). -oblique ... italic angle (+/-) -bold ... embolding factor (0.1+, bold=1, heavy=2, ...). -space ... additional charspacing in em (0-1000). -caps ... create synthetic small-caps. $font = PDF::API2::Resource::Font::SynFont->new_api $api, $fontobj, %options Returns a synfont object. This method is different from 'new' that it needs an PDF::API2-object rather than a PDF::API2::PDF::File-object. AUTHOR
alfred reibenschuh perl v5.14.2 2011-03-10 PDF::API2::Resource::Font::SynFont(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

pdf to text

Hi, Can anyone help me in converting a PDF file into a text file? Thanks, sskb (2 Replies)
Discussion started by: sskb
2 Replies

2. Shell Programming and Scripting

find eof, then process

Newbie question. I want to create a shell script that will only move/copy a file if it's determined that the eof string exists. This is to control files being uploaded via FTP. I don't want to move incomplete files, so my only thought is to check for eof, or compare file size every 15-30 seconds on... (12 Replies)
Discussion started by: mfilby
12 Replies

3. UNIX for Advanced & Expert Users

converting PDF to text, rtf doc format

Hi all Is there any program which can convert PDF to word processor file ? If the PDF has smart quotes, bullet icons, copyright and trademark symbols, etc. what happens to them intext format? So ideally would like to conver into rtf or doc. Thanks SS (1 Reply)
Discussion started by: saurya_s
1 Replies

4. UNIX for Dummies Questions & Answers

Report to PDF

Hi their, I am trying to find out if there is a way that when a report is generated it can be converted to a PDF or generated as a PFD. :D (5 Replies)
Discussion started by: Croney69
5 Replies

5. UNIX for Dummies Questions & Answers

Deleting whole lines from a file

I have a file with 65 sets of 35 coordinates, and would like to isolate these coordinates so that I can easily copy the coordinates to another file. The problem is, I've got a 9 line header before each set of coordinates (so each set is 44 lines long). There are a zillion threads out there about... (3 Replies)
Discussion started by: red baron
3 Replies

6. Solaris

realtime monitoring to Sunstorage 3310

Hi all, I have Sun storage 3310 and i have installed CAM to make real time monitor, but unfortunately CAM not supported to 3000 model. is there is any application like CAM and support to 3310 model i can use.. please ur advice?? Thx Regards, Ahmad (2 Replies)
Discussion started by: ahmad_wa
2 Replies

7. AIX

Print text between two delimiters

Hi, Can somebody help me with the below situation, Input File, ======== 2007_08_07_IA-0100-014_(MONTHLY).PDF 2007_08_07_IA-0100-031_(QUARTERLY)(RERUN).PDF 2008-02-28_KR-1022-003_(MONTH)(RERUN)(REC1).CSV Required output, ============ MONTHLY QUARTERLY MONTH ... (15 Replies)
Discussion started by: sravicha
15 Replies

8. Shell Programming and Scripting

Printing to PDF - Advanced usage

Hello, Just a rather long query regarding printing to PDF. I have installed the Cups-PDF printing system which enables me to send a normal text file and create a PDF of it. I then use the pdftk to merge that file with a template. My question is, that I have a database system that will need... (2 Replies)
Discussion started by: stuaz
2 Replies

9. HP-UX

Convert text file into pdf on HP-UX platform

I am looking for a tool to convert text file into pdf on HP-UX platform. Current version of OS - $ uname -a HP-UX XXXXXXX B.11.23 U ia64 4125393404 unlimited-user license I'm able to get "ClibPDF-2.02"; A library for creating PDF files on HP-UX 11.00, PA-RISC 1.1 Not sure if... (2 Replies)
Discussion started by: mail4usr
2 Replies

10. Shell Programming and Scripting

Pulling data by GPS coordinates from text file

Hi there, I'm having a problem trying to extract data from within a text file. I'm trying to extract this manually for a lack of better words. I need any items that fall within latitude 36.5 to 39.5 and long -75.3 to -83.9 I have been doing this using cat neta.txt | grep '!38' and working... (6 Replies)
Discussion started by: Mikey
6 Replies

11. UNIX for Dummies Questions & Answers

how to print a PDF file in UNIX

on a PROGRESS environment, i create an invoice which at printing it must generate both the .dat for the invoice that was sent to the printer and the .dat for the PDF version. we have never printed PDF files in our lp printer until recently. i've done a bit of googling and it comes down to that i... (2 Replies)
Discussion started by: pdf2ps
2 Replies

12. Shell Programming and Scripting

copying text from between a pattern and *

Hej all, I have a LS-DYNA keyword file which I want to extract the node coordinates from it to another file for processing and then returning the result coordinates to the same place, the structure of the file is like: Keyword file: 5010497 -266.6623535 -446.2596130 ... (3 Replies)
Discussion started by: Johanni
3 Replies

13. Red Hat

How to convert TXT to PDF in RHEL 6?

Hello friends, I need to convert ASCII text to PDF on RHEL 6 so I did the below and could generate PDF but it has lot of junk/special characters. yum install enscript ghostscript enscript -p output.ps input.txt ps2pdf output.ps output.pdf So I download latest source of Ghostscript... (4 Replies)
Discussion started by: magnus29
4 Replies

14. Shell Programming and Scripting

Problem in refreshing a text editor (gedit) for scanned pdf

Dear Friends, I am using Ubuntu 15.10, 34 bit system. I added a Nautilus-Actions script in shell script to convert PDF files to text. There are 2 types of PDF 1. Scanned PDF -- Not OCR type -- When I convert it to text it work , but as the part it must (text file) open in gedit . But I can see... (2 Replies)
Discussion started by: anespa
2 Replies

15. Shell Programming and Scripting

Perl to adjust coordinates based on repeat string

In the file below I am trying to count the given repeats of A,T,C,G in each string of letters. Each sequence is below the > and it is possible for a string of repeats to wrap from the line above. For example, in the first line the last letter is a T and the next lines has 3 more. I think the below... (10 Replies)
Discussion started by: cmccabe
10 Replies