11-14-2006
Hw to change the font of output in perl
Hw to change the font color and size of output in perl
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Could you pls tell me how to change the font colour in unix ?
What is the syntax ? (3 Replies)
Discussion started by: sars
3 Replies
2. Shell Programming and Scripting
Does anyone know how can I change font color, background color etc for a particular user using .profile? Any help is appreciated. (0 Replies)
Discussion started by: fifo_vs_lifo23
0 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: pssandeep
4 Replies
4. Shell Programming and Scripting
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)
Discussion started by: mail2sant
3 Replies
5. Shell Programming and Scripting
Hi,
I would like to change the font size in bash. I know how do it in ksh:
F_VDOBLE="\033#6"
print "${F_VDOBLE}Esto es..."
But in bash I don't know
Could you help me please?
Many thanks! (5 Replies)
Discussion started by: mierdatuti
5 Replies
6. Shell Programming and Scripting
I am writing sql reports to an oracle database, spooling them to a file and emailing them with mailx. I use the syntax below. The reports do not format properly, unless I use the Courier New font. How do I set this with mailx?
mailx -s "MY REPORT, `date +'%D %r` " -r "REPORTING SYSTEM"... (2 Replies)
Discussion started by: guessingo
2 Replies
7. Shell Programming and Scripting
hi,
I want to change the font of text in output file. :(
I tried the below code
code:
if awk 'BEGIN{if('$RSS'>='1000')exit 0;exit 1}'
then
RED=`echo "\033
i can see colors in terminal but not in output file :wall:
please help me how i can get colors text in output file.
edit... (1 Reply)
Discussion started by: sreelu
1 Replies
8. Programming
Does anyone know how to change the font size into a larger one, in a basic Motif application? (1 Reply)
Discussion started by: JenniferKuiper
1 Replies
9. UNIX for Dummies Questions & Answers
how do i change from employee= to employee= in ksh.
in my shell script, i just want to employee= to BOLD. (3 Replies)
Discussion started by: lawsongeek
3 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I have a file that contains following entries.
I want to highlight the line that has word as "FAILURE" while sending the email.
File
------------------------------------------------------------
Job Name: ABC
Start Time: 07/20/2019 07:32:39
End Time: 07/20/2019... (4 Replies)
Discussion started by: sdosanjh
4 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)