Jump to content

SmoothText 1.1.8


WildBill

Recommended Posts

Ah. Yet more ETO_OPAQUE/ETO_CLIPPED subtleties. I fixed it and posted version 0.4.7, which has another improvement as well. We're cooking with gas now.

I've been looking at SmoothText's internal architecture (which is really clean and modular), and I'm thinking that a much better way to do skinning would be to add a skinning behavior to SmoothText rather than fight with TClock3 anymore. SmoothText has a concept of separate behaviors that have their own configuration, ability to be turned on or off, etc. It's really very clean. I'm still on the fence, but I'm investigating the possibility. A lot of TClock3 code would be ported if I took that route (actually rewritten from scratch, but using TClock3 as a template).

Link to comment
Share on other sites


Hello WildBill,

although SmoothText is getting better and better, here is an error I found.

It's a dialog box in SpeedCommander 10.54 (Delete a file).

0.4.6 OK

post-127322-1231923193_thumb.jpg

0.4.7 NOT OK

post-127322-1231923201_thumb.jpg

by the way: Happy New Year :yes:

Link to comment
Share on other sites

I downloaded the demo of SpeedCommander (and I think I got the right version), but I couldn't reproduce the problem. That said, I fixed a number of issues and posted version 0.4.8. I still have more things to fix, but would you mind checking to see if this at least fixes the problem you posted?

Link to comment
Share on other sites

I did notice a similar thing to hpj2's dialog box. Virtual PC 2007 showed me a dialog that looked like that for a second. Reflexively pressed Enter before noticing it. Anyway, I think it's not program specific. Both occured in a dialog box. From my experience of dialog boxes in Reshacker... The word that shows up there is just filler until the program puts the proper text in. Not sure though. :unsure:

But I did have a hard lock up in 0.4.7. Had a temporary lock-up using 0.4.8 while opening Photoshop. :wacko:

BTW, did you see the Cleartype in 98/ME thread by Tihiy? I think SmoothText has gone beyond Cleartype's capabilities... Although IMHO... The SmoothText algorithm could use a bit more pixel boundary snapping. Tahoma is rather blurry ATM. :)

Enough rambling for now.

Link to comment
Share on other sites

Some days I just can't win. I missed a potential crash problem in 0.4.8 and I've posted version 0.4.9 that takes care of it. I wouldn't be be surprised if that was your problem, but could you try it out? SmoothText also can override tab controls now when tabs are painted as buttons (see your Windows taskbar).

Wow, I didn't know about the ClearType thread. I'll go take a look at that now before I get to bed (it's late! ;) )

Link to comment
Share on other sites

Hello WildBill,

Thank you for your new version. I tested SpeedCommander with 0.4.9 and the problem with the copy-dialogbox is gone.

But I found another error. It's always the same with 0.4.6 - 0.4.9!

Without Smoothtext:

post-127322-1232011834_thumb.jpg

With Smoothtext 0.4.9:

post-127322-1232011811_thumb.jpg

It's the optionsdialog menu: extras => options

Link to comment
Share on other sites

Hmm. That's very strange. I'm seeing that on my PC as well. Oh, well, it's yet another thing to investigate.

I posted version 0.5.0 tonight, which should fix a lot of issues. I'm probably going to slow down development a little bit (these nightly releases are killing me!). That sizing bug is definitely going to be high on the list, though.

I've been looking into the possibility of tuning the text output, but I haven't worked out all the details yet. It has to be done in a way that wouldn't harm performance. A few versions ago I made some preliminary steps toward it, but I haven't figured it all out yet.

Link to comment
Share on other sites

WOOHOO Tahoma is normal width now. In the before time it looked way way way too narrow...

IMHO Segoe UI is a smidge too thin. Could you add a way to use the old algorithm for certain fonts? :angel

Tried to look at your source for the Subpixel.pas... Found Assembler, Nice! :lol:

Unfortunately I don't understand a word of Assembler.

I'll try to decipher the logics of it... See if I can port the frameworks it to VB to test speed if weighting is added...

ATM... Very confused. :wacko:

Don't kill yourself over SmoothText... It's not worth it! :lol:

It won't hurt us to wait a while before getting updates.

(Can't get enough of the MSFN emoticons. :yes: )

Link to comment
Share on other sites

Hmm... I was wondering why certain things were looking off. MS Sans Serif (or some other similar font) when put through SmoothText ends up thinner than usual. Other fonts, like Segoe UI, are wider when put through SmoothText (actually more pleasant due to it's wider proportions).

discrepancyinfonthandliab9.th.png

Some diagrams drawn in Paint are included.

Not a major problem, just a heads up. :whistle:

Link to comment
Share on other sites

It's pretty much inevitable that some characters would change in width, since I don't have individual character-width control (only the average width of the entire font). Anyhow, version 0.5.2 is posted, and it fixes a lot of issues.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...