9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
For a given string that may contain any ASCII chars, i.e. that matches .*,
find and print only the chars that are in a given subset.
The string could also have numbers, uppercase, special chars such as ~!@#$%^&*(){}\", whatever a user could type in
without going esoteric
For simplicity take... (1 Reply)
Discussion started by: naderra
1 Replies
2. Shell Programming and Scripting
How to print the names with a highest value within a set and filter if it is the only unique group within the same set
input
sets names value groups
j007 shot1 0.6 a
j007 shot2 0.5 b
j007 shot3 0.4 bb
j007 shot4 0.3 bc
j007 shot5 0.2 ... (8 Replies)
Discussion started by: quincyjones
8 Replies
3. UNIX for Advanced & Expert Users
i have 2 installation on VirtualBox : centos & debian
the fonts look nice on debian.
i have provided 2 screenshots in the attachments.
please advise me how to achieve same in centos.
thanks. (4 Replies)
Discussion started by: coolatt
4 Replies
4. UNIX for Advanced & Expert Users
I want to differentiate the STDOUT and STDERR messages in my terminal .
If a script or command is printing a message in terminal I want to differentiate by colors,
Is it possible ?
Example:
$date
Wed Jul 27 12:36:50 IST 2011
$datee
bash: datee: command not found
$alias ls
alias... (2 Replies)
Discussion started by: ungalnanban
2 Replies
5. Shell Programming and Scripting
I need to print some mandatory instructions if something fails in the script. I am using set -e to check and exit the script if some scripts/commands return non zero exit code. Is there any way to print these instructions with set command?? (0 Replies)
Discussion started by: Shribigb
0 Replies
6. UNIX for Dummies Questions & Answers
can any one tell me how to set the font size in unix? (14 Replies)
Discussion started by: sachin.gangadha
14 Replies
7. AIX
I need to be able to change the font, pitch, and orientation when printing a text flat file. Any suggestions appreciated. (2 Replies)
Discussion started by: mad_dog
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
I want to know about the characters that are available in the Symbol.pfa font file. I am using freetype library to render the fonts in Windows. What encoding should I provide to get all the symbols in the Symbol font file?
It would be very helpful if i get all the characters in this... (0 Replies)
Discussion started by: pushpagiri
0 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Now I am printing my ps file as follows:
lp -d n40prt0234 $i
where $i is the file name passed in a loop.
I need to change the file's print fonts to "Verdana and the Size = 10"
how to change? (2 Replies)
Discussion started by: redlotus72
2 Replies
Graphics::Primitive::Font(3pm) User Contributed Perl Documentation Graphics::Primitive::Font(3pm)
NAME
Graphics::Primitive::Font - Text styling
DESCRIPTION
Graphics::Primitive::Font represents the various options that are available when rendering text. The options here may or may not have an
effect on your rendering. They represent a cross-section of the features provided by various drivers. Setting them should not break
anything, but may not have an effect if the driver doesn't understand the option.
SYNOPSIS
use Graphics::Primitive::Font;
my $font = Graphics::Primitive::Font->new({
family => 'Arial',
size => 12,
slant => 'normal'
});
METHODS
Constructor
Attributes
antialias_modes
Set the antialiasing mode for this font. Possible values are default, none, gray and subpixel.
family
Set this font's family.
hint_metrics
Controls whether to hint font metrics. Hinting means quantizing them so that they are integer values in device space. This improves the
consistency of letter and line spacing, however it also means that text will be laid out differently at different zoom factors. May not be
supported by all drivers.
hint_style
Set the the type of hinting to do on font outlines. Hinting is the process of fitting outlines to the pixel grid in order to improve the
appearance of the result. Since hinting outlines involves distorting them, it also reduces the faithfulness to the original outline shapes.
Not all of the outline hinting styles are supported by all drivers. Options are default, none, slight, medium and full.
size
Set/Get the size of this font.
slant
Set/Get the slant of this font. Valid values are normal, italic and oblique.
subpixel_order
Set the order of color elements within each pixel on the display device when rendering with subpixel antialiasing. Value values are
default, rgb, bgr, vrgb and vbgr.
variant
Set/Get the variant of this font. Valid values are normal or small-caps.
weight
Set/Get the weight of this font. Value valies are normal and bold.
METHODS
new
Creates a new Graphics::Primitive::Font.
derive
Clone this font but change one or more of it's attributes by passing in a hashref of options:
my $new = $font->derive({ attr => $newvalue });
The returned font will be identical to the cloned one, save the attributes specified.
AUTHOR
Cory Watson, "<gphat@cpan.org>"
COPYRIGHT & LICENSE
Copyright 2008-2010 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2010-08-21 Graphics::Primitive::Font(3pm)