1. A much much dumber qeustion :)

Hi all, once again I jump out of my lurking to ask a hopefully simple
question :)
I'm using the Neil graphics library, so(unless I'm doing something wrong :)
can't use font.e
to display words in graphic mode... I'm guessing fontfont.e is meant to get
around that...but sadly there's no documentation, it appears this was
written for clever people who know what they are doing....which is a problem
as I'm a distinctly unclever person who has no idea what he is doing pleased

  Can anyone explain how I'd go about doing the classic
"hello world" bit if I'm using Neil.e
....or can this even be done? :{

Sorry for the trouble, to anyone nice enough to answer! ^^

new topic     » topic index » view message » categorize

2. Re: A much much dumber qeustion :)

>   Hi all, once again I jump out of my lurking to ask a hopefully simple
> question :)
> I'm using the Neil graphics library, so(unless I'm doing something wrong :)
> can't use font.e
> to display words in graphic mode... I'm guessing fontfont.e is meant to get
> around that...but sadly there's no documentation, it appears this was
> written for clever people who know what they are doing....which is a problem
> as I'm a distinctly unclever person who has no idea what he is doing pleased
>
>   Can anyone explain how I'd go about doing the classic
> "hello world" bit if I'm using Neil.e
> ....or can this even be done? :{


I've used a hacked version of font.e where all constants are local and all
non-used routines removed to avoid conflicts.
Font.e simply uses the pixel () and getpixel () routine, so afterwards it does
work.

But it doesn't matter much, because the latest version of Neil already includes
its own font routines (using the same
file-format, etc. as Jiri's routines) ... Just visit Pete's site and grab the
latest of his download page.

Ralf

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

3. Re: A much much dumber qeustion :)

-----Original Message-----
From: Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL>
To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU>
Date: Monday, March 29, 1999 5:16 AM
Subject: Re: A much much dumber qeustion :)


>>   Hi all, once again I jump out of my lurking to ask a hopefully simple
>> question :)
>> I'm using the Neil graphics library, so(unless I'm doing something wrong
:)
>> can't use font.e
>> to display words in graphic mode... I'm guessing fontfont.e is meant to
get
>> around that...but sadly there's no documentation, it appears this was
>> written for clever people who know what they are doing....which is a
problem
>> as I'm a distinctly unclever person who has no idea what he is doing pleased
>>
>>   Can anyone explain how I'd go about doing the classic
>> "hello world" bit if I'm using Neil.e
>> ....or can this even be done? :{
>
>
>
>But it doesn't matter much, because the latest version of Neil already
includes its own font routines (using the same
>file-format, etc. as Jiri's routines) ... Just visit Pete's site and grab
the latest of his download page.


Thanks for the help...but I'm still lost :{

That's the december 22 neil.e update right? I'm afraid I can't find anything
I can recognize as font related in the docs, or in the .e itself :{ I have
to admit, my egos really taking a beating here :)

I did see fontfont.e there again, but I'm still too muddled to make heads or
tails of it. I'd assume either build_text_image or draw_text is for writing
with a loaded font right? If so I'm completely sunk, as I haven't any clue
as to what the variables in them are :{ I think what I really need is just
to see them in use somewhere....have any programs using Neil.e(besides the
gamedemo.ex included in the Neil zip) or fontfont.e ever been publicly
released? If so any idea where I could find them? Or if anyone has such a
program sitting around and never released it for some reason, but doesn't
mind a rather ignorant person puttering around with it (^^) in an attempt to
become less ignorant, could you send it to valis at sprynet.com

Again, any help is much appreciated pleased

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

4. Re: A much much dumber qeustion :)

> That's the december 22 neil.e update right? I'm afraid I can't find
> anything I can recognize as font related in the docs, or in the .e
> itself :{ I have to admit, my egos really taking a beating here :)

There are a couple versions of neil floating about... the latest
feature-rich version is still sitting on my hard drive, a slightly older
version got posted with the raytracing stuff, and the wormhole effect.
The Dec 22 version is probably older still.  I'll try to update it
sometime shortly after this writing.  The latest version redefines puts
and printf, so displaying text should be pretty much a no-brainer.

As for documentation, yes, it does suck.  Its not your fault if it doesn't
make sense.  As a programmer, I would rather spend my time writing code
than writing documentation (although documentation is a very important
part of the code development process.)  I'm using Einar Mogen's COMM2DOC
program which generates a file from comments inside the program, and
makes it fairly easy to show the library interface.

Later,
 _______  ______  _______  ______
[    _  \[    _ ][ _   _ ][    _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
  |  ___/  |  _]    | |     |  _]
[\| [/]  [\| [_/] [\| |/] [\| [_/]
[_____]  [______] [_____] [______]
xseal at harborside.com  ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu