1. Text on a Bitmap

Hello,
        I'm TRYING to make a program with EUPHORIA and I'm fairly new to the
language.  I have programmed before but I have a question.
        I have a bitmap image showing up on the screen and I wanted to show
text on it.  I use a 256 color mode to show the image.  The characters a-z
work fine but the numerical chracters don't show up, I get weird characters
instead.  How can I get around this?

Thanks in advance,
Vic.
 _________________________________________________________________
|  http://www.geocities.com/SiliconValley/Heights/8858/home.htm   |
| It's so difficult to work in groups when you are omnipotent. -Q |
 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF

new topic     » topic index » view message » categorize

2. Re: Text on a Bitmap

At 05:37 PM 12/7/96 -0500, you wrote:
>---------------------- Information from the mail header -----------------------
>Sender:       Euphoria Programming for MS-DOS <EUPHORIA at
>MIAMIU.ACS.MUOHIO.EDU>
>Poster:       Vic <cybrgod at IBM.NET>
>Subject:      Text on a Bitmap
>-------------------------------------------------------------------------------
>
>Hello,
>        I'm TRYING to make a program with EUPHORIA and I'm fairly new to the
>language.  I have programmed before but I have a question.
>        I have a bitmap image showing up on the screen and I wanted to show
>text on it.  I use a 256 color mode to show the image.  The characters a-z
>work fine but the numerical chracters don't show up, I get weird characters
>instead.  How can I get around this?

Hi.

I've worked extensively with Euphoria programming that involved bitmaps and
text together on the same screen, and never had a problem where only the
letters showed up.

My question is if you are correctly displaying numeric data as ASCII characters
like 1 2 3 and so forth, or are they coming out as ASCII numeric
representations, such as 32 coming out as a blank space. Are you displaying
numeric data using %d in the printf() command for example?

Please reply back as soon as possible

Thanks

David Gay
"A Beginner's Guide To Euphoria"
http://www.interlog.com/~moggie/euphoria.htm

new topic     » goto parent     » topic index » view message » categorize

3. Re: Text on a Bitmap

At 03:42 AnteMer 12/08/96 -0500, you wrote:
>---------------------- Information from the mail header -----------------------
>Sender:       Euphoria Programming for MS-DOS <EUPHORIA at
>MIAMIU.ACS.MUOHIO.EDU>
>Poster:       David Gay <moggie at INTERLOG.COM>
>Subject:      Re: Text on a Bitmap
>-------------------------------------------------------------------------------
>
>Hi.
>
>I've worked extensively with Euphoria programming that involved bitmaps and
>text together on the same screen, and never had a problem where only the
>letters showed up.
>
>My question is if you are correctly displaying numeric data as ASCII characters
>like 1 2 3 and so forth, or are they coming out as ASCII numeric
>representations, such as 32 coming out as a blank space. Are you displaying
>numeric data using %d in the printf() command for example?
>
>Please reply back as soon as possible
>
>Thanks
>
>David Gay
>"A Beginner's Guide To Euphoria"
>http://www.interlog.com/~moggie/euphoria.htm
>
>
Hello,
I see what the problem was, I was using the puts() command instead.
It appears fine now using %d in printf().  The puts() gave me the other
characters.
David, Thans for the help!,
Vic.
 _________________________________________________________________
|  http://www.geocities.com/SiliconValley/Heights/8858/home.htm   |
| It's so difficult to work in groups when you are omnipotent. -Q |

new topic     » goto parent     » topic index » view message » categorize

4. Re: Text on a Bitmap

>Hello,
>I see what the problem was, I was using the puts() command instead.
>It appears fine now using %d in printf().  The puts() gave me the other
>characters.
>David, Thans for the help!,

Aha! I figured that was the problem :)

Glad to be of some help. I'll bill you later! ;)

David Gay
"A Beginner's Guide To Euphoria"
http://www.interlog.com/~moggie/euphoria.htm

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu