adding options (was Re: strike-thru in libraryform)

2003-06-02 Thread Alexander R. Pruss
By the way, when new options get added, are people trying to keep the prefs backwards compatible, and if so, how? (When I added the multiple term search and transliteration search options, I used bitfields of an existing pref item, the case-free search one.) Alex -- Dr. Alexander R. Pruss || e

autoscroll speed control

2003-06-03 Thread Alexander R. Pruss
. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home page: www.georgetown.edu/faculty/ap85 - "Philosophiam discimus n

Re: strike-thru in libraryform

2003-06-03 Thread Alexander R. Pruss
> Still, considering the amount of code we are talking about (a few > lines) we could even make it possible for the user to select whether > the strike-through or bold font should be used for read documents. Or, more precisely, whether strike-through should be used for read documents, or bold for

Re: strike-thru in libraryform

2003-06-03 Thread Alexander R. Pruss
> Some, but not all. Plucker already has a bit of danger in some places > of turning into "preference soup". Personally, I like having as many options as possible. I suppose if things get out of hand, one might need to have some "advanced options" dialog. But given that it takes very little pro

Re: search armlet patch

2003-06-09 Thread Alexander R. Pruss
ed char* )(x)[2] << 16 ) \ | ( unsigned char* )(x)[1] << 8 ) \ | ( unsigned char* )(x)[0] ) #define SWAP16(x) ( ( (unsigned short)(x) << 8 ) | ( (unsigned short)(x) >> 8 ) ) Should we just includ

Re: search armlet patch

2003-06-09 Thread Alexander R. Pruss
rmlet depends not just on whether there is an armc resource, but also on whether the text is 8-bits wide. > If you think it is difficult to run configure, then write a shell > script to do it for you ;-) That's what I do. :-) Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL

Re: search armlet patch

2003-06-10 Thread Alexander R. Pruss
ou get my patch from last night? 2. How hard will it be to merge in the branch? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washing

dictionary

2003-06-10 Thread Alexander R. Pruss
y from its original use. -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20057

Re: search armlet patch

2003-06-10 Thread Alexander R. Pruss
> cvs co -j armlets -d viewer-armlets -kk plucker_src/viewer > > That will checkout a new version of the code in the main branch, merge > in the armlets code, and stuff it all into the directory fo > viewer-armlets. How well would this work if the search code changed somewhat in the main branch in

RE: new unofficial hires prc ready

2003-06-11 Thread Alexander R. Pruss
one could pipe the files through: sed "s/<[bB][rR]>//g" (I think the rest of the distiller doesn't mind just a instead of ) Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University

RE: new unofficial hires prc ready

2003-06-11 Thread Alexander R. Pruss
ne of the things I had to do was to recode it from KOI8R to CP1252, since I don't have KOI8R fonts for Plucker and I do have CP1252 fonts. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgeto

SiteScooper and filters (was RE: new unofficial hires prc ready)

2003-06-11 Thread Alexander R. Pruss
Thanks for the tip. The docs do say that SiteScooper does 1-, 2- and 3-level sites. That is rather limiting. Or does it do more? Even if it does, I think there would be no harm, and some gain, in just including a simple input pipe option in PyPlucker. Alex -- Dr. Alexander R. Pruss || e

autoscroll speed

2003-06-12 Thread Alexander R. Pruss
ms is backwards compatibility, since some old values would no longer be valid. Another option is this. For autoscroll speeds between 0 and 100ms, we adjust by 10ms, and above that we go by 50ms. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online paper

Re: autoscroll speed

2003-06-12 Thread Alexander R. Pruss
On Thu, 12 Jun 2003, Robert OConnor wrote: > Alexander R. Pruss wrote: > > I've noticed that the autoscroll speed doesn't have enough > > resolution. Currently, the minimum adjustment interval is 50ms. I'd be > > tempted to change that to 10ms or 20ms, except

Re: search armlet patch

2003-06-12 Thread Alexander R. Pruss
This sounds very good. I suggest we wait on this a little bit and apply the requisite changes after the armlet code gets revamped after Mike reviews it. I think we should keep the armlets/ directory because there may be more armlets coming. Alex ___ pl

centering

2003-06-13 Thread Alexander R. Pruss
er for myself and my wife that forces left justification when desired, unless there is some way to fix this in the distiller. -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home page: www.georget

tab

2003-06-13 Thread Alexander R. Pruss
ery modest idea of just making TAB generate a command stroke? (I tried it and it works fine.) Alex -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home page: www.georgetown.edu/fa

mainform vs. fullscreenform

2003-06-13 Thread Alexander R. Pruss
What's the difference between the mainform and the fullscreenform? -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home page: www.georgetown.edu/faculty

Re: mainform vs. fullscreenform

2003-06-13 Thread Alexander R. Pruss
I wanted to know something more basic, but I think I figured it out from your message. Fullscreenform is for viewing full screen images, right? (I was wondering whether it is a version of mainform for viewing in what Sony calls "full-screen" mode, 320x480 without a status line.) Alex __

Re: mainform vs. fullscreenform

2003-06-13 Thread Alexander R. Pruss
By the way, mainform.c lists one or two more keys that trigger Prefs->gestMode[ GESTURES_DOWN ]. I assume this has to do with Graffiti2 support, and fullscreenform.c should be made to conform. ARP ___ plucker-dev mailing list [EMAIL PROTECTED] http://l

paragraph end

2003-06-14 Thread Alexander R. Pruss
Does every end of paragraph (except maybe the last in the record) have a 0x38 newline code after it in the plucker format? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty

fast 68k search -- help wanted

2003-06-15 Thread Alexander R. Pruss
search for the word "junk" in St. Thomas Aquinas's Summa Theologica. (It's not found :-) ) From memory, I think it took about six to ten minutes. Right now, it does it in 1 min 49 sec with the 8-bit optimized 68K search and 49 sec with the armlet search. Alex -- Dr. Alexan

armlet entry point

2003-06-15 Thread Alexander R. Pruss
NativeFunction(). -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home page: www.georgetown.edu/faculty/ap85

more on benchmark

2003-06-15 Thread Alexander R. Pruss
I thought it might be easier to download a zip file of my fast search Plucker. The zip is at www.georgetown.edu/faculty/ap85/dl/plucker.zip Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University

Re: armlet entry point

2003-06-15 Thread Alexander R. Pruss
On Sun, 15 Jun 2003, Adam McDaniel wrote: > On Sun, Jun 15, 2003 at 09:06:51AM -0400, Alexander R. Pruss wrote: > > Is there a way to specify the entry point to an armlet? With the way things > > are currently set up, it looks like the armlet enters at the first function > >

Re: paragraph end

2003-06-15 Thread Alexander R. Pruss
On Sun, 15 Jun 2003, Michael Nordstrom wrote: > On Sat, Jun 14, 2003, Alexander R. Pruss wrote: > > Does every end of paragraph (except maybe the last in the record) have a > > 0x38 newline code after it in the plucker format? > > Does any paragraph have a newline after the

Re: paragraph end

2003-06-15 Thread Alexander R. Pruss
the first letter of the search string to 'a'). It was Test() that got invoked, not NativeFunction(). -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington

Re: paragraph end

2003-06-15 Thread Alexander R. Pruss
On Mon, 16 Jun 2003, Michael Nordstrom wrote: > On Sun, Jun 15, 2003, Alexander R. Pruss wrote: > > Oh well. I was hoping that I could detect the end of paragraph / > > end of line straightforwardly in the search code just while > > scanning the text. > > The record

viewer/fonts/fontconv.c, etc.

2003-06-17 Thread Alexander R. Pruss
me to find some nice external font packages with unencumbring licenses. :-) -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home page: www.georget

Re: viewer/fonts/fontconv.c, etc.

2003-06-18 Thread Alexander R. Pruss
On Wed, 18 Jun 2003, John Marshall wrote: > On Tue, Jun 17, 2003 at 07:39:38AM -0400, Alexander R. Pruss wrote: > > I've spun off fontconv.c into a separate project, > > palmfontconv.sourceforge.net, so if you make changes to it, I would > > appreciate it if you also se

MetaRecord revamping suggestion

2003-06-19 Thread Alexander R. Pruss
, if one were ambitious. Perhaps the history could keep track of the text offset rather than the y-position. But I don't think this is a big deal. It is only relevant if one changes a font and changes it back. -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosop

Re: MetaRecord revamping suggestion (update)

2003-06-20 Thread Alexander R. Pruss
all I call the options? Finally, a query. When designing forms, how much variety of system fonts should one allow for? People use fonthack, various localization software, Fonts4NX, etc. How much extra room should one leave on forms in case people change their system fonts in this way to someth

Re: linking to full size images

2003-06-20 Thread Alexander R. Pruss
(In fact, isn't it standard netiquette to avoid sending largish attachments. I think even 27K of binary stuff tends to cross the line in a discussion-type list. Those of us who have dial-up connections get annoyed.) Alex ___ plucker-dev mailing list [

Prefs()

2003-06-20 Thread Alexander R. Pruss
Changing the Prefs() function to a macro (and making the prefs structure global) saves almost 2K. Is there any reason not to do it? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu

fullscreen image problem

2003-06-21 Thread Alexander R. Pruss
lty/ap85/problem.zip You'll also find the binaries that cause the problem. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washing

hires bug

2003-06-21 Thread Alexander R. Pruss
NOT occur within the main while() loop of WriteLine(). The problem doesn't occur in lo-res at all, at least not in pose. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/

Re: hires bug

2003-06-21 Thread Alexander R. Pruss
ord of the size Plucker allows.) What to do? I guess we need to promote a whole bunch of Int16s to Int32s. This is going to degrade performance, but I see no cure. We need to do this in TextContext, and elsewhere. How do we make sure we haven't missed anything? -- Dr. Alexander R. P

Re: hires bug

2003-06-22 Thread Alexander R. Pruss
On Sun, 22 Jun 2003, Adam McDaniel wrote: > On Sat, Jun 21, 2003 at 09:50:38PM -0400, Alexander R. Pruss wrote: > > What to do? I guess we need to promote a whole bunch of Int16s to > > Int32s. This is going to degrade performance, but I see no cure. We need > > to do thi

Re: fullscreen image problem

2003-06-22 Thread Alexander R. Pruss
On Sun, 22 Jun 2003, Adam McDaniel wrote: > The back button is still clickable, regardless of appearing.. it just > so chooses to hide itself so the user can see whats under it :) But there was nothing under it. :-) Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Phil

Re: hires bug

2003-06-22 Thread Alexander R. Pruss
I committed a fix. Since the structure of the metadata has had to be changed, Cleaner MUST be run to delete the temp files before running this version. I don't know where to flag this in cvs. Henceforth, please store y-offsets measured in pixels, except for things that are on screen (or just off

idea

2003-06-22 Thread Alexander R. Pruss
half. (Initial experiments are not completely successful, because I don't fully understand the two functions, but there is a great speedup.) Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown Unive

Re: idea

2003-06-23 Thread Alexander R. Pruss
ctual writing to the screen. I am just worried about the speed of opening a new page. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/facult

Re: hires bug

2003-06-23 Thread Alexander R. Pruss
On Sun, 22 Jun 2003, Adam McDaniel wrote: > There's a better way. Increment the MetaDocumentVersion in const.h Committed. Thanks. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.george

Re: idea

2003-06-23 Thread Alexander R. Pruss
muck a lot with the subscript stuff. I hope it's not broken now. There are imperfections in rendering in the large font, but they match what was there in the previous version. One of these days, I might fix it. Please report any bugs! -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTEC

RE: plucker-dev digest, Vol 1 #343 - 7 msgs

2003-06-23 Thread Alexander R. Pruss
el free and let me know. (Just compile once with typedef Int16 YOffset in util.h and another time with typedef Int32 YOffset.) Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.e

Re: plucker-dev digest, Vol 1 #343 - 7 msgs

2003-06-23 Thread Alexander R. Pruss
The bookmarks are an issue and it would be nice to have them in a separate file. By the way, I am having a problem with things when I set a bookmark with the ordinary font being shown, and then change to the large font. Things get screwed up when I got to the bookmark. Alex _

bookmarks and session data, was Re: plucker-dev digest, Vol 1 #343- 7 msgs

2003-06-23 Thread Alexander R. Pruss
enough to make two font changes per click.) Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/fac

Re: bookmarks and session data, was Re: plucker-dev digest, Vol 1#343 - 7 msgs

2003-06-23 Thread Alexander R. Pruss
should be some way of optimizing. I just probably shouldn't be putting much more time into this. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washin

Re: idea

2003-06-24 Thread Alexander R. Pruss
Search for some word that occurs a couple of times, with the "Search in all pages" option. The seek time is the time from selecting an item in the search list, to that item showing up on the screen. Is that an acceptable length of time? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL

Re: yOffset, bookmarks, speed

2003-06-24 Thread Alexander R. Pruss
r as they'll be executing natively, while the rest of the code is running in PACE, but I am not sure why the effect would be non-uniform. Another thought is that the ARM is fast enough here that something else is dominating. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PR

verticalOffset

2003-06-25 Thread Alexander R. Pruss
Is there any good reason why verticalOffset is always negative? Alex -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home page: www.georgetown.edu/faculty/ap85

Re: verticalOffset

2003-06-25 Thread Alexander R. Pruss
ile to the top of the display window. But if there are complaints about the sign flip, I shan't do it. Alex On Wed, 25 Jun 2003, Adam McDaniel wrote: > On Wed, Jun 25, 2003 at 10:27:15AM -0400, Alexander R. Pruss wrote: > > Is there any good reason why verticalOffset is always nega

Re: plucker-dev digest, Vol 1 #345 - 5 msgs

2003-06-25 Thread Alexander R. Pruss
> > Here's how to test it. Search for some word that occurs a couple of > > times, with the "Search in all pages" option. The seek time > > is the time from selecting an item in the search list, to that item > > showing up on the screen. Is that an acceptable length of time? > > I'm using hir

Re: verticalOffset

2003-06-25 Thread Alexander R. Pruss
From: "Adam McDaniel" <[EMAIL PROTECTED]> > On Wed, Jun 25, 2003 at 03:12:08PM -0400, Alexander R. Pruss wrote: > > But if there are complaints about the sign flip, I shan't do it. > > Well, my only concern is that it keeps the context of the *Offset > valu

bug

2003-06-28 Thread Alexander R. Pruss
Here's an interesting bug. Under POSE/NR70, minimizing the silkscreen also triggers the GESTURE_TAP gesture sometimes. (I think only the first time it's done during a session.) Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and

font change

2003-06-29 Thread Alexander R. Pruss
Bookmarks, history and current position are all now supposed to be maintained across font changes. I committed this to cvs. Alas, one will lose old bookmarks if one upgrades. Oh well: it does let me resolve two bugs. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy

Re: possible bug

2003-06-30 Thread Alexander R. Pruss
couldn't duplicate with documents in RAM, and haven't yet tried on MS.) Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, D

rendering

2003-06-30 Thread Alexander R. Pruss
y, on Sony NX/NR, we'll want to toggle the status bar, too), which I've added. Let me know about any bugs. -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washi

Re: rendering

2003-06-30 Thread Alexander R. Pruss
> Skins?? Yeah. Drop a prc with creator code Plkr and resource type Skin, and resources there (e.g., alternate renditions of icons) become available. However, you need to make sure that these resources aren't already in Plucker, so you might need a custom build (or to delete the resources). Not

ROM writing

2003-07-01 Thread Alexander R. Pruss
POSE/NR70 reports a write to ROM (in fact, several of them) in every dialog window. (E.g., search in page for a non-existent word ad get the write to ROM at the "String not found" dialog.) Should we be worried? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy

Re: Possible Bug

2003-07-02 Thread Alexander R. Pruss
do you have? Are they in RAM or on MS? Does the problem occur if you exit Plucker after deleting and then re-enter Plucker? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.geo

keyboard support

2003-07-05 Thread Alexander R. Pruss
ranslate for multilingual versions. Alex p.s. I've noticed that a bunch of things in util.c don't conform to the coding guidelines. But who am I to speak? -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University

stylistic question

2003-07-05 Thread Alexander R. Pruss
up with condition2, which is messy. if( condition1 && condition2 ) { ConditionSuccessful(); } This is more readable but messy. if( condition1 && condition2 ) { ConditionSuccessful(); } This seems OK, but the ) { line looks funny. Alex -- Dr. Alexa

deleting and opening

2003-07-05 Thread Alexander R. Pruss
just moved underground? I am worried when bugs disappear between builds with no one having fixed them. -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20057

255 doc limit?

2003-07-05 Thread Alexander R. Pruss
I've been looking at the library jogdial code, and noticed that a function uses UInt8 to store the row. Now, I haven't figured out quite how the code works, but is there a 255 document limit, or is this just an offset within the page? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL

Re: stylistic question

2003-07-05 Thread Alexander R. Pruss
e things uniform (and flag lines that are too long after pretty-printing so that the programmer can fix it himself). Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown

unicode

2003-07-06 Thread Alexander R. Pruss
I need a document, ideally a .pdb, that I can test Plucker's unicode handling on. Does anyone have such a document? Alex -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home

Re: unicode

2003-07-07 Thread Alexander R. Pruss
___ > plucker-dev mailing list > [EMAIL PROTECTED] > http://lists.rubberchicken.org/mailman/listinfo/plucker-dev > -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department |

Re: www.plkr.org: Plucker vs. AvantGo

2003-07-07 Thread Alexander R. Pruss
external font packages (not that we're distributing any, but I do have a cyrillic package if anybody wants one). Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washingto

Re: www.plkr.org: Plucker vs. AvantGo

2003-07-07 Thread Alexander R. Pruss
iSilo is the viewer. It has a free mode in which hyperlinks and various other things don't work./ Otherwise, one pays. iSiloX is the distiller. It's free. -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown

Re: Feature matrix (was Re: www.plkr.org: Plucker vs. AvantGo)

2003-07-07 Thread Alexander R. Pruss
extra effort for > regular users is a little too much Heck, I've been using the > Unofficial Hires version since last November Well, if I am not mistaken, it's all in HEAD in CVS now, so as soon as the daily snapshot make is fixed, it will be available daily on plkr.org, no

Re: unicode

2003-07-08 Thread Alexander R. Pruss
he device in order for the text to display > correctly. So there are character set records in the metadata section? That's very nice--I should be able to make use of this somewhere in the font support code. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department

Palm OS questions

2003-07-08 Thread Alexander R. Pruss
GlueGetNextChar(). But TxtGlueGetNextChar(), I expect, slows things down. If the answer to #2 is negative, then this is easy--I just scan ahead character by character to a null. I might just have to make some alternate code for 8-bit encodings. Alex -- Dr. Alexander R. Pruss || e-mail: [

GetLineMetrics() code

2003-07-08 Thread Alexander R. Pruss
x -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, D

soft hyphens

2003-07-08 Thread Alexander R. Pruss
One of my recent optimizations involved using FntWordWrap() for some of the rendering. But now I have a worry. Maybe FntWordWrap() can't handle soft hyphens? Does anyone know? Also, does anyone know what FntCharsWidth() returns if there is a soft hyphen in the string? Alex -- Dr. Alexan

yen and soft hyphen

2003-07-08 Thread Alexander R. Pruss
yphen. Or am I misunderstanding something in the code? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20057||

Re: GetLineMetrics() code

2003-07-08 Thread Alexander R. Pruss
hat all such things get stripped out by the distiller. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washingto

Re: yen and soft hyphen

2003-07-08 Thread Alexander R. Pruss
) one character to the left of the last soft hyphen or space, and then run things through the standard GetLineMetrics() handler.) Perhaps text that does a lot of soft hyphen breaking will be processed a touch slowly, but it should render OK (though I haven't tried it). Alex -- Dr. Alexander R. P

Re: GetLineMetrics() code

2003-07-08 Thread Alexander R. Pruss
gt; > static const Char CRLF[] = { 0x0D, 0x0A, 0x00 }; > > [..] Maybe we can just have GetNextToken() return a ' ' when it encounters a CR-LF? That still leaves one question. Does the OS encode CRLF into a WChar as 0x0D0A or as 0x0A0D? (These endian things are confusing.)

Re: SJ20 HiRes grayscale mode

2003-07-08 Thread Alexander R. Pruss
Using the general prefs settings to change to depth 4 doesn't work? Alex -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and home page: www.georgetown.edu/faculty

Re: Palm OS questions

2003-07-08 Thread Alexander R. Pruss
> > 2. Can multi-byte encoded texts have nulls that do not signal the end of > > the string, i.e., nulls in the middle of multi-byte characters? (I assume > > there can't be nulls at the start of them--if there can, our code is in > > trouble.) > > Uhmm.. although this isn't my area of expertise,

Re: GetLineMetrics() code

2003-07-08 Thread Alexander R. Pruss
On Tue, 8 Jul 2003, Michael Nordstrom wrote: > On Tue, Jul 08, 2003, Alexander R. Pruss wrote: > > 1. This looks to me like it's checking for all two-byte length characters, > > not just CRLF. This surely isn't correct behavior, because it will allow > > line-

Re: yen and soft hyphen

2003-07-08 Thread Alexander R. Pruss
On Tue, 8 Jul 2003, Michael Nordstrom wrote: > On Tue, Jul 08, 2003, Alexander R. Pruss wrote: > > Nevermind. I have a horrible memory for numbers--I misremembered the > > 0x00AD as a 0x00A5. > > I think we should "mind" anyway. Bug report #356 is a related

Re: GetLineMetrics() code

2003-07-08 Thread Alexander R. Pruss
On Tue, 8 Jul 2003, Michael Nordstrom wrote: > On Tue, Jul 08, 2003, Alexander R. Pruss wrote: > > I am also a bit puzzled as to why the special handling for > > two-byte characters? (Why not three- or four-byte ones?) > > Because that's what Matto implemented... If

Re: Palm OS questions

2003-07-08 Thread Alexander R. Pruss
Is there anywhere one can ask to get an "official" answer to such a question, as my question whether middle or final bytes can be zero? -- Dr. Alexander R. Pruss Department of Philosophy Georgetown University Washington, DC 20057-1133 U.S.A. e-mail: [EMAIL PROTECTED] online papers and

Re: unicode

2003-07-08 Thread Alexander R. Pruss
> What is multibyte support about then? I found a reference to this in the > archives, but it seems this is available in the I18N branch only. > Unfortunately I still can't reach www.plkr.org or cvs.plkr.org to check > this out. Multibyte support is for devices, e.g., Japanese ones (I think these

Re: yen and soft hyphen

2003-07-08 Thread Alexander R. Pruss
On Tue, 8 Jul 2003, Bill Janssen wrote: > So there is no "support for 0xA5" in the code (and nothing to remove); This is true for 0xA5. But it's not true for 0xAD. Support for the soft-hyphen is hardcoded in. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Phi

Re: Palm OS questions

2003-07-08 Thread Alexander R. Pruss
Only a NUL at the beginning of such a character will terminate things. (At least for the parts of the code that I've looked at in more detail, i.e., paragraph.c and search.c.) Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and ho

dialog half size

2003-07-09 Thread Alexander R. Pruss
Links ); return true; } ErrEndCatch -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20057||

record order

2003-07-11 Thread Alexander R. Pruss
w Python. So please tell me if there is something dumb in the patch. Note: When I say "work", I mean "work while keeping the order right". As far as I can tell, my code will not fail in any really bad way even if the limits are exceeded--the documents will just be out o

Re: keyboard support - one place or many

2003-07-11 Thread Alexander R. Pruss
ding things to the pref structure, but I can't think of how to do it while deleting them. Feel free to do it, if you know how to. I agree it would be nice. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online

binary search

2003-07-11 Thread Alexander R. Pruss
o our binary search over the index range max(1,K-(M-N)) to min(K,1+N), which will at least sometimes be a smaller range than 1 to K. (If the ids are assigned sequentially, then in fact we will hit right on the index!) -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Depar

Re: binary search

2003-07-11 Thread Alexander R. Pruss
On Fri, 11 Jul 2003, Michael Nordstrom wrote: > On Fri, Jul 11, 2003, Alexander R. Pruss wrote: > > Currently we do a nice binary search for ids when looking for a record. > > But we can do a little better than that. > > Sure, but do we really *have to*, i.e. wil

more on distiller order

2003-07-11 Thread Alexander R. Pruss
A better solution is to make the spacing between the document file ids equal to (65536-10)/numitems. Any more suggestions? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty

PyPlucker memory

2003-07-11 Thread Alexander R. Pruss
once under Windows, and a second time under Linux, so it's not an OS issue.) Does PyPlucker maybe keep all the texts in RAM rather than saving them to a cache? Can this be fixed? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and

Re: record order

2003-07-11 Thread Alexander R. Pruss
e patched version myself and see how it goes. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.ge

Re: PyPlucker memory

2003-07-11 Thread Alexander R. Pruss
does this when free RAM got scarce.) This seems to be the thing to do if one wants to fix the RAM problem. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Wash

more on record order

2003-07-12 Thread Alexander R. Pruss
rt by the order fetched rather than alphabetically. -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20

multibyte char

2003-07-13 Thread Alexander R. Pruss
to dot is active). Oh well. Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20057|| U.S.A

more on distiller order

2003-07-13 Thread Alexander R. Pruss
It looks like it's really VERY easy to get the distiller to do what I want. I just sort the collection before the initial round of id generation, and then I loop over subdocs and not just main docs. And that does it. Minimal code modification, and does the job. Alex -- Dr. Alexan

<    1   2   3   4   5   6   7   >