Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Font through Perl

Status
Not open for further replies.

mcallaghan

IS-IT--Management
Mar 22, 2005
43
US
I am wondering is there a way through Perl to be able to change the font to be Courier in a text file. Does anyone have a script to do this.
 
I'm sorry to have to tell you that text files do not generally have embedded font information.

The font you see is the font that your editor chooses to display the text. Therefore if you don't like the font in your editor, use the options for that editor to change it.


Trojan.

 
You could change the font format when you are printing to the screen...Using ansy commands.

Like:

sub bold {
# Add ANSI sequence for highlight
return "@_";
}


print &bold( "I am in bold mode\n");

But as TrojanWarBalde says, it depends of the optionfor that editor

dmazzini
GSM System and Telecomm Consultant

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top