Re: force a font?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu