Font problem in cooked ROM [SOLVED -- IN MINUTES!]

Search This thread

Wordsmith9091

Senior Member
Nov 16, 2008
482
3
In my cooked ROM, I'm having a problem with the font on the HTC keyboard, and on the screen that comes up once the device is plugged into the computer (to choose between Activesync, Drive, and Internet sharing). I've found similar problems searching and tried applying those solutions, but I haven't come across exactly this:

When TF3D is disabled, the font for the keyboard and "Connect to a PC" screen drops out to Courier (and I've confirmed it is indeed courier, not just something that looks like it. When TF3D is enabled, they look fine.

I'm also reasonably sure I saw instances on my earlier build where the landscape of the keyboard would be fine, but in portrait mode, the font would drop out.

The solutions I've found in my searches suggested adding certain aliases under [HKEY_LOCAL_MACHINE\SYSTEM\GDI\V1\FontAlias] in the registry. That hasn't helped. I've worked around the problem by copying one of the HelveticaNeue fonts (LT 35 Thin, I think) over cour.ttf in the windows folder, but I wouldn't be surprised if this has unexpected consequences in other applications.

The ROM uses a Fuzeberry-themed version of TF3D1.

The following fairly common HTC apps are omitted from my ROM (cooked with Da_G's 21500 Test 2):
HTC Comm manager (because I used a Rhodium version instead)
Enlarge Start Menu
Enlarge Title Bar
HTC Dialer
HTC Volume
TouchFlo (not TF3D, just TouchFlo)
HTC Startup screen

I -have- included HTCFontLink (Rhodium version, which is what comes with the kitchen). I have also made sure every TTF available in the kitchen is installed to the device. That includes: cour.ttf, HelveticaNeue LT 35 Thin.ttf, HelveticaNeueOTS.TTF, tahoma.ttf, tahomabd.ttf, wingding.ttf

I find poking around the registry that there are several entries telling HTC apps to use "HelveticaNeue LT 55 Roman," which isn't installed. But there's also an entry under [HKEY_LOCAL_MACHINE\Software\Microsoft\FontLink\SystemLink] that appears to alias that font to tahoma, which is installed.

Any insights?
 
Last edited:

Captain_Throwback

Recognized Developer
I followed the below instructions, and it fixed it for me. I could probably make a cab for you, if you'd like (I have these fonts saved to my Storage Card)
To get the proper fonts to display in USB2PC, as well as the HTC keyboard, you need to grab 1e8c4d7d_manila and 6582c9b1_manila, rename them to their proper names (just add .ttf and open them with the default Windows Fonts thing), and add them to \Windows\Fonts\.
EDIT: Just in case you want to try it, I've attached a cab with the font files, that will copy them into the Fonts folder. LMK if it works.

EDIT2: Per your request, the font files are attached in a zip file. Perhaps the cab will help others who are running a no-manila ROM.

EDIT3: :eek: I appear to be one step behind you at every post, lol. Ah well. At least that wasn't really any work for me :rolleyes:.
 

Attachments

  • Fonts.zip
    178.5 KB · Views: 128
Last edited:

Wordsmith9091

Senior Member
Nov 16, 2008
482
3
Oh wait, I just realized where you mean to grab the manila files --as in from my existing install (or kitchen). Never mind -- you don't need to do anything, I can grab them myself. Thanks for the tip!

EDIT: Hah - As I was typing this, you got up both the zip AND the cab! Thanks for such a quick response, and for the upload. Gotta love XDA!
 
Last edited:

Wordsmith9091

Senior Member
Nov 16, 2008
482
3
It seems that the "Connect to PC" screen does (and likely the keyboard, but I can't test that since I'm running a version of my ROM that omits the HTC keyboard).

When I used FontCreator to rename a copy of Tahoma Bold (new filename "neue Helvetica LT 55 Roman.ttf", new font name "HelveticaNeue LT 55 Roman) and copied that into the windows folder, it used that for the Connect screen.

Both 35 and 55 are included in the cab Captain_Throwback put up.

Like I said, I think I noticed (in a previous build where I was using the HTC keyboard) that it looked right in landscape, but not portrait. So I wonder if it's possible the keyboard uses 35 in landscape, and 55 in portrait. Not near my home machine or phone anymore to take a closer look.

Does the system register those manila files (which are just TTFs in disguise) as fonts only when TF3D is running, and that's why we need to use these copies the rest of the time?
 

Da_G

Inactive Senior RD / Moderator Emeritus
Aug 20, 2007
3,332
1,563
Riverside, CA
Samsung Galaxy S22 Ultra
Yeah, manila registers the fonts when it's cooked in...

Although, both the HTC keyboard and usb popup are using the 35 font on my end, don't have the 55 font installed, or touchflo3d, it uses tahoma when 35 isn't installed..

I do see that they specifically call for the 55 font, but seem to use 35 fine without it.

Just an observation :)
 

Wordsmith9091

Senior Member
Nov 16, 2008
482
3
That's odd, because on mine it definitely was using 55, at least while TF3D is off. If I had a 55 (even if it was another font renamed), it used that. If I had no 55, it used courier. 35 was definitely installed and available.

I wonder if the behavior is different when TF3D isn't cooked in at all than it is if TF3D is cooked in, but disabled. Or maybe if there's something specific about the TF3D package I used. I'm at work, but I'll take a closer look at what it's putting in to the registry later.

Good news is, the cab works like a charm.
 

shaks1979

Senior Member
Jan 21, 2006
580
0
West Yorkshire
That's odd, because on mine it definitely was using 55, at least while TF3D is off. If I had a 55 (even if it was another font renamed), it used that. If I had no 55, it used courier. 35 was definitely installed and available.

I wonder if the behavior is different when TF3D isn't cooked in at all than it is if TF3D is cooked in, but disabled. Or maybe if there's something specific about the TF3D package I used. I'm at work, but I'll take a closer look at what it's putting in to the registry later.

Good news is, the cab works like a charm.

I found it works fine on my diamond rom if Manila is cooked in wether it is enabled or not - connect to pc screen, ezinput 1.5 & volume control use the correct 55 font however if manila is not cooked in the rom I had to add the 55 font for them to appear correctly and not as courier. The rom already had 35 cooked in from htc fontlink. Hope this helps