[Q] Editing settings.db for font size adj? - Desire Q&A, Help & Troubleshooting

Hi, the ICS clock screen has a bit of an issue, the fonts are to big. I'm using it in dGB and oxygen and it comes included in another ROM.
If I change the font size in spare parts its fine and I prefer the whole overall Size difference. unfortunately after reboot the settings go back again to normal size.
The actual setting takes place in data/com.android.settings.providers - settings.db
It changes font_scale to 0.95 from 1.0
Is there a build.prop I can add to keep it at 0.95 at boot? I've tried ro.com.font_scale =0.95 as the date format and some other settings in there (settings.db) are referenced that way in build.prop.
No joy.
Would appreciate some help here, its doing my head in.

try to reduce your lcd density instead.

That's a bit overkill, its really only one app. And I can change it fine (to 0.95) with spare parts. Just doesn't stick.

Related

Connection Manager in OzVGA has a gap in the bottom...help V

Hey Vjaayyyyyyyy The new rom has a gap in the bottom of the connection manager. Do you know of anyway to overcome this?
Mike
Getting the same problem
How annoying
Hmm, haven't looked into it yet. I've not touched the new ROM yet, but my Universal rom is so screwed due to the stuff I do to it, I think it's time for a refresh. what rom are you using?
On the Phone Dialer, all we needed to do was copy in two bitmaps to replace the originals. Send me over a copy of the manager, or otherwise point me to the rom, and I'll see if I can do similar. At least this one is more VGA compatible then the last few. Try resource hacking it to see if it corrects it.
BTW - Sctojen - I notice you've still got the vertically offset (ie incorrect) titlebar text. Have you tried changing the font or playing with your window metrics (try CETuner to play with this stuff). I'm using a font called VJNina, posted somewhere or other on the board.
V
Vijay the following is the test imate rom I am using. Everything else rendering wise is fine.
i-Mate JasJar (PU10) Rom 1.30.68 WWE
Radio 1.09.00
Protocol 42.42.P8
Vj.
Not to sure what you mean by the horizontal text. Am Guessing from what i could make out do you use VJninja as like a system font. If so i will do a search and give it a try.
Also i notice in your screen shot you have got a nice looking battery bar sitting at the top of your screen where did you get this from.
Unfortunatly the new imate test rom comes with battery icon below (couldn't really get a good screen shot as it was in charging mode but with yours i notice you get several little bars with the 1 in the new imate rom the icon has just 2 big bars full and half full yours looks a little bit mor accurate. i would like to find out how to remove the one on mine and give yours a try.
Many thanks for all your help mate.
Scott
scotjen1: the vertical offset of your caption - in your screenshot, "Start" is touching the top of the caption bar. In mine, it's in the middle where it should be. This can be fixed, someone asked me once how I did it, I can't remember, but basically I use VJNina as my system font and CETuner to fix my "metrics". Have a look in the VGA thread for details (I think). But that's just cosmetic.
Battery bar - no idea. I thought it was built in. I'm not running much 3rd party stuff on my universal, since I only use it for development. I don't think I ran the extended rom cabs, so again, I'm not sure. I'll have to upgrade to the new rom soon and start playing. I haven't had time to look into any of it yet Busy weekend coding...
V
vijay555 said:
Battery bar - no idea. I thought it was built in. I'm not running much 3rd party stuff on my universal, since I only use it for development. I don't think I ran the extended rom cabs, so again, I'm not sure. I'll have to upgrade to the new rom soon and start playing. I haven't had time to look into any of it yet Busy weekend coding...
V
Click to expand...
Click to collapse
I think your battery bar is from SmallMenu/Plus (I think you told me once that you used this?). You can turn it on/off in the SmallMenu settings. (well - it certainly looks like the smallmenu battery indicator!)
man, do I have egg on my face.
Riceburner is correct, that's the battery icon from SmallMenu. You know, I never noticed? I use smallmenu on my Magician, which is my day to day phone, but I disable the battery icon because I use my VJToggleToday/PhoneAlarm hack instead. My universal hasn't been modded much at all yet by me, so I must have just left the icon on and not noticed. It's useful though.
V
For those interested, here's a link to the Nina font,
http://www.vijay555.com/nina.zip
and VJNina, a cut down version 1/2 of the size, but removing certain rarely used (by me) international characters.
http://www.vijay555.com/vjnina.zip
V
VJ, i guess its got nothing to do with the font. I had the start caption at an offset when i used to use OZvga to make the reg changes. I guess ozvga messes with some unwanted reg setting screwing it up....
However, if you copy the corresponding dlls (with 96dpi), and change the LogicalPixels reg values, the caption is center alligned!
Cheers,
San
Does anyone have the problem I have with the new rom, the new battery icon up on top bar still says its plugged into power when you unplug it from the computer, if I reset it it fixes it. Does anyone know how to fix this.
dreamtheater39: I'm sure it's not just the font, no reason why it would be. But I monkey around with various metrics, scrollbar size etc, as soon as I change resolution. So it's one of those. Not sure which, I just always play with a few by default... seems to correct the problem itself.
I just use VJNina because I find it a neater font then Tahoma at those resolutions. It's a hangover from my SPV days.
V
seal said:
Does anyone have the problem I have with the new rom, the new battery icon up on top bar still says its plugged into power when you unplug it from the computer, if I reset it it fixes it. Does anyone know how to fix this.
Click to expand...
Click to collapse
I have this problem too. Only when using Real VGA though, so my guess is that it's a problem with a slightly incompatible 96 dpi .dll file? (Of course, I don't really know what I'm talking about here, so feel free to expose my ignorance, everybody! )
dreamtheater39 said:
VJ, i guess its got nothing to do with the font. I had the start caption at an offset when i used to use OZvga to make the reg changes. I guess ozvga messes with some unwanted reg setting screwing it up....
However, if you copy the corresponding dlls (with 96dpi), and change the LogicalPixels reg values, the caption is center alligned!
Click to expand...
Click to collapse
The issue is with the system font size. For some reason, if you try to increase the size of the system font on WM5 it leaves the font at the same size, but raises it up. By default OzVGA tries to increase the size of all of the fonts when you switch to VGA mode. If you want to continue to use OzVGA and you don't want to deal with this, just go into the settings and change the System Font size for VGA mode to 900.
Brett
Brett
Worked a treat
Thanks
scotjen1 said:
Getting the same problem
How annoying
Click to expand...
Click to collapse
Hi, i am also getting this problem, I ahve patched with other utilities. Except this one.
Any one please suggest the changes to be done. Cheers

Bigger font size /whole system/

Hi there,
I`ve already search but didn`t find relevant informations. Is there any way to change size of ALL fonts in the whole WM6? Cause when I adjust the size trough screen setting it changes only size ONLY on today screen. I`ve tried SKTools but it didnt changed everything.. I would like to have bigger font in start menu, file explorer, programs menu..everywhere..I think it will be easier to navigate through menus with fingers when having bigger font..
thanks for any ideas

Froyo contacts

Hi,
Was wondering is the standard froyo contacts doesn't list all the alphabetical letters on the right hand side? From all the froyo release so far I see the right side list missing letters : B, E,H, K, N, Q,T,W
Can we someone enable these characters again? I can live without these characters but it's just annoying...
Having the same issue here too...
And pressing the back softkey after playing a song in Music Player also causes some letters to disappear.
same issue in my sgs...strange
Yes, mine too (JPO).
The letters missing: G, H, O P
Wow, I got JPO as well..... hmmm seems the letters appears based on something. I did remember awhile ago, some letters start appearing.
It can't be by contacts, cos I got google contacts that have "b" in it but it still doesn't show the letter.
i flashed from jm1 to jpa. maybe this is the problem?
lost: GHOPX
for me it seems that if a letter has little contacts it doesnt show, and the next letter after it also dissapears..
any1 can confirm?
It's a feature. It's meant to enable users to quickly browse through their contacts. Yes, it sounds rather strange but what they intended was that you don't waste your time trying to get the the correct letter (particularly those with larger fingers) but rather in an approximate area in which you can therefore thumb up or down to the right contact.
In some ways it works, in other ways it can be annoying.
It's because of size of the fonts and the size of the top search box. There is no space for all the letters to be shown. Set lcd density to 200 and you'll see the magic.
For set lcd density to 200 have you used http://forum.xda-developers.com/showthread.php?t=762070
mobilx said:
It's because of size of the fonts and the size of the top search box. There is no space for all the letters to be shown. Set lcd density to 200 and you'll see the magic.
Click to expand...
Click to collapse
where i can change this value?
You can use that app or you can change it manually by changing build.prop ro.sf.lcd_density setting to 200. Be careful with this because TW doesn't work with setting below 200. Make backup first an enable debugging so you can revert through the adb. Read all about it first in the forums!!!
yikes lcd density at 200 makes everything looks aweful......is there any other way to get it to show all the alphabet just like in eclair?
thats really strange, didnt notice though.
although it can be shown by changing the lcd density to 200, but all other application becomes not full screen, it is not the perfect solution, someone please kindly make a study on this issue, it seems caused by the inproper layout parameter of contacts resource.
I guess eclair didnt have the edit box for "search" taking up space....now in froyo with the new search box, theres lesser room!
very annoying really though Don't want to change the LCD density as it screws up other apps.
haoning said:
although it can be shown by changing the lcd density to 200, but all other application becomes not full screen, it is not the perfect solution, someone please kindly make a study on this issue, it seems caused by the inproper layout parameter of contacts resource.
Click to expand...
Click to collapse
You can fix the other apps with spareparts app from the market. Compatibility mode option should be unchecked.
Tw can be replaced with the adw or launcher pro. The dialer and calculator are not in full screen view only.
Like I said , read all about it in the forums.
I personaly like the lcd tweak very much because of a larger resolution effect. You get more space on the display for icons and widgets and you can see more stuff in apps without scrolling.
Sent from my GT-I9000 using Tapatalk

[Q] HowTo Scaling fonts permanently?

Hi!
Spare Parts permit to reduce the scaling of fonts.
This is the logcat line:
Code:
Code:
03-31 10:32:07.202: INFO/ActivityManager(1314): Config changed: { scale=0.85 imsi=222/99 loc=it_IT touch=3 keys=1/1/2 nav=1/1 orien=1 layout=34 uiMode=17 seq=11 themeResource=null}
After a while (i.e. during a restart of ADW Launcher EX or a reboot) fonts scaling resets its value to 1.0.
Q: Is it possible to hardcoding this value by writing a config file (if it exist?)
PS: repeated thread. sorry for that. It will never suceed again. If i am OT tell me. New to DHD, proud to be here
LCD Density changer also does this http://forum.xda-developers.com/showthread.php?t=765639
Free version
Is also a lite version and fully sponsored by adds. The lite version only makes it possible to temporarily change a density setting. This setting will be undone when you reboot the phone. It uses "hot reboots" and no "cold reboots". It doesn't rely on the build.prop density parameter. Should in principle work on all devices. The free version is attached to this post
Full version
Full version (no adds + with the possibility to save the density and/or write it to the build.prop + desktop widgets for fast loading temporarily saved density setting) can be bought from from the Android Market (0.75 Euro). Search for "LCD Densitiy Changer"
I bought it for a SE X1 Mini Pro running 2.1 - it does what it says on the tin, and holds the density change through reboots etc.
paul c said:
LCD Density changer also does this http://forum.xda-developers.com/showthread.php?t=765639
Free version
Is also a lite version and fully sponsored by adds. The lite version only makes it possible to temporarily change a density setting. This setting will be undone when you reboot the phone. It uses "hot reboots" and no "cold reboots". It doesn't rely on the build.prop density parameter. Should in principle work on all devices. The free version is attached to this post
Full version
Full version (no adds + with the possibility to save the density and/or write it to the build.prop + desktop widgets for fast loading temporarily saved density setting) can be bought from from the Android Market (0.75 Euro). Search for "LCD Densitiy Changer"
I bought it for a SE X1 Mini Pro running 2.1 - it does what it says on the tin, and holds the density change through reboots etc.
Click to expand...
Click to collapse
Thank you for your prompt answer.
I have LCD Density changer. This program changes the density of the screen and this is a nice setting but is not what i search. Spare Parts reduce all and only the fonts for a factor (see in the "CODE" section in my first post) maintaining the density and all graphics unchanged.
Spare parts setting do the job, but sometime a process (unknown at the moment) do a font reset to the default dimension.
What i search is to know what configuration file has to be tweaked or modified to have this factor of reduction permanent.
Any idea on that?
Thanks in advance
-----------------------------
axl409 said:
scrivi su google "Cambiare dimensione e font dei caratteri", primo risultato. scusa ma non posso postare link.
i reply in italy, because who did the question is italian
Click to expand...
Click to collapse
Thanks a lot but is NOT what i mean. (i answer in english because is the official language of the site).
The link you provided explain Spare Parts. This is the application i use and do what i want. (read better post #1 and #3!).
BUT
Spare Parts does NOT maintain settings! after a while the font is reset to default!
For that reason (and this is the question) i want to know if the value of the font size can be hardcoded in some configuration file.
I don't know much about programming, but I think that at the moment you can't change default font scaling value, since it always defaults to "1" - it's hardcoded in source code and not being read from any configuration file. Take a look here: goo.gl/1M5ch , so you can see it by yourself.
I'd say that we can try changing line #314 to:
Code:
fontScale = getFloat("ro.test.fontScale", 1);
and see if allowing users to change fontScaling parameter in build.prop breaks any app or not.
I did some research on the code and the fix was much easier than I thought. Would you please test this change:
http://review.cyanogenmod.com/4931
and share your experience. It should make fontScale parameter set by SpareParts permanent over time. If it changes without a reason, please post the steps to reproduce the problem (which app caused the change etc.).
A patch to allow permanent font scaling has been merged into cyanogen source, it's available from nightly #64.
or you could modify build.prop yourself
ro.sf.lcd_density=240 (change to a lower value)
IE; ro.sf.lcd_density=130
Jonesjw362, I think you did not get the point of Font Scaling parameter either. The thing is that if you change your screen's density parameter, not only do fonts get scaled down but everything is smaller as well (like graphics) and it does not always look good. If you change Font Scaling though, only fonts get scaled up/down and it looks much prettier to my eyes.
kszaq said:
Jonesjw362, I think you did not get the point of Font Scaling parameter either.
Click to expand...
Click to collapse
i misunderstood sorry..
paul c said:
LCD Density changer also does this http://forum.xda-developers.com/showthread.php?t=765639
Free version
Is also a lite version and fully sponsored by adds. The lite version only makes it possible to temporarily change a density setting. This setting will be undone when you reboot the phone. It uses "hot reboots" and no "cold reboots". It doesn't rely on the build.prop density parameter. Should in principle work on all devices. The free version is attached to this post
Full version
Full version (no adds + with the possibility to save the density and/or write it to the build.prop + desktop widgets for fast loading temporarily saved density setting) can be bought from from the Android Market (0.75 Euro). Search for "LCD Densitiy Changer"
I bought it for a SE X1 Mini Pro running 2.1 - it does what it says on the tin, and holds the density change through reboots etc.
Click to expand...
Click to collapse
LCD Density changer makes colors and icons look ****ed up

Amending DPI On Device...

Well heres one for the books.
I set my DPi to 400 on the device. Went to put it into power saving mode and it changed the screen density to HD which is fine.
However with the Small condensed option selected under display, it now prevents ANY system modifications to the DPI settings which is actually insane! :/
Any ideas on a work around? Im rooted and even amending the Build.prop and using an app seems to kill getting a lower DPI settting
This is a known issue. You have to use adb shell wm density XXX, and avoid changing resolution in the future.
Yeah but when setting up the device you have to choose either Small or Large Condensed Text :/
I'm not sure what problem you're having. I had my content scaling set to small, and text size set to small/very small (can't remember), and just did an adb shell & wm density 520 without a problem.
Same thing happening to me. I tried to change it via build.prop and by the adb shell command. Still at 640.
can someone tell me what the STOCK DPI values are for "standard" and "condensed" mode? (it can be checked with DPI Checker from play store)

Categories

Resources