Thread: Font CABs
View Single Post
  #24 (permalink)  
Old 08-23-2009, 09:38 PM
Mmaureenn's Avatar
Mmaureenn
PPCGeeks Regular
Offline
Location: Cali
 
Join Date: Mar 2009
Posts: 59
Reputation: 305
Mmaureenn is becoming a PPCGeeks regularMmaureenn is becoming a PPCGeeks regularMmaureenn is becoming a PPCGeeks regularMmaureenn is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Weather Fix Cab

Quote:
Originally Posted by Kliptik View Post
Thanks for checking into that! I did some digging into how I made the font CABs in the first place. I actually put that manila file into these font cabs to fix the weather tab issue. Strange that's it's resurfaced, but it may only be on the font CABs that the font is naturally bigger.

Would you mind if I attach this file to one the first few threads so that anyone trying to fix it has it available right up front?

EDIT: I just realized that this happened on the font CAB that you made yourself. Lol. It would still be awesome if I could attach that fix cab to the first post so that anyone that does make their own fonts can grab it.
Of course you can. I hope it helps someone else. I have explained the fix in detail below in case anyone making fonts is interested. My current font cab contains four fonts (which is how I figured this out), reg and bold system font and two "pretty" fonts for show in TF3D (see pics below for example and fixed weather tab). I'll probably post it when I post the theme. I think it might be best to keep the fix separate, since that particular manila file may vary.

I realized that the manila in your cab (and the other fixes I've seen) tried to change the position of the current temp numbers rather than adjust the font size. So I looked at every reference to fonts in the weather tab mode 9 file. I knew that manila calls both Helv Roman and Helv Thin. Figured out that the Helv Thin is only called for the tab title (both in the tab and on the scroll shade) and the current temp. Found the references (I think there are four) to Helv Thin that related to temp and changed the font size from "85" to "60".

Each number is allowed an average space of 45 px X 85 px. The larger fonts require more space than that when they're sized at 85. One way to check is to measure its pixel size in a paint program when it's at 85. If it's larger than 45 px x 85 px, you'll need to decrease the font size until it fits into the space allowed, then edit the manila to that smaller font size. 60 px seemed pretty universal to me, and it displays nicely even with a font that isn't too big. Anyway, with that theory in mind, one could conceivably customize the manila to suit each font exactly without compromising the integrity of the tab.

xoxo Maureen

Reply With Quote
This post has been thanked 2 times.