What's with the Windows\Fonts folder? - Windows Mobile Software Development

Hi all.
Okay, I come from a PC development background, and the windows fonts folder is pretty straight-forward. You put a font in there and it is "installed" and becomes one of the fonts in any application that lists them.
The folder on Windows Mobile is empty though, and putting things in there has unusual effects!
I recently installed a lockscreen mod that someone made for WVGA devices, and it looked very nice. The problem was that it used a specific font, and doesn't work as well without it. So, the dev linked the font and I downloaded it and put it in the windows\fonts folder, as common sense would dictate. (The font is called lcars.ttf, btw.)
This font then started showing up in other applications though. One of the versions of the facebook app used it, and IE started to use it too. This is why I'm a bit "uhhh?" at the idea of the windows fonts folder on PPC.
I'm guessing that the apps that had problems were not using specifically named fonts, but as to why they defaulted to just "whatever's in that folder" is beyond me!
Can anyone explain that strange behaviour and, better still, suggest a fix for it?

I don't know why the fonts folder acts like this, but this has been the behavior since PPC2000 days. Instead, just copy the font to the \Windows folder. It will still be selectable AND other applications won't default to using it.

chmckay said:
I don't know why the fonts folder acts like this, but this has been the behavior since PPC2000 days. Instead, just copy the font to the \Windows folder. It will still be selectable AND other applications won't default to using it.
Click to expand...
Click to collapse
Cheers mate - I'll give that a go.

Related

How to Change Outlook Mobile Fonts on WM6??

I have successfully changed System fonts; popup menu fots etc. howver no what what i do my Today and Outlook Mobile Fonts (font that displays the messages in inbox etc) don't change.
please let me know how to change those....
Anyone there to help???
How did you change the system font?
I'd like to change the system font to a simple arial font and can't figure out how to do that. Any ideas?
Also, any ideas about how to change the menus so they show up as a list rather than tiled icons?
copy the required font to Windows/Fonts directory of your windows mobile...
Check the following registry sections:
HKEY_LOCAL_MACHINE\System\GDI\SYSFNT\Nm
HKEY_LOCAL_MACHINE\System\GWE\Menu\BarFnt\Nm
HKEY_LOCAL_MACHINE\System\GWE\Menu\PopFnt\Nm
HKEY_LOCAL_MACHINE\System\GWE\OOMFnt\Nm
in Nm use the font you have just pasted in Windows/Fonts
by the way i have also found a way to change the system/outlook/today font:
e.g; i like Calibri Font, so i renamed the regular Calibri font as Tahoma.ttf and bold calibri font as tahomabd.ttf and replaced the ones in Windows... reset and it was changed.
.
Just a tip for anyone, there is a chance you will run into problems using the windows\fonts directory for a system font file, I highly recommend placing the font directly in the Windows directory, also the last installed font in the Windows\fonts directory will be used, for example, if you drop Impact.ttf in the fonts direcotry, and power off/on the device, you will have impact as the font in PocketIE.
I just change the GDI setting myself, and drop the same file in the windows directory, and the fonts directory.
I only bother to mention this, because quite awhile back I was using the fonts only directory, and ran into issues, not implying that everyone will have the same issues.
I imagine if you just did the filename changing, you wouldnt even need the registry hacks too, good pointing that out, I never figured out that one, and went around and around at one time looking for a date plugin that used the font specified in the registry.

Windows Fonts Inquiry: Clarified

I checked the Fonts folder under \Windows and did not see any. I would like to change the clock font to that of an LCD screen/alarm clock. I believe I have found where to change that in registry but I'm wondering if I can just drop some fonts from my PC onto the phone and just go.
*This one, really really really, didn't need to be moved. One could have posted a link to the Clock thread. I would have appreciated that. There is, however, another question here related to fonts in general on the phone. I searched, couldn't find. However, if you know a thread, by all means move this one there.
For the second time, don't be so quick to just move the thread.
l0lcats said:
I checked the Fonts folder under \Windows and did not see any. I would like to change the clock font to that of an LCD screen/alarm clock. I believe I have found where to change that in registry but I'm wondering if I can just drop some fonts from my PC onto the phone and just go.
*This one, really really really, didn't need to be moved. One could have posted a link to the Clock thread. I would have appreciated that. There is, however, another question here related to fonts in general on the phone. I searched, couldn't find. However, if you know a thread, by all means move this one there.
For the second time, don't be so quick to just move the thread.
Click to expand...
Click to collapse
You shouldn't have to change anything in your registry, regarding your clock font. Just drag and drop a font file (.ttf) from your PC to the \Windows folder itself. Don't worry about placing anything in the "Fonts" folder. You'll need to edit the .cpr (also located in the \Windows folder) and replace the current clock font with the name of the LCD font.
EDIT: Make sure you rename the font to have "zz" at the beginning (ex. Tahoma = zztahoma.ttf). That way, your clock font won't be used to everything else in your phone. If you don't do this, you'll notice your Internet Explorer and Opera Mini browser (if you have it) will use the same font as your clock.
Rip Syntaxx said:
You shouldn't have to change anything in your registry, regarding your clock font. Just drag and drop a font file (.ttf) from your PC to the \Windows folder itself. Don't worry about placing anything in the "Fonts" folder. You'll need to edit the .cpr (also located in the \Windows folder) and replace the current clock font with the name of the LCD font.
EDIT: Make sure you rename the font to have "zz" at the beginning (ex. Tahoma = zztahoma.ttf). That way, your clock font won't be used to everything else in your phone. If you don't do this, you'll notice your Internet Explorer and Opera Mini browser (if you have it) will use the same font as your clock.
Click to expand...
Click to collapse
Thanks for clarifying that. I haven't changed the home screen that defaults when one installs Kavana's ROM. I've modified it and added panels with CHome Configurator though. Would you happen to know the name of the .cpr file I'd need to edit?
Edit: DERP! That'd be the CHome_320x240.cpr file wouldn't it?
l0lcats said:
Thanks for clarifying that. I haven't changed the home screen that defaults when one installs Kavana's ROM. I've modified it and added panels with CHome Configurator though. Would you happen to know the name of the .cpr file I'd need to edit?
Click to expand...
Click to collapse
Check your PM (Private Messages) in about 4 minutes.
Rip Syntaxx said:
EDIT: Make sure you rename the font to have "zz" at the beginning (ex. Tahoma = zztahoma.ttf). That way, your clock font won't be used to everything else in your phone. If you don't do this, you'll notice your Internet Explorer and Opera Mini browser (if you have it) will use the same font as your clock.
Click to expand...
Click to collapse
I guess that is dash/excalibur specific, because I installed the zarmalite.ttf on my blackjack, and it took over operamini and some(but not all) of my mortscript options pages. Since it started with "z", I thought it would be alright, but I ended up having to remove the font completely. Also, my clock font never changed at all, even after editing the cpr with the new font.
showaco said:
I guess that is dash/excalibur specific, because I installed the zarmalite.ttf on my blackjack, and it took over operamini and some(but not all) of my mortscript options pages. Since it started with "z", I thought it would be alright, but I ended up having to remove the font completely. Also, my clock font never changed at all, even after editing the cpr with the new font.
Click to expand...
Click to collapse
Same thing happens to me, after a lot of tries, I gave up on the idea of changing the font.
showaco said:
I guess that is dash/excalibur specific, because I installed the zarmalite.ttf on my blackjack, and it took over operamini and some(but not all) of my mortscript options pages. Since it started with "z", I thought it would be alright, but I ended up having to remove the font completely. Also, my clock font never changed at all, even after editing the cpr with the new font.
Click to expand...
Click to collapse
Really??? That's strange. I'd think that this would work for any Windows Mobile device. Try this... Transfer over Tahoma (or another font similar to Segoe) to your device just like you did ArmaliteRifle. Rename it "aatahoma.ttf" so that Opera Mini and PIE will pick it up. Let me know how it goes, showaco.
EDIT: Also, it is IMPERATIVE that you name everything correctly. Double-click the ArmaliteRifle font file on your PC. Whatever name is listed needs to be what you place in the .cpr file. Place that particular name in the Font Family section of the clock area. It sounds like this might be why your phone picked up the font, but not your clock.

One of the fonts is corrupt or something

Both youtube (app) and facebook (app), as well as a couple other apps have some weird font that looks like a old fashioned LCD clock. For example H looks like: |-|
Any idea how to fix that?
whats the last app you installed before this happened? A while ago i installed an app that installed the "Wingdings" font on my ppc and switched it to that in some applications.
Can't remember the name of the app right now.
The font only shows up in apps I don't use frequently, so I'm not sure what caused it.
Is there a way to "see" all my fonts and what they look like?
not sure how to check with fonts are installed, but using a registry editor browse to:
HKLM\Software\HTC\Youtube and scroll down to "DefaultFont" what's that string value set to? over here its "Helvetica Neue OTS"
I guess I should mention I downloaded the current youtube app from youtube itself, and that is the one with the LCD style font. If I brows to the original HTC youtube in /windows/ it looks fine. I didn't see any reference to fonts in htc/facebook in the reg either.
Found it. It was in \windows\fonts\digital-7.ttf
Erased (moved) it and the apps look fine. God that was annoying.

[Q] how to change system app icons

okay i have searched endlessly both thru here and Google have managed to find a program to do it for you apk edit works great for market apps not so great for system apps tried the way described in the icon thread and that also failed get errors like icon disappears or just doesn't perform its function i.e not making phone calls,opening settings etc... if any one is willing to shed some light on how i can accomplish this please help me
djnarcotics said:
okay i have searched endlessly both thru here and Google have managed to find a program to do it for you apk edit works great for market apps not so great for system apps tried the way described in the icon thread and that also failed get errors like icon disappears or just doesn't perform its function i.e not making phone calls,opening settings etc... if any one is willing to shed some light on how i can accomplish this please help me
Click to expand...
Click to collapse
If the only reason you're wanting to change the Icon is for how it appears on your homescreen, then I'd say the easiest way is to use Desktop Visualizer, available in the Market. You can alter/edit/change how the icons are on your homescreen, but the icon will still be the original from within your app drawer, if you use that method. But yea, if it's just for homescreen appearance, that's the easiest way. If that's not what you're after, and you want to change the icon completely, then I beleive you could use 7zip to open up the .apk, find the png for the icon, and replace/alter/edit. I did it that way once, but it was just for a couple of icons, and I was more or less just messing around with things. But it worked fine. Then I learned of Desktop Visualizer and said forget about it.
Also, if you're using a rom that supports easy theming - CM7 with the theme chooser, or MIUI with the theme manager - you could build a quick theme with all of the icons you want to change. I did this with the Aelous HD theme for MIUI by adding the icons that weren't already themed. You put the icons in the "icons" folder with the format packagename.png - it usually looks something like com.something.something.png. I'm sure there's a similar way with CM7 themes.
Easy Way
I use ADW EX. It lets you easily change any app icon. It's a paid app but is really worth it for all the extras. Be aware though, that if you're using a sense rom, ADW will also replace your rosie. Another cool thing about ADW is that there are a ton of icon packs available or you can just dowload pngs from the web and use those.
I'm not 100% sure but I think Launcher Pro also lets you change icons in a similar way.
Well I use go launcher which does basically everything the other launchers do but I want to change the app drawer icons themselves o tried the 7zip method but no avail either the app icon completely disappears or it won't open at all. I.e. browser and system.changing the phone.apk makes the my phone go into FC mania.any other way or is there something I'm missing or just not doing right
Sent from my PC36100 using XDA App
djnarcotics said:
Well I use go launcher which does basically everything the other launchers do but I want to change the app drawer icons themselves o tried the 7zip method but no avail either the app icon completely disappears or it won't open at all. I.e. browser and system.changing the phone.apk makes the my phone go into FC mania.any other way or is there something I'm missing or just not doing right
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
The way I do it may seem like the hard way but this is what I do!
I use a program called App Manager 4.9 (google it or search for it on here)
I extract the apk I want to MOD from my EVO using root explorer or if you're on windows and you got ADB working properly, I use the program called DroidExplorer
Anyways, assuming that you got App Manager 4.9 up and running....I place the .apk into the modding folder...bring up App Manager 4.9 and hit 22...select my project, hit 9 for decompile....once that's done, I go into the project folder and find the folder drawable-hdpi....sometimes is called drawable-hdpi-v4 depending on what rom you're using.....I then find the icon I want to change...change it!....and then run up app manager again, press 22...select my project....then hit 11 for compile...once that's done....I either use droidexplorer once again and place it in the correct folder it came from or connect the device to the computer, open up usb storage and place it in a folder...use root explorer to then move it to the correct folder....reboot the device once everything is said and done, and BOOM!...is done!!
Like I said, this is too much work for some people BUT I rather do it this way because I know is done right and I don't have to settle for temporary half ass apps trying do it!
Changing Icon
k2buckley said:
If the only reason you're wanting to change the Icon is for how it appears on your homescreen, then I'd say the easiest way is to use Desktop Visualizer, available in the Market. You can alter/edit/change how the icons are on your homescreen, but the icon will still be the original from within your app drawer, if you use that method. But yea, if it's just for homescreen appearance, that's the easiest way. If that's not what you're after, and you want to change the icon completely, then I beleive you could use 7zip to open up the .apk, find the png for the icon, and replace/alter/edit. I did it that way once, but it was just for a couple of icons, and I was more or less just messing around with things. But it worked fine. Then I learned of Desktop Visualizer and said forget about it.
Click to expand...
Click to collapse
Hello,
I have a Samsung Galaxy Young GT-S6312 Dual sim, rooted, deodexed, working cwm.
I used root explorer and extracted secsettings.apk and opened the folder which I extracted. In that I went to res/drawable-hdpi and replaced ic_system_settings.png wit my own icon. I archived the folder and renamed it to .apk and pushed it to system/app and replaced the original apk. I rebooted my phone and got a boot loop. Next time I extracted systemui.apk and went to folder, opened res/drawable-mdpi and replaced the settings icon whith my own icon. After the phone rebooted there was no change in the icon. I actually wanted to change the settings icon fully like on the home screen, app drawer and once I open settings also. Please suggest a method for doing it thanks in advance.
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
My Device:- Samsung Galaxy Young GT-S6312
Rom:- Holo Inspire v1.1

[Q] What happened to the fonts?

My main font I used in the things I built was roboto-thin, and all of a sudden, its not in the list of fonts. I can still see it on the older clocks. Just wondering if this was purposeful or my fault. Thanks.
Sent from a phone.
shbaldw said:
My main font I used in the things I built was roboto-thin, and all of a sudden, its not in the list of fonts. I can still see it on the older clocks. Just wondering if this was purposeful or my fault. Thanks.
Sent from a phone.
Click to expand...
Click to collapse
yes i things build was roboto
shbaldw said:
My main font I used in the things I built was roboto-thin, and all of a sudden, its not in the list of fonts. I can still see it on the older clocks. Just wondering if this was purposeful or my fault. Thanks.
Sent from a phone.
Click to expand...
Click to collapse
Zooper removed the support for built-in fonts with one of the later updates. If you want to continue to use Robot, download it and put the ttf files in Zoopers "Fonts" folder.
kwerdenker said:
Zooper removed the support for built-in fonts with one of the later updates. If you want to continue to use Robot, download it and put the ttf files in Zoopers "Fonts" folder.
Click to expand...
Click to collapse
Got it working. Thanks!
If you want to get all of the fonts back copy them from /system/fonts to the Zooper font directory. This hosed me up for a bit as well.

Categories

Resources