starpause posted on Mar 13 2007 at 05:09 AM said:
Very cool, thanks for looking into it. I think leading and tracking are primary. i think those two things are more important than justification if you're trying to make any ttf readable.
The problem with tracking is that it will interfere with the word wrapping code, I'll keep it in mind until I figure out a way of doing it without messing up everything else.
starpause posted on Mar 13 2007 at 05:09 AM said:
I think the method you described for .zip files is perfect, it lets you do more rather than less. On the other hand, if there's only one text file in a .zip, maybe you can open it automatically instead of displaying it as a directory.
Big up on paragraph collapsing! I wrote a command line C program for doing just that to text files, I was getting by with it but having it built into the reader will be so nice. Some texts have complex whitespace tho--where lyrics or poems are indented from the body of the text. It will be interesting to see how your solution deals with those.
It should deal with simple stuff like that, the algorythm is to replace a single CR/LF with a space if the next character is not whitespace. However it can play havoc with some documents, for example the lists of config options in the readme don't have whitespace and so get stuck into one line.
I think it's something that will need to be set only for some documents.
I've tackled this problem before and have never found a satisfactory way of handling all documents.
starpause posted on Mar 13 2007 at 05:09 AM said:
Looking forward to the next version of the application--and hope the donation comments weren't didn't cause any offense, you're doing great work!
What donation comments? I know someone asked a while ago whether I was taking donations, and I replied that I had no way to do so. That doesn't mean I don't like money, just that the normal ways of taking donations won't work in my situation.
If anyone feels strongly enough that they want to give their money away, they can let me know and I'll do my best to find a way to take advantage of their generosity
On the other hand, I didn't do this in order to get donations, so won't be upset if none appear.
As for the next version, I think I'll put it up on the site in a day or so, once I've had time to check for bugs. There's been enough added to make a version worthwhile. After that, I'm going to have to spend some time cleaning the code up and splitting it up into separate source files. At the moment the majority is in one source file and it's getting a bit unwieldy.
P.S. Starpause, did you recieve my emails? I haven't had a reply yet so was beginning to wonder.