1. Win32Lib 54.5 html doc: changed font styles part way through?

Has anyone else noticed that the font style in the html doc for Win32Lib
54.5 changes part way through?  I mention it because while some of it gets
bigger, some other gets somewhat smaller and dimmer, which can make it hard
for older eyes to read.  Derek suggested it might be a browser font setting,
but I'd think that would affect *all* text, not just some.

It seems to start at "findChildren" ; "findText " is the first one I find
which is in both 54.5 & 50 and displays one way in v50, and another in
v54.5.

I looked briefly at the html source, but couldn't find anything that looked
like the cause of what I'm seeing.

Dan Moyer

new topic     » topic index » view message » categorize

2. Re: Win32Lib 54.5 html doc: changed font styles part way through?

On Tue, 28 Nov 2000, Dan B Moyer wrote:

> Has anyone else noticed that the font style in the html doc for Win32Lib
> 54.5 changes part way through?  I mention it because while some of it gets
> bigger, some other gets somewhat smaller and dimmer, which can make it hard
> for older eyes to read.  Derek suggested it might be a browser font setting,
> but I'd think that would affect *all* text, not just some.
>
> It seems to start at "findChildren" ; "findText " is the first one I find
> which is in both 54.5 & 50 and displays one way in v50, and another in
> v54.5.
>
> I looked briefly at the html source, but couldn't find anything that looked
> like the cause of what I'm seeing.
>
> Dan Moyer


The problem is that the preformatted example for 'findChildren' is not
getting closed with a </pre>.

-- Brian

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

3. Re: Win32Lib 54.5 html doc: changed font styles part way through?

The fix to win32lib_full.ew for this problem is as follows:

line 9722 should be:
--/endcode

so it looks like:

--Example
--/code
--    sequence children
--    -- Get a list of all the controls owned by this window
--    children = findChildren(myWin)
--
--    -- Set the caption for each of the PushButtons.
--    for i = 1 to length(children) do
--       if find(children[i][2],{PushButton,DefPushButton}) then
--          setText(children[i][1], sprintf("Button%d", i))
--       end if
--    end for
--/endcode
global function findChildren(integer id)
  ...

-- Brian

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

4. Re: Win32Lib 54.5 html doc: changed font styles part way through?

Hi Dan,

On Tue, 28 Nov 2000 05:18:50 -0800, Dan B Moyer <DANMOYER at PRODIGY.NET>
wrote:

>Has anyone else noticed that the font style in the html doc for Win32Lib
>54.5 changes part way through?  I mention it because while some of it gets
>bigger, some other gets somewhat smaller and dimmer, which can make it hard
>for older eyes to read.  Derek suggested it might be a browser font
setting,
>but I'd think that would affect *all* text, not just some.

As I understood your earlier post, I thought you were saying that the
entire documentation was now different, not just a part of it. There are no
specific font definitions in the HTML file, it only uses <h1> .. <h4> plus
<pre>, <strong> and <em>. I still recommend that you look into your broswer
settings to see if you can improve the visibility of the fonts.

>It seems to start at "findChildren" ; "findText " is the first one I find
>which is in both 54.5 & 50 and displays one way in v50, and another in
>v54.5.

I thought I explained the reason for this already.
Anyhow, in the file called "win32lib_full.ew" do the following change...

Find the line
   --/func findChildren(integer id)
about 8 lines down from that should be the line
   --/code
this is the beginning of some example code. The end of any example code
should be marked with
   --/endcode
but this one isn't. I forgot to do it. So in between the lines
   --      end for
and
   global function findChildren(integer id)
insert the line
   --/endcode

The save the file and close the editor.
Next you must run the MakeDoc program. In a DOS shell,
change to the directory that the just edited win32lib_full.ew resides in
and from the DOS command line run this ...

   exw makedoc win32lib_full.ew

this will cause a pop-up window to be displayed with a "progress" report.
At the end of the operation, a message box will be displayed. Just click
okay and you will now have a file called win32lib_full.htm created.
Validate this via your browser and copy it to win32lib.htm when satisfied.


I made this fix to v0.54.6 already.
------
cheers,
Derek

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

5. Re: Win32Lib 54.5 html doc: changed font styles part way through?

Hi Derek,

Sorry, I misunderstood your answer to my private question about this; when
you said you left out an <endcode>, I thought you were explaining why the
*bulleted text* had extra large spacing, since you had already suggested any
change I was seeing in the size of the text was probably my browser
settings.  Since the problem was only with part of the file, and I knew
browser settings would affect the whole file, I didn't bother to use your
fix, since I thought it didn't address the font size problem.  If I'd just
*used* what you suggested, I'd have seen that it *did* fix it, and wouldn't
have bothered the list.

Dan


----- Original Message -----
From: "Derek Parnell" <dparnell at BIGPOND.NET.AU>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Tuesday, November 28, 2000 3:24 PM
Subject: Re: Win32Lib 54.5 html doc: changed font styles part way through?


> Hi Dan,
>
> On Tue, 28 Nov 2000 05:18:50 -0800, Dan B Moyer <DANMOYER at PRODIGY.NET>
> wrote:
>
> >Has anyone else noticed that the font style in the html doc for Win32Lib
> >54.5 changes part way through?  I mention it because while some of it
gets
> >bigger, some other gets somewhat smaller and dimmer, which can make it
hard
> >for older eyes to read.  Derek suggested it might be a browser font
> setting,
> >but I'd think that would affect *all* text, not just some.
>
> As I understood your earlier post, I thought you were saying that the
> entire documentation was now different, not just a part of it. There are
no
> specific font definitions in the HTML file, it only uses <h1> .. <h4> plus
> <pre>, <strong> and <em>. I still recommend that you look into your
broswer
> settings to see if you can improve the visibility of the fonts.
>
> >It seems to start at "findChildren" ; "findText " is the first one I find
> >which is in both 54.5 & 50 and displays one way in v50, and another in
> >v54.5.
>
> I thought I explained the reason for this already.
> Anyhow, in the file called "win32lib_full.ew" do the following change...
>
> Find the line
>    --/func findChildren(integer id)
> about 8 lines down from that should be the line
>    --/code
> this is the beginning of some example code. The end of any example code
> should be marked with
>    --/endcode
> but this one isn't. I forgot to do it. So in between the lines
>    --      end for
> and
>    global function findChildren(integer id)
> insert the line
>    --/endcode
>
> The save the file and close the editor.
> Next you must run the MakeDoc program. In a DOS shell,
> change to the directory that the just edited win32lib_full.ew resides in
> and from the DOS command line run this ...
>
>    exw makedoc win32lib_full.ew
>
> this will cause a pop-up window to be displayed with a "progress" report.
> At the end of the operation, a message box will be displayed. Just click
> okay and you will now have a file called win32lib_full.htm created.
> Validate this via your browser and copy it to win32lib.htm when satisfied.
>
>
> I made this fix to v0.54.6 already.
> ------
> cheers,
> Derek

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

6. Re: Win32Lib 54.5 html doc: changed font styles part way through?

Thanks Brian,

That works, and Derek had, without me understanding it, already suggested
the cause, & I should have seen it anyway when I looked at the html.

Dan

----- Original Message -----
From: "Brian K. Broker" <bkb at CNW.COM>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Tuesday, November 28, 2000 2:34 PM
Subject: Re: Win32Lib 54.5 html doc: changed font styles part way through?


> On Tue, 28 Nov 2000, Dan B Moyer wrote:
>
> > Has anyone else noticed that the font style in the html doc for Win32Lib
> > 54.5 changes part way through?  I mention it because while some of it
gets
> > bigger, some other gets somewhat smaller and dimmer, which can make it
hard
> > for older eyes to read.  Derek suggested it might be a browser font
setting,
> > but I'd think that would affect *all* text, not just some.
> >
> > It seems to start at "findChildren" ; "findText " is the first one I
find
> > which is in both 54.5 & 50 and displays one way in v50, and another in
> > v54.5.
> >
> > I looked briefly at the html source, but couldn't find anything that
looked
> > like the cause of what I'm seeing.
> >
> > Dan Moyer
>
>
> The problem is that the preformatted example for 'findChildren' is not
> getting closed with a </pre>.
>
> -- Brian

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

Search



Quick Links

User menu

Not signed in.

Misc Menu