Hi Gurus,
I have a small requirement where i want to change the color & font of some text in a file.
i have a file error.txt which will be created in the script using egrep.
After that iam adding these lines at head & tail to that file using the following code
awk 'BEGIN{print"Please... (4 Replies)
Hi there,
I am trying to write a shell script as root on AIX 5.3 where I change user to db2inst1, connect to our db2 database, run a sql select query and export the result of the query to a file.
The code I have so far is as follows:-
#!/usr/bin/ksh
su - db2inst1 -c "db2 connect to... (0 Replies)
how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
Can any help me to change the default font type and its size..
To clear more about my question..
Once i login to my unix domain... the font it displaying is of small size...
all my shell commands i am executing in $ prompt also carries the same style(ls, date and echo...)
i searched whole... (2 Replies)
Hi,
I have one file which needs to be mailed through sendmail.
I am using the following command to send this file to end users.
But before sending how can I change the font of the input file to "Courier New" as the mail content was not in proper format if it is any other font.
printf... (1 Reply)
Hi,
I have the output (as below) which i want it to be in a table.
For e.g.
space utilization in PSE on path /logs is 0%
space utilization in PSE on path /logs/tuxedo/tuxlsp is 16%
space utilization in PSE on path /ldvarlsp/lsp/log is 37%
space utilization in PSE on path /home is 6%... (7 Replies)
hi I want to write a script, while using the SED editor, to output the text, in this case a variable, to the result file but highlighted it in bold, is it possible to do that? can you tell me how?
eg. in text.txt
sed '$ a\
'$variable'
' <text.txt >text2.txt
so it will add the... (2 Replies)
Hi,
i have here found a very good texteditor source code programmed in the MOTIF GUI language.
For myself i need NOTHING else to program.
To start from a very easy point of view i want to RUN this editor on my LINUX machine and type simple C code.
The reason for this post is that the text... (7 Replies)
Discussion started by: Sennenmut
7 Replies
LEARN ABOUT DEBIAN
text::pdf::ttfont0
Text::PDF::TTFont0(3pm) User Contributed Perl Documentation Text::PDF::TTFont0(3pm)NAME
Text::PDF::TTFont0 - Inherits from PDF::Dict and represents a TrueType Type 0 font within a PDF file.
DESCRIPTION
A font consists of two primary parts in a PDF file: the header and the font descriptor. Whilst two fonts may share font descriptors, they
will have their own header dictionaries including encoding and widhth information.
INSTANCE VARIABLES
There are no instance variables beyond the variables which directly correspond to entries in the appropriate PDF dictionaries.
METHODS
Text::PDF::TTFont->new($parent, $fontfname. $pdfname)
Creates a new font resource for the given fontfile. This includes the font descriptor and the font stream. The $pdfname is the name by
which this font resource will be known throughout a particular PDF file.
All font resources are full PDF objects.
out_text($text)
Returns the string to be put into a content stream for text to be output in this font. The text is assumed to be UTF8 encoded and the
return string is a glyph sequence for the text. If subsetting is enabled, then all the glyphs returned are also marked for output.
out_glyphs(@n)
Marks the glyphs as being needed in the output font when subsetting. Returns a string to render the glyphs as specified.
width($text)
Returns the width of the string, assuming it to be UTF8 encoded.
outobjdeep($fh, $pdf, %opts)
Handles the creation of the font stream including subsetting at this point. So if you get this far, that's it for subsetting.
ship_out($pdf)
Ship this font out to the given $pdf file context
empty
Empty the font of as much as possible in order to save memory
perl v5.8.8 2006-09-09 Text::PDF::TTFont0(3pm)