1. force a font?
- Posted by Jerry Story <jstory at ocii.com> Apr 14, 2005
- 459 views
I gotta weird question. Don't know if it even makes sense. It's from a user request. Is there such a thing as forcing a font in the text file? Not talking about html. I know I can do fonts in html. But simple plain text. The problem is that for columns to line up correctly, the font has to be equal spaced. Each character has to have the same width. And the user wants this in txt, not html. Is there any way to tell Windows (or whatever) to display the text file (not html) in a specific font? Does this question make sense?
2. Re: force a font?
- Posted by Greg Haberek <ghaberek at gmail.com> Apr 14, 2005
- 464 views
> I gotta weird question. Don't know if it even makes sense. > It's from a user request. > Is there such a thing as forcing a font in the text file? > Not talking about html. I know I can do fonts in html. But simple plain t= ext. > > The problem is that for columns to line up correctly, the font has to be > equal spaced. Each character has to have the same width. And the user wan= ts > this in txt, not html. > > Is there any way to tell Windows (or whatever) to display the text file > (not html) in a specific font? Does this question make sense? A "plain" plain text file is just that - text. With Notepad, you have to tell him to set the font to something like "Courier New" or "Terminal" to get an monospaced font. With Wordpad, the text is saved in RTF (RichText Format) and the font name is saved in the file. And with Word, well Word's just plain silly like that. ~Greg
3. Re: force a font?
- Posted by "Kat" <gertie at visionsix.com> Apr 14, 2005
- 446 views
On 13 Apr 2005, at 19:10, Jerry Story wrote: > > > posted by: Jerry Story <jstory at ocii.com> > > I gotta weird question. Don't know if it even makes sense. > It's from a user request. > Is there such a thing as forcing a font in the text file? > Not talking about html. I know I can do fonts in html. But simple plain text. > > The problem is that for columns to line up correctly, the font has to be > equal spaced. Each character has to have the same width. And the user wants > this > in txt, not html. > > Is there any way to tell Windows (or whatever) to display the text file > (not html) in a specific font? Does this question make sense? In html, you can specify the font. And you can use the <pre></pre> tags to get fixedsys font. Else, try <table>,<td> tags. Kat
4. Re: force a font?
- Posted by "Igor Kachan" <kinz at peterlink.ru> Apr 14, 2005
- 439 views
Jerry Story wrote: ---------- > From: Jerry Story <guest at RapidEuphoria.com> > To: EUforum at topica.com > Subject: force a font? > Sent: 14 apr 2005 y. 6:10 > > posted by: Jerry Story <jstory at ocii.com> > > I gotta weird question. Don't know if it even makes sense. > It's from a user request. > Is there such a thing as forcing a font in the text file? > Not talking about html. I know I can do fonts in html. But simple plain text. > > The problem is that for columns to line up correctly, the font has to be > equal spaced. Each character has to have the same width. And the user wants > this in txt, not html. > > Is there any way to tell Windows (or whatever) to display the text file > (not html) in a specific font? Does this question make sense? The plain text file may have some invisible characters to control the appearance of a text on screen or on printer. The simplest invisible control characters are '\n' - new line, '\r' - carriage return, '\t' - horizontal tabulation. Some old DOS editors use other invisible characters to control the screen and printer fonts. Say, there is Russian text editor Lexicon for DOS, which can change its own screen fonts and printer fonts on the fly, printing a text. But its text file is not pure plain text, it has these additional invisible control characters, illegal in a plain program text. You can get many libs for screen fonts under DOS32 at http://www.RapidEuphoria.com/fon.htm Say, my polyglot.zip package has about 500 or so fonts with the same width for dozens of different code pages and has the procedures for printing the pure plain text on screen with these fonts in DOS32 graphics modes. Try please, maybe it is just for your user. Regards, Igor Kachan kinz at peterlink.ru
5. Re: force a font?
- Posted by don cole <doncole at pacbell.net> Apr 14, 2005
- 618 views
Jerry Story wrote: > > I gotta weird question. Don't know if it even makes sense. > It's from a user request. > Is there such a thing as forcing a font in the text file? > Not talking about html. I know I can do fonts in html. But simple plain text. > > The problem is that for columns to line up correctly, the font has to be > equal spaced. Each character has to have the same width. And the user wants > this in txt, not html. > > Is there any way to tell Windows (or whatever) to display the text file > (not html) in a specific font? Does this question make sense? >
6. Re: force a font?
- Posted by don cole <doncole at pacbell.net> Apr 14, 2005
- 454 views
Jerry Story wrote: > > I gotta weird question. Don't know if it even makes sense. > It's from a user request. > Is there such a thing as forcing a font in the text file? > Not talking about html. I know I can do fonts in html. But simple plain text. > > The problem is that for columns to line up correctly, the font has to be > equal spaced. Each character has to have the same width. And the user wants > this in txt, not html. > > Is there any way to tell Windows (or whatever) to display the text file > (not html) in a specific font? Does this question make sense? > Sorry about that. Jerry I have a program I wrote and call printer2Col.e. Basically what it does is: read all the columns find the longest line in each column make all the rows in esch column the same width and finds the largest font to fit all columns on the page. it works with screen or printer . It would be easier for me to e-mail it to you than to try to explain it. But I think it's exactly what you want. Let mr know and I will send it to you. Don Cole SF