Page: 0 ... 5 ... 10 ... 15 ... 20 ... 25 ... 30
Windows Printing
Date: 31/8/2004
I've been struggling to work out what is wrong with the printing in Scribe on windows. Each line sometimes is chopped off at the end. And as far as I can tell I'm doing all the right things.

Basically I'm calling GetTextExtentPoint32W to get the size of the string I want to print and then I call ExtTextOutW with ETO_CLIPPED and a rect as big as the size returned by GetTextExtentPoint32W. All of this is of course deep inside Lgi, so I've extracted out a minimal example of what I'm talking about here. It's a Visual C++ 6 project and cpp file that builds an application that exhibits the bug. It will print out a single page, and on WinXP with the printer I have available it chops off the end of the 'y' on the last word.

Am I going crazy? Or is it a bug in my code? Or another windows quirk?
(5) Comments | Add Comment

ARC Rally
Date: 30/8/2004
As I was heading up to the folks place to pick my family up over the weekend I got a geez up close at some of the Australian Rally Championship cars that were driving north on the F3 in full rally dress for the Premier State Rally NSW.

I passed Herridge's STI and one of the Toyota Corolla's cruising along at 100km/h. The noise those things put out is amazing. Just at cruise the sound of the dog gears and the muffler is pretty loud, and I was in a different car... let alone being in the unbaffled cabin.

I would've thought they'd have transport vehicles for the rally cars, but I think they have to drive between stages anyway. So maybe they'd already done some stages.

Well at least the Olympics are over... I've been trying to avoid the unescapable tide of reports about it. Finally we can get back to sport we want to watch... motorsport that is!
(1) Comment | Add Comment

Yahoo Support in i.Scribe/InScribe
Date: 27/8/2004
KennethO posted that Yahoo Pop/Smtp access is broken in Scribe. I've had a look at this and it all seems to be working for me. Is anyone else having difficulty with accessing Yahoo?
(3) Comments | Add Comment

Time Out
Date: 25/8/2004
Over the last weekend I took the family a few hours drive up the coast to my parents place where we were busy doing nothing for 5 days. A much needed break away from city life.

But of course I did play with computers while for a little while. My Dad has got a new HD for his laptop and well it was my sworn duty ;) to install it into the laptop after migrating the data over from the old disk. 3 hours later I gave up because the desktop available to me was so old that it couldn't cope with the new laptop drive, it was just too large. Ok so I was a little optimistic trying to put a 40gb drive into a P133 but one can try.

During our stay we headed up to the vineyards area, caught a movie (I, Robot... soso) and ate a lot of good food. I even did a little practise on my acoustic which was very relaxing.

And my dear little daughter, Maya, now approaching 2 years of age, has been learning words at an increasing rate. She's just reaching that point of being able to 'learn' words that we teach her as opposed to just blurting them out and surprising us. It's fascinating watching a person develop from a baby.

Anyway if you didn't hear back from me recently, thats why :)
(0) Comments | Add Comment

Date: 18/8/2004
I've added a RSS feed for this blog for those of you that use specific software to read blogs. Let me know if there are any issues.
(1) Comment | Add Comment

The Importance Of Testing
Date: 16/8/2004
Recently I got sick of how the HTML control is Scribe was terrible at rendering tables and even more tired of the constant complaining from the userbase about it (you know who you are!). So I rewrote the layout algorithm, which took far less time than I feared. But as with all non-trivial peices of code I didn't get it right first time. Well I made it work with one known peice of HTML that broke the old algorithm. But soon I noticed other HTML that didn't work in the new control. Ok, so I go and fix that. But now the first peice of HTML doesn't work.


Right, I said to myself, if I'm going to get anywhere I need to collect all the HTML snippits that have hairy tables in them and put them in one place so that I can easily check that the HTML control works on all of them. So I did, essentially creating a small HTML test suite. Now I'm not aiming for web standard complience, I'm aiming for readability of email. So I deliberately don't support a whole range of rather meaningless cruft that has been rammed into the HTML specification, hence I don't just use the W3C HTML test suite.

Nevertheless, now after much work on getting the control up to snuff it's starting to not break on previous test files everytime I add a new peice of HTML to the test suite and fix the control. Thus as time goes on, each time I bump into a peice of HTML that breaks the control it goes in the test suite. I fix the bug, test all the previous files and make sure I havn't inadvertantly busted something else, then commit the code to version control. Gotta love procedures.

(1) Comment | Add Comment