Re: Plucker 1.1 & vertical whitespace?

2001-05-15 Thread Michael Nordström

On Tue, May 15, 2001, Darryl Okahata wrote:
>  The URL I'm trying to grab is (just one page -- "-M1"):
> 
>   http://www.serc.rmit.edu.au/~ashelton/anime/html/index_grade.html

It has some terrible HTML code for a handheld device. It's one huge table 
and several pages worth of HTML code is just to build up the "background" 
image (that's what end up as whitespace in the Plucker document)

Either manually remove this stuff or create some kind of filter that does
it for you.

/Mike



Re: HandEra 330 and Plucker?

2001-05-15 Thread Michael Nordström

On Tue, May 15, 2001, Michael Nordström wrote:
> The italic font is created by moving the upper
> half of the string 1 pixel to the right using a function called
> WinScrollRectangle 

... and when the HandEra encounters a page with italic text it will
never stop redrawing the page. Over and over again, it will try to 
redraw the page and only a reset will stop it.

/Mike



Plucker 1.1 & vertical whitespace?

2001-05-15 Thread Darryl Okahata

Hi,

 I'm using Plucker 1.1, and plucker-build is generating pdb's with a
*LOT* of vertical whitespace (multiple screens worth).  Using
"TextParser.py -p", the database has lot of empty/blank paragraphs:

Paragraph: length 0
   attributes: 0 (none)
   offset: 0 (calculated)
Paragraph: length 7
   attributes: 1 (1 units of space above )
   offset: 7 (calculated)
  NewLine
  Reference to image #0
  Text ' '
Paragraph: length 2
   attributes: 1 (1 units of space above )
   offset: 9 (calculated)
  Text '\240 '
Paragraph: length 5
   attributes: 1 (1 units of space above )
   offset: 14 (calculated)
  Reference to image #0
  Text ' '
Paragraph: length 5
   attributes: 1 (1 units of space above )
   offset: 19 (calculated)
  Reference to image #0
  Text ' '

(I don't know where the "\240" is coming from -- it's not in the html --
and plucker certainly isn't displaying any images.)

 The URL I'm trying to grab is (just one page -- "-M1"):

http://www.serc.rmit.edu.au/~ashelton/anime/html/index_grade.html

 Now, I'm willing to mangle my plucker sources, but what should be
done?  I suppose I could mangle PluckerTextDocument.add_paragraph() to
suppress adjacent "empty" paragraphs, but is this the right thing to do?
I'm not terribly familiar with plucker internals.

 Thanks,

-- 
Darryl Okahata
[EMAIL PROTECTED]

DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Agilent Technologies, or
of the little green men that have been following him all day.




Re: HandEra 330 and Plucker?

2001-05-15 Thread Michael Nordström

On Tue, May 15, 2001, Byron Collins wrote:
> Do anyone know the reason why the HandEra 330 PDA can't open
> a ZLib-compressed plucker document / ebook?

Now, I can confirm that the scale-to-fit feature in HandEra 330 
doesn't work too well with Plucker documents, but it has nothing 
to do with the compression format.

As far as I can tell, it seems to be italic text that makes it
confused. I don't know exactly how this scale-to-fit function 
works, but it doesn't seem to like that you draw lines or work
with rectangles. The italic font is created by moving the upper
half of the string 1 pixel to the right using a function called
WinScrollRectangle and I have also seen double lines for some 
anchors. If you use the "Center" option instead everything will
work just fine (but with a smaller window).

I guess it is necessary to add "real" support for HandEra to
fix these problems. I have downloaded the SDK and I will take 
a closer look at it tomorrow.

/Mike



Re: Platform question

2001-05-15 Thread Bill Janssen

I'm still baffled as to why plucker-build wouldn't work on a Mac.
It's pretty generic Python code.  You'd have to install ImageMagick or
PIL (probably best), but aside from that it should run fine on
MacPython.  Perhaps one of the creative free-thinking Mac people would
like to figure out what problem (if any) there is here?

Bill




Re: Comments on plucker

2001-05-15 Thread Chris Hawks

---On 15 May 2001 16:35:44 +0100,  MJ Ray said

> Chris Hawks <[EMAIL PROTECTED]> writes:
>> Actually, it _will_ add the URL to the end of the memo, if you don't exit
>> plucker between 'Copys'.
> 
> Time to update my copy of Plucker on the Palm side, I guess.  Or do
> power downs count as "exit" to Palm apps?

It has always worked the same way. A power down might count (and
apparently does). I use a static variable to know if I started a memo
already this session. (see externalform.c)

--re: Re: Comments on plucker

 Chris
#include 
#include 

[EMAIL PROTECTED]
Christopher R. Hawks Software Engineer
Syscon Plantstar a Division of Syscon International








Re: Comments on plucker

2001-05-15 Thread MJ Ray

Chris Hawks <[EMAIL PROTECTED]> writes:
> Actually, it _will_ add the URL to the end of the memo, if you don't exit
> plucker between 'Copys'.

Time to update my copy of Plucker on the Palm side, I guess.  Or do
power downs count as "exit" to Palm apps?
-- 
MJR



Platform question

2001-05-15 Thread Rob Daffin

Alright, throw us mac guys a bone. I hotsync through a G4, any
possibility there is a way for me to install the SAB?

Besides, the most creative, free-thinking people use macs.

Thanks
Rob Daffin



Re: Comments on plucker

2001-05-15 Thread Chris Hawks

---On 14 May 2001 23:04:01 +0100,  MJ Ray said

> luis fernandes <[EMAIL PROTECTED]> writes:
> 
>> I have another question (oh, no!): when a URL that has not been
>> downloaded is followed, plucker displays a dialog for which one of
>> the buttons is "Copy URL". [...]
> 
> It actually appears in a memo on mine.  I can see why this is both
> useful and why the button should be renamed.  It would also be good if
> it added to the *end* of a memo instead of making a new one each time.

Actually, it _will_ add the URL to the end of the memo, if you don't exit
plucker between 'Copys'.

--re: Re: Comments on plucker

 Chris
#include 
#include 

[EMAIL PROTECTED]
Christopher R. Hawks Software Engineer
Syscon Plantstar a Division of Syscon International