[HELP]editing swiftkey preferences - Nexus S Q&A, Help & Troubleshooting

Ok so swiftkey has three options for keyboard size on portrait mode(small, medium and large). I currently have it on medium but i find it to be too big. But on small is also too small. i would like the size between normal and small. so i went to /data/data/com.touchtype.swiftkey.phone.trial/shared_prefs/ and saw that the changes are stored in a xml file called "com.touchtype.swiftkey.phone.trial_preferences.xml". Using root explorer i opened up the file and saw the line "pref_portrait_key_height_key" with the value 1. when i changed the swiftkey portrait key height in the aplication to small, the value changed from 1 to 0.8 on the xml file. So i tried changing the xml file value to 0.9 but it does not work, the changed are not saved on the xml file.what am i doing wrong?
This file is duplicated in /data/user/0/com.touchtype.swiftkey.phone.trial/ but i also tried editing that file.
Could anyone help me out?

anyone?

Related

HTC Home plugin for Smartphone

Hi,is it possible to modify this plugin(http://www.smartphonefreeware.mobi/download-htc-home-plugin-smartphone.html) for 176x220 resolution?I tryed to install this plugin on my HP iPAQ 514 ,it works but it's little to big.
Thanks!
should work this way, after you install it, you can grab the whateveritscalled.home.xml file from ."..\Device\Application Data\Home" and edit that (I just used notepad). The plugins have various size values (height,width), and location values (x,y), and you'll have to edit the "skin" or the images associated with the plugins as well to fit the size you want. The images are usually stored in their own folder underneath "...\Application Data\Home" as well.
at least that's usually how it goes...I'm assuming this theme is no different.
bvone21 said:
should work this way, after you install it, you can grab the whateveritscalled.home.xml file from ."..\Device\Application Data\Home" and edit that (I just used notepad). The plugins have various size values (height,width), and location values (x,y), and you'll have to edit the "skin" or the images associated with the plugins as well to fit the size you want. The images are usually stored in their own folder underneath "...\Application Data\Home" as well.
at least that's usually how it goes...I'm assuming this theme is no different.
Click to expand...
Click to collapse
Ok,thanks,i'll try!
It's probably not going to work this way. You will have to edit the graphic files and resize them.

simply reading japanese

I know there are lotsa fun cabs and whatnot out there for enabling japanese support but i thought i should add this just to get the knowledge out there. I already had a japanese input method and all the cabs for japanese usually screwed up my H/W keyboard in some way, changed font sizes, and displayed the calender, alarm, etc in japanese (which i didn't want).
This method is simply to add japanese character support. (you will need a registry editor)
1. Place the font inside the windows\Fonts folder (I'm using msgothic)
2. go to [HKLM/System/GDI] and create a new value called FontLinkMethods with type DWORD and set the value to 1.
3. go to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]
here there should be a value called Tahoma with value:
\windows\tahoma.ttf, Tahoma
we will append this value with:
;\windows\Fonts\MSGOTHIC.TTF, MS UI Gothic
(if you want to use other fonts such as meiryo or whatnot, you will need to adjust the name properly. I'm not sure but the i think the name follow the file name has to be the name given in the font file. If you look at meiryo, the given font name is in katakana which could be troublesome to input)
in the end, we'll have the value:
Tahoma=\windows\tahoma.ttf, Tahoma;\windows\Fonts\MSGOTHIC.TTF, MS UI Gothic
i also added that last chunk (with the msgothic) to all the other values i had inside SystemLink since i wasn't sure which fonts are used when.
the fontlinkmethods value enables font linking. by tacking on a font to the given, we provide an alternative. Whenever WM attempts to read a character and can't, instead of spitting out the square, it now falls back to the linked font. atleast, this is my understanding.
this works great for me so far. opera and sms can display japanese now. haven't checked emails.
if my logic follows correctly, you can throw on more fonts using the same method and appending each value and they should work. haven't tested it tho.
enjoy

How to correct this layout ? [SOLVED]

Hi guys,
Any good ideas how to :
1- correct this layout in the first screenshot?
2 - reduce font size in the second screenshot?
Forward thks
SEE HERE POST 18 & 19 http://forum.xda-developers.com/showthread.php?p=4432627#post4432627
it looks like my topaz when i tried new font, so try to change yours and it should be ok
Agreed with the above. It's the font size. Either 1. Install a new font. or 2. Re-make the font a little smaller.
prdic said:
it looks like my topaz when i tried new font, so try to change yours and it should be ok
Click to expand...
Click to collapse
Well ... thks for those precious information. Unfortunately, this is what I thought ... too. I should have added that I wanted to keep the fonts. I like those two
I tried to change font size with SK or tweak but with any results.
Any other suggestion ?
Have you tried setting up an alias? Its a registry tweak
Code:
HKLM → System → GDI → V1 → FontAlias
Key: [B]<fontNameToChange>[/B]: [B]<fontSizeToChange>[/B]
Value: [B]<newName>[/B]: [B]<newSize>[/B]
for example:
Code:
key: MS Sans Serif:-13
value: Arial:-14
will change all MS Sans Serif fonts in size 13 to Arial size 14
but you have to find out which size you have
keep in mind that this change is system-wide, it will affect not only today screen, but all apps with same fontname and size.
while i havent tried this, couldnt you edit the lua file (CalendarConsts.luac) and just change the line font size in there?
ztracenyDen said:
Have you tried setting up an alias? Its a registry tweak
Code:
HKLM → System → GDI → V1 → FontAlias
Key: [B]<fontNameToChange>[/B]: [B]<fontSizeToChange>[/B]
Value: [B]<newName>[/B]: [B]<newSize>[/B]
for example:
Code:
key: MS Sans Serif:-13
value: Arial:-14
will change all MS Sans Serif fonts in size 13 to Arial size 14
but you have to find out which size you have
keep in mind that this change is system-wide, it will affect not only today screen, but all apps with same fontname and size.
Click to expand...
Click to collapse
Hi,
I have allready alias in the registgry and how you said ... the most difficult is to find which size I have. I tried several settings out but gave nothing. Probably I used inapropriate combinations. How to find it out ?
However, something looks strange ...
This was my registry setting before I tried to change fonts size
[HKEY_LOCAL_MACHINE\System\GDI\V1\FontAlias]
Arial:-14="Tahoma:-12"
MS Sans Serif:-13="Tahoma:-9"
version=dword:0002000C
This is my registry setting after I changed fonts size
[HKEY_LOCAL_MACHINE\System\GDI\V1\FontAlias]
Arial:-14="Tahoma:-12"
MS Sans Serif:-13="Tahoma:-9"
version=dword:0002000C
And whatever fonts I install (with diffent sizes), registry settings above remains identical. That means there is no relation beetwen original installed fonts and graphic fonts, no ? The best way is certainly to change size in the original graphic font. I saw somewhere an app and a tuto explaining how to create your own graphic fonts ... Have to find it again
font size
hi bro, look like only the numbers are the problem. You can use font creator to resize them. ( but its NOT freeware ).
Can you upload that font that you are using here?
kangmas said:
hi bro, look like only the numbers are the problem. You can use font creator to resize them. ( but its NOT freeware ).
Can you upload that font that you are using here?
Click to expand...
Click to collapse
Hi,
'scuze ... bro ? what does it means, bro ?
Have you ever seen something on the net which is not free ?
Well .. I can post them. Could you resize them and repost then of course ?
kangmas said:
hi bro, look like only the numbers are the problem. You can use font creator to resize them. ( but its NOT freeware ).
Can you upload that font that you are using here?
Click to expand...
Click to collapse
Question regarding using Fonts Creator application ...
The installed font for TF3D uses :
cour.ttf
Helvetica Neue OTS.ttf
HelveticaNeue LT 35.ttf
HelveticaNeueOTS.ttf
Tahoma.ttf
Tohamabd.ttf
Wingding.ttf
Which one of those fonts do I need to resize with the app ?
thereisntone said:
Hi,
And whatever fonts I install (with diffent sizes), registry settings above remains identical. That means there is no relation beetwen original installed fonts and graphic fonts, no ? The best way is certainly to change size in the original graphic font. I saw somewhere an app and a tuto explaining how to create your own graphic fonts ... Have to find it again
Click to expand...
Click to collapse
I think you misunderstood what alias is supposed to do
You have to create new key with font name and size, so in your case, the name of key should be something like "Comic Sans: -18" (that minus sign stands for relative height, as you know it from Word, without minus sign it will take a height in pixels). The key value then should be for example "Comic Sans: -16". That will cause that everything that was displayed in Comic Sans 18 will be shown in Comic Sans 16.
You just have to figure out the correct font name and the font size that is used on today.
And repeat the same for Manilla calendar. Seems like you have different font in that app.
ztracenyDen said:
I think you misunderstood what alias is supposed to do
You have to create new key with font name and size, so in your case, the name of key should be something like "Comic Sans: -18" (that minus sign stands for relative height, as you know it from Word, without minus sign it will take a height in pixels). The key value then should be for example "Comic Sans: -16". That will cause that everything that was displayed in Comic Sans 18 will be shown in Comic Sans 16.
You just have to figure out the correct font name and the font size that is used on today.
And repeat the same for Manilla calendar. Seems like you have different font in that app.
Click to expand...
Click to collapse
Yep, it becomes clearer. However it seems, this works only if you have classical fonts and not graphical fonts composed by assembly of different fonts as well as you pointed it out.
That's a nightmare this manila and this TF3D
manila uses these:
Helvetica Neue OTS
HelveticaNeue LT 35 Thin (that's not a typo, no space between helveticaneue)
I think aliasing will work on any font you enter. Just get the right name ;-)
I am using SKTools to figure out font names (Tune Up - Fonts - there is a list of fonts). But I am sure there is a "freeware" way to figure it out For example Total Commander and his Change Font menu in About screen
ztracenyDen said:
manila uses these:
Helvetica Neue OTS
LT 35 Thin (that's not a typo, no space between helveticaneue)
I think aliasing will work on any font you enter. Just get the right name ;-)
I am using SKTools to figure out font names (Tune Up - Fonts - there is a list of fonts). But I am sure there is a "freeware" way to figure it out For example Total Commander and his Change Font menu in About screen
Click to expand...
Click to collapse
Hi,
Thks for you patience ... it will cost me 2 beers next time I go to Tchequie However, even I did harder thinks in my life, I am being probably stupid and I am unable to bring it out.
Lets have a look on enclosed files :
For test, I reduced all fonts size categories to 200 p with SK Tools but only popup menu's fonts decreassed .... and no manila fonts and no TF3D fonts ! No lucky to with MaxTTM (here I got an system error ...)
I fiddle somethig with the registry ... no luck again ! Certainly wrong, what I did. Nowhere to manage HelveticaNeue in SK Tools
Yes, for special thinks ... I am a noob especially for the time
Your future help, comments, solution (ie correct my screenshots and send them back) will be welcome
"bro" is a simple english gesture for friend.
resize
thereisntone said:
Hi,
'scuze ... bro ? what does it means, bro ?
Have you ever seen something on the net which is not free ?
Well .. I can post them. Could you resize them and repost then of course ?
Click to expand...
Click to collapse
Hi bro, have check your cab file. And I see the problem. Its made up of 3 different type of fonts. So resizing them wont be simple or easy for me. Perhaps others with more skill can try. Why not you try this fonts that I pack for Topaz. Just click on the link below:
http://forum.xda-developers.com/showpost.php?p=4151058&postcount=7
tomtommy306 said:
"bro" is a simple english gesture for friend.
Click to expand...
Click to collapse
Yup, thanks for explaining.
Hi,
I love this Bro .. will try to remerber it
Thks any way for the ole Cambria Italic ... I will keep my ComicFonts and give up for the other exotic fonts until I find a solution (if there is one)
Hi Bro ...s
HERE WE GO !! Finally I got it !
Probably I did not chose the best way to solve my font layout problem, but I did it.
How did I make it? Simple ... (say it quick) because in fact it is not really simple. Find somewhere on the net, Fontcreator app (V5 or V6 better).
1- Open all fonts or just this one which is concerned by :
tahomabd.ttf -> WM bold font (task and bottombar and ...)
or
tahoma.ttf -> WM6.5 regular font (regular text)
or
HelveticaNeueOTS.ttf -> TF3D Regular Font (all titles text in TF3D tab.)
or
HelveticaNeue LT 35 Thin.ttf -> TF3D Bold Font (all small text in TF3D tab)
2- Check and/or adjust "the left side bearing point" in "Glyphs transformer" in "tools"
3- Check and/or adjust "metrics" for the glyphs (space before and after glyphs)
4- If necessary, adjust glyphs width and/or height by using outlines scale in Glyphs Transformer
5- Save your font(s), rebuild your cab, install on your D2
Guys ... Usually fonts looking nice on website page but once installeted on your ppc, they are unreadable. Beware of using fonts coming from other forum or thread. Incredible what you can find in the cab or in the font files ! Amazing !
Enclosed two fonts cabs with correct layout for D2 and in case in ... zip file with original fonts.
*******
I remain opened to any other solution ... for futur font changing because this was the worst ! There should be a way to change some other parameters in WM6.5 or TF3D
Cheers
Hi Bros
There an other way to correct a wrong layout due to inadapted font size !!!!!
Forget those all previous posts from every one above ... to much work and to wasted time. However, I have learned how to manage FontCreator
Go to windows directory and copy and paste to your desktop (or some where else), the files "Titanium_800x480.cpr" and "Titanium_480x800.cpr" Open them with notepad or any other txt editor. Go to <!-- Title text --> find the concerned "ID Text" and change the values, you want or, that need to be changed (color, size, layout ....)
You just need to stay clear headed about what do you want.
Have fun

How To Make Layouts Work

I'm a new developer and I'm trying to create different layouts for different screen sizes. I crated a layout-small, layout-large, and layout-xlarge folder and added a layout xml with the same name in each folder. The problem is that the sizes are not chaning and it's always picking the default layout regardless of the size of the screen. I tried playing around more and created a layout-land and layout-port folder but the layout is not changing when I switch the device between layout and potrait. Is there more I need to do besides create the folders and place a different layout xml with the same name in the folders?
Are you using width fill-parent on your top level layout?
Hopefully you've read thru this section: http://developer.android.com/guide/practices/screens_support.html
Have proper permissions in the manifest?
http://developer.android.com/guide/topics/manifest/supports-screens-element.html
________________________________
http://ron-droid.blogspot.com
rigman said:
Are you using width fill-parent on your top level layout?
Hopefully you've read thru this section: http://developer.android.com/guide/practices/screens_support.html
________________________________
http://ron-droid.blogspot.com
Click to expand...
Click to collapse
should I be using width fill-parent to get multiple layouts to work? Yes, I have read that article, that's how I learned about multiple screen support.
the_main_app said:
I'm a new developer and I'm trying to create different layouts for different screen sizes. I crated a layout-small, layout-large, and layout-xlarge folder and added a layout xml with the same name in each folder. The problem is that the sizes are not chaning and it's always picking the default layout regardless of the size of the screen. I tried playing around more and created a layout-land and layout-port folder but the layout is not changing when I switch the device between layout and potrait. Is there more I need to do besides create the folders and place a different layout xml with the same name in the folders?
Click to expand...
Click to collapse
What do you mean by "default" layout, the one in the "layout" folder? The reason why it's not changing between layout and portrait is because you also have to set layout-large-land and layout-large-port (for example). If not, it always goes to the layout-large and not to layout-land/port

Default text size and type in S Note

First of all, I am rooted. I have searched through pages and pages to try to track down an initial setting for S Note to configure font. I know how to change font within text, or after doing handwriting to text. However, I would like S Note to always type in Ariel 8pt instead of the huge Robotic 16pt font used by default. I don't need to be able to see integrals from across campus, so 16pt is a little large for my taste.
My question is, is there a configuration file which can be edited somewhere with root explorer?
scary-animal said:
First of all, I am rooted. I have searched through pages and pages to try to track down an initial setting for S Note to configure font. I know how to change font within text, or after doing handwriting to text. However, I would like S Note to always type in Ariel 8pt instead of the huge Robotic 16pt font used by default. I don't need to be able to see integrals from across campus, so 16pt is a little large for my taste.
My question is, is there a configuration file which can be edited somewhere with root explorer?
Click to expand...
Click to collapse
Install Xposed Framework and then App Settings module. From there you can change font scale.
Spere said:
Install Xposed Framework and then App Settings module. From there you can change font scale.
Click to expand...
Click to collapse
Unfortunately, no joy on the font scaling adjustment. Got framework and app settings installed, scaled it down to 50 with no change in the default font size for handwriting to text. It isn't a huge deal, was just hoping to adjust something that will hopefully be considered with the next software update.

Categories

Resources