PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-23-2009, 10:36 PM
Kliptik's Avatar
Two-Time Mafiosi
Offline
Pocket PC: HTC Thunderbolt
Carrier: Verizon
Threadstarter
Location: Austin, TX
 
Join Date: Feb 2009
Posts: 1,041
Reputation: 4790
Kliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributionsKliptik should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to Kliptik
Re: Weather Fix Cab

Quote:
Originally Posted by Mmaureenn View Post
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
Thanks for the explanation! You know a TON more about manila files than I do!!! Instead of attaching the CAB to the first post, I put a link to your post. That way you'll get the "Thanks" for it.
__________________
Reply With Quote
This post has been thanked 1 times.
  #2 (permalink)  
Old 08-23-2009, 11:36 PM
Mmaureenn's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro
Carrier: MetroPCS
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 the explanation! You know a TON more about manila files than I do!!!
Just to clarify, I know a lot about graphics and image mapping, a good amount about programming code in general, and not so much about manila. But I'm learning. I managed to change the text color in my Comm Mgr tab to white so I could read it and I'm going to attempt to add the title text in my calendar tab. I'm about to try my hand at Lua... all in an effort to change the current day focus color from green to pink in my calendar tab. I found the code line for it using notepad, thought it was a Mode 9 file, d/l'd M9 Editor only to discover that it is actually a Lua file. Down the rabbit hole I go again. LOL

Here's something interesting, though. When I was reading the code in the weather mode 9, I found an entry which refers to an "easter egg"... Not sure if it means anything - well, I'm sure it does, but normally they're some sort of hidden thing that's triggered by a specific event. Curiouser and curiouser. Maybe it's just a title, since the component containing the temperature data is called "GizmoRoot".

Quote:
Instead of attaching the CAB to the first post, I put a link to your post. That way you'll get the "Thanks" for it.
Thank you. That was very thoughtful.

xoxo Maureen
Reply With Quote
This post has been thanked 2 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro

Tags
font, system font, tf3d font, titanium font


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 05:33 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com