473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

specify font for writing even tab delimited text file?

Yes, I need to specify a font type so that the characters
will be evenly spaced when I write to a tab delimited text
file. So how does one specify a font type to write/print
and which font is best for evenness?
Nov 21 '05 #1
2 4461
The only time you would need to specify a font is if you are writing to
something other than a text file. RTF, for example.

Text is text and has no formatting at all. The formatting for a text file
is done through the text editor it is opened in. I cannot think of any
that would open a text file in a non-monospace font.

But to answer your question in case you are writing to an HTML email or
Word or RTF, the standard on Windows is Courier New. It is a monospace
font. If you are using HTML, use the <pre></pre> tags to indicate
preformatted text (which will have no formatting).

Best of luck!

"Tony" <an*******@discussions.microsoft.com> wrote in news:076701c4b238
$f****************@phx.gbl:
Yes, I need to specify a font type so that the characters
will be evenly spaced when I write to a tab delimited text
file. So how does one specify a font type to write/print
and which font is best for evenness?


Nov 21 '05 #2
Yes. I am writing to an email client. I will try the
html tags (I thought about that after I left the office).
But courier New, that was the font I was looking for. I
tried Arial and Microsoft Sans Serif. Hopefully the
Courier will do the trick for eveness.

Thanks

-----Original Message-----
The only time you would need to specify a font is if you are writing tosomething other than a text file. RTF, for example.

Text is text and has no formatting at all. The formatting for a text fileis done through the text editor it is opened in. I cannot think of anythat would open a text file in a non-monospace font.

But to answer your question in case you are writing to an HTML email orWord or RTF, the standard on Windows is Courier New. It is a monospacefont. If you are using HTML, use the <pre></pre> tags to indicatepreformatted text (which will have no formatting).

Best of luck!

"Tony" <an*******@discussions.microsoft.com> wrote in news:076701c4b238$f****************@phx.gbl:
Yes, I need to specify a font type so that the characters will be evenly spaced when I write to a tab delimited text file. So how does one specify a font type to write/print and which font is best for evenness?


.

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Fabian Neumann | last post by:
Hi! I got a problem with font-family inheritance. Let's say I have CSS definitions like: p { font:normal 10pt Verdana; } strong { font:normal 14pt inherit;
9
by: Dr John Stockton | last post by:
Assuming default set-ups and considering all reasonable browsers, whatever that may mean, what should an author expect that his readers in general will see (with visual browsers) for a page with...
2
by: sp | last post by:
Hello everybody, I have an xml doc and I am trying to write the values from xml file to a tab delimited text file. Currently, what I am doing is I am reading xml file through XpathNavigaotr and...
3
by: Ben | last post by:
Hi all - I am having a bit of trouble and thought maybe someone in this group could shed some light. Here's the skinny... I am creating an automated process to import a bunch of text files...
1
by: The Bear | last post by:
I have populated a dataset with a tab delimited text file. When the changes are made in the dataset, I then want to write those changes from the dataset to a tab delimited text file. How do I write...
9
by: Adam | last post by:
Can someone please help!! I am trying to figure out what a font is? Assume I am working with a fixed font say Courier 10 point font Question 1: What does this mean 10 point font Question 2:...
6
by: BobAchgill | last post by:
Has anyone had success with writing text using a private font that was not already installed to the system? When I try the example code in NET Framework Developer's Guide called “Creating a...
1
jwwicks
by: jwwicks | last post by:
Hello All, This is a student assignment. So I don't want the complete answer just a hint or maybe a bumb on the head cause I'm doing it the wrong way. Assume I haven't done anything braindead like...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.