PYFIGLET(1) User Commands PYFIGLET(1)NAME
pyfiglet - display text in large ASCII art fonts.
SYNOPSIS
pyfiglet.py [options] text...
DESCRIPTION
pyFIGlet is a program that creates large characters out of ordinary screen characters. It takes ASCII text (text) and renders it in ASCII
art fonts.
This version of pyfiglet supports FIGlet fonts .flf and the FIGlet-compatible toilet-fonts .tlf.
OPTIONS --version
show program's version number and exit
-h, --help
show this help message and exit
-f FONT, --font=FONT
font to render with (default: future)
-D DIRECTION, --direction=DIRECTION
set direction text will be formatted in (default: auto)
-j SIDE, --justify=SIDE
set justification, defaults to print direction
-w COLS, --width=COLS
set terminal width for wrapping/justification (default: 80)
-r, --reverse
shows mirror image of output text
-F, --flip
flips rendered output text over
SEE ALSO toilet(1), figlet(1)pyfiglet 0.6 June 2011 PYFIGLET(1)
Check Out this Related Man Page
glutStrokeCharacter(3GLUT) GLUT glutStrokeCharacter(3GLUT)NAME
glutStrokeCharacter - renders a stroke character using OpenGL.
SYNTAX
void glutStrokeCharacter(void *font, int character);
ARGUMENTS
font Stroke font to use.
character Character to render (not confined to 8 bits).
DESCRIPTION
Without using any display lists, glutStrokeCharacter renders the character in the named stroke font. The available fonts are:
GLUT_STROKE_ROMAN
A proportionally spaced Roman Simplex font for ASCII characters 32 through 127. The maximum top character in the font is 119.05
units; the bottom descends 33.33 units.
GLUT_STROKE_MONO_ROMAN
A mono-spaced spaced Roman Simplex font (same characters as GLUT_STROKE_ROMAN) for ASCII characters 32 through 127. The maximum top
character in the font is 119.05 units; the bottom descends 33.33 units. Each character is 104.76 units wide.
Rendering a nonexistent character has no effect. A glTranslatef is used to translate the current model view matrix to advance the width of
the character.
EXAMPLE
Here is a routine that shows how to render a string of ASCII text with glutStrokeCharacter:
void
output(GLfloat x, GLfloat y, char *text)
{
char *p;
glPushMatrix();
glTranslatef(x, y, 0);
for (p = text; *p; p++)
glutStrokeCharacter(GLUT_STROKE_ROMAN, *p);
glPopMatrix();
}
If you want to draw stroke font text using wide, antialiased lines, use:
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_LINE_SMOOTH);
glLineWidth(2.0);
output(200, 225, "This is antialiased.");
SEE ALSO
glutBitmapCharacter, glutStrokeWidth
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT 3.7 glutStrokeCharacter(3GLUT)
I wish to clean a text file of the following characters
1/2, 1/4, o (degrees)
I cant display these characters. I have tried ALT+189 etc (my terminal emulator is set to ASCII). How do I display the above ? I am using HP UX 10. (5 Replies)
so i have been trying to learn how to manipulate text on my own and have gotten stumped...
let's say i have a text file that says (highly simplified):
people ordinary
How would swap the order of the words..
I know i need to use sed and some kind of back reference but cannot make it... (2 Replies)
How can i have a while loop as follows
while read inputline
do
<task>
done < name_list
and also store the values (delimited) on each line to temp variables so as to print them on screen as follows
while read inputline
do
set name | cut -d "," -f1 name_list # #i know this is not... (1 Reply)
Hi All!!
I have a large file containing millions of record. My purpose is to extract 7 characters immediately after text '19' from this file (including text '19') and save the result in new file.
So, my OUTPUT would be as under :
191234561
194567894
192789005
198839408
and so on.....
... (7 Replies)
Hello all, newbie here. I've searched the forum and found many "how to split a text file" topics but none that are what I'm looking for.
I have a large text file (~15 MB) in size. It contains a variable number of "paragraphs" (for lack of a better word) that are each of variable length. A... (3 Replies)
I have a file where the text might exceed 80 characters. I want to have the maximum text lengths to be 80, and cut text from a space.
I written an awk script below but does not seem to work very well
{
gsub("\t"," ")
$0 = line $0
while (length <= WIDTH) {
line = $0
... (3 Replies)
Hi all,
I have a large text file and also a smaller list of program names. I want to find out how many of those programs exist in the large text file. Can someone help me with the command/script please. The program list is along the lines of
tranwe2
tranwe3
tranye5
etc
so basically I... (5 Replies)
Hi,
I have a program set to read in a text file, change certain characters and then print the altered version to the screen but does anyone know how to save the new version as another text file? And, if possible, how to specify the file name, and perhaps location?
Thanks! (2 Replies)
Hi,
I have a large text file with the following format:
>gi|347545744|gb|JN204951.1| Dismorphia spio voucher 5
ATCAAATTCCTTCCTCTCCTTAAA
>gi|17544664774|gb|WN204922.32| Rodapara nigens gene region
CCGGGCAAATTCCTTCCTCTCCTTAAA
>gi|555466400|gb|SG255122.8| Bombyx mandariana genbank 3... (1 Reply)
Hi,
I have many text files which contain some non-ASCII characters. I attach the screenshots of one of the files for people to have a look at. The issue is even after issuing the non-ASCII removal commands one of the characters does not go away. The character that goes away is the black one with a... (2 Replies)