yashsingh1/xdaforums huggingface dataset:
[Vibrant Android Development] dddtc2005:
Hello everyone

Does it support Chinese language? I follow it step by step to create a APK include two fonts, one is English, another is Chinese. I knew the Chinese font file is Droidsansfallback.ttf, So Here is my file of /assert/xml/*.xml:

<?xml version="1.0" encoding="utf-8"?>

<font displayname="Comicsans">

<sans>

<file>

<filename>Comicsans.ttf</filename>

<droidname>DroidSans.ttf</droidname>

</file>

<file>

<filename>fzqt.ttf</filename>

<droidname>Droidsansfallback.ttf</droidname>

</file>

</sans>

</font>

But when I finished the apk and installed on phone. The English font turn to be Comsicsans, but Chinese font is also the default...I don't know why..Could you help me? Thanks all

BTW: APK manager version 4.9
[Vibrant Android Development] hypes057:
first, the link is for apk manager 4.9 (not sure if it makes a difference)

when i load the script, it says Adb was not found, you will not be able to manipulate the files on your phone.....press any key to continue

i hit key to continue....

followed the instructions, pasted the file, loaded script and hit 9.

says: Please select a project to work on <option 22>

choose an app to be set as current project?

enter its number:

entering a number doesnt work.

now i know i have all the drivers for the phone and have adb plenty of times (lagfix after installing rom). any clues?
[Vibrant Android Development] dddtc2005:
you can just enter 22 then choose the number of apk file you want to decompile, if only one, it will be 1.
[Vibrant Android Development] thzamus:
Hi ritalin,

Did you mean Fontforge from Sourceforge??

I used it with Arch Linux to create my own font for a game and in my experience it was good.

Nice How-To, thanks!!!

edit: I remember a Java-programm for creating/editing TrueType fonts: DoubleType (doubletype.org)

Since it is written in java it's plattform independent.
[Vibrant Android Development] jellette:
Mephisto - Moved to correct thread, please delete this one.

Mephisto

Haven't done the icon yet - feel free if you want to - I will update this when I do icon to match.

I have also done a couple Futhark and an Ogham FlipFont and can post if someone wants them, but you better be able to read them if you set one or you might not be able to find your way back to change the font.
[Vibrant Android Development] John_Q:
I tired several times and I can't seem to decompile the apk. I keep getting errors. Any chance someone could make Hand of Sean font from dafont.com? thanks
[Vibrant Android Development] jellette:
I have a few minutes, lemme see.
[Vibrant Android Development] jellette:
Hand of Sean

Hand of Sean FlipFont

Will show up as HOS in fonts.

Didn't do an icon for it but here it is:
[Vibrant Android Development] John_Q:
Awesome thank you...hero for the day!
[Vibrant Android Development] jellette:
No problem!
[Vibrant Android Development] nizarnoor:
Does anyone know how to include a different ttf file for the bold font?

I've tried including a bold variant of the font in the same folder as the regular one, and changed the XML file too (the one with the same name as the font name).

For example, like this:

<filename>Arial.ttf</filename>

<droidname>DroidSans.ttf</droidname>

and

<filename>Arial-Bold.ttf</filename>

<droidname>DroidSans-Bold.ttf</droidname>

But it turned out that the phone only uses the bold font, while on the preview ("Set Font" options) it shows the regular one. It's strange.
[Vibrant Android Development] XLR8BG:
After I select decompile I get:

java version "1.6.0_22"

Java(TM) SE Runtime Environment (build 1.6.0_22-b04)

Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)

FC was unexpected at this time.

Any ideas?
[Vibrant Android Development] truewt:
did something happen to the collection of fonts thread?
[Vibrant Android Development] mattbale:
Problems!!! :(

help!!!

i have installed the font but my galaxy tab keeps having problems

(look in the image below)

please help:D:D:D

i have fixed it

i didn't have all of the glyphs in the ttf file
[Vibrant Android Development] micjenks:
I am having a small issue or rather 2 small issues. The first issue is that every time I install a new font it overwrites the one I installed last, is there any way to avoid this? Secondly and more irritating is that it seems like 50% of the time when I do this it seems like it's going to work but when I activate the font it reverts back to stock... anyone know why it would do this?
[Vibrant Android Development] 1mposter:
Good question....anyone have an answer?
[Vibrant Android Development] ritalin:
It appears as though it IS gone. Here is the link to it, but it does not find the thread.

http://xdaforums.com/showthread.php?t=748916
[Vibrant Android Development] Black-Star:
Where's the download front link ? When i click on it it says that its not valid anymore !:(
[Vibrant Android Development] dverrette:
Thanks for the fonts devs! I appreciate all of your hard work.
[Vibrant Android Development] nizarnoor:
Can anyone help me with this?

Thank you.
[Vibrant Android Development] MilkPudding:
Ya I bookmarked it but it's gone now. :(
[Vibrant Android Development] scarycarri:
Please Help!! I have tried and tried to make the apk but i just can't seem to make it work. I don't know what I'm doing wrong. So I was wondering if someone could make a font for me. I had a blackberry before and was able to use any font, and I really want this Twilight font I downloaded. Please see the attached file. Thanks in advance for any help anyone can give me. Thanks.
[Vibrant Android Development] eweo911:
Here is the Twilight font you want:

Link for XDA App users: Twilight Flipfont apk
[Vibrant Android Development] FatBoyExtraordinaire:
Yeah, I was just finally going to get around to installing some fonts, go to the page and now it's gone. What happened and is there a similar page out there?
[Vibrant Android Development] micjenks:
Im not sure why it hasn't been mentioned before now, but this whole process is kind of pointless if you are rooted. I was fooling around with this forever and its easy enough but what a pain! If you are rooted just install font changer lite and drop your ttf files in the proper folder on your sd card. Reboot and you are done. Make sure you are set to default font in settings or you won't see the change.
[Vibrant Android Development] Black-Star:
http://xdaforums.com/showthread.php?t=894397&page=4

New Flipfont Master list thread :D
[Vibrant Android Development] :
Is it OK if I share the flipfonts created through this method in Android Market for free?
[Vibrant Android Development] scarycarri:
thank you thank you sooooo much for making the twilight font. i was wondering if maybe you could make a star wars one for my husband? He is a huge star wars fan and would really like it. here is the attached font, ever letter has is a symbol, and he can read it. please let me me know. thank you soo much
[Vibrant Android Development] creator2456:
Just make sure the font is licensed properly for distribution.
[Vibrant Android Development] FatBoyExtraordinaire:
Appreciate the link update.
[Vibrant Android Development] eweo911:
LOL, I had already created it in the thread that was deleted. I will see if I can find it again.
[Vibrant Android Development] scarycarri:
just checking to see if you were able to find the star wars apk?
[Vibrant Android Development] scarycarri:
thank you so much. you are awesome!!!!! if i could give you twenty thank yous i would.
[Vibrant Android Development] eweo911:
I see the Star Wars font that was uploaded. I FINALLY found the one I created a while back. This font is the readable one. It is a tad big for my likes. I may resize it a bit later for daily use.

Star Wars Flipfont
[Vibrant Android Development] Scroggin_Dazs:
If it's not too much trouble would someone mind making two font apks from these font styles please. Its a sony sketch font, I used to use on my rooted mytouch3g and I loved it.

mediafire.website/?ztajt519v2w1hch

mediafire.website/?41n47h7nom78i42 - Bold

Change the website to com as I cannot post links yet. Thank you soooo much in advance.
[Vibrant Android Development] Alex9090:
Tested on my phone and they worked fine.
[Vibrant Android Development] Scroggin_Dazs:
Thank you Thank you :D
[Vibrant Android Development] Siberian Tiger:
Great work!!!

Can someone help me with greek fonts?

Thanks in advance!!!

I would really appreciate if u can mix it with the Starwars fonts.Thank you!!!
[Vibrant Android Development] dualmoon:
fwiw, it seems the only thing I can't figure out how to automate is signing a font. I found tools on Microsoft's site to digitally sign a font that run from the command line, so maybe we can build scripts to automate the process.

Captivate//Serendipity//Swype
[Vibrant Android Development] DaNaRkI:
This might be a little late but...

If your still looking for where flipfont is in our SGS phones you might wanna check out the settings.apk

I decompiled one from a ROM backup I have on my computer and in there is a folder called flipfont. Tho beyond that I have no idea what to look for.
[Vibrant Android Development] j.smith:
Using APK Manager 4.9, when you're compiling the font apk and it asks if this is a system apk, what should the answer be (and if y, what should be entered after that)? Just asking because my first two attempts at getting a working font apk have failed (it compiles, signs and installs ok but 1) when installing it mentions privilege requests that other fonts don't, and 2) the font doesn't actually work).
[Vibrant Android Development] ondra112:
Please help

:confused: Could anybody of you guys please help me to make font apks from attached ttf's (cirillics)? Would really appreciate. Can't do it myself - can't manage the apk manager to find the adb (sdk is installed).
[Vibrant Android Development] j.smith:
Has anyone tried signing a font instead of hacking a font in to an already signed one?

I figured it might be easier (once figured out!) than hacking fonts... just take a font and sign it and then use it. Anyways, after spending 2 nights on this, I'm about to give up, but I've made progress and hoping someone else has possibly actually got it working.

I've grabbed the Microsoft font signing tools (signcode and fastfont) and after putting two fonts through fastfont, renewing my cert from CACert, and figuring out how to generate .spc and .pvk files, I've got signcode as far as:

Error: Signing Failed. Result = 800b0003, (-2146762749)

I figured out that the pvk file *must* have a password (doesn't seem to like it without one, generates another error). I'm not sure why it's failing to sign - I've tried with both a server certificate and a personal certificate (ie, email address cert) and both have the same result. I'm not sure if perhaps my .spc and/or .pvk files aren't correct, but I have no idea how I'd check them to see if they were OK or not.

Oh, and I should mention that it *might* be due to not installing mssipotf.dll in to c:\windows\system32. I have Win 7 x64 and when I put it there and tried to register it using regsvr32, it said it couldn't find the file. I tried moving it to SysWOW64 and it gave me the same result. Anyone know where the .dll should go in order for regsvr32 to find it? Maybe this is my only issue...

... or, am I the only loser who's tried to digitally sign a font? I keep having that feeling since these files from Microsoft date back to 2000 :P
[Vibrant Android Development] DaNaRkI:
#1 I've not seen such an error... so I'm not to sure. upload the exact file your trying to install and I'll take a look.

#2 Not working how? does it just load "default" when you try to choose it? or does it cause an FC? or something else???

I ended up just copying the adb.exe into the same folder as the Script.bat and it worked.

I could not find any place where I can get the "rights" with out paying far more then I'm willing to spend.

I also don't know enough about the whole digital signing process to try and hack together my own files for it.

I would rather be able to sign them myself, but right now that's not an option.
[Vibrant Android Development] ondra112:
Thanks for an option but it did not work with me. May be the problem is that I have Russian version of Windows and therefore my user name contains cyrillic letters. Well I give up with this.
[Vibrant Android Development] BuHaneenHHHH:
hi there

will it work with ready made fonts?

i have several fonts that i used by copying them with root explorer to the fonts folder

however i want to have them in flipfont so that i do not need to restart my device

i have a Galaxy S2 i9100

i tried to make it several times but it did not work

the last time i made a file that insalled and showed up in the flipfont option

however the font did not change

the name of the arabic font in the system is ''DroidSansArabic.ttf''

so i tried including this name in the xml file in ChocoEUKor.apk\assets\xml folder

but it did not work

can you help me?

by the way i used ChocoEUKor.apk original apk which i installed and worked on my SG2 i9100

thank you
[Vibrant Android Development] DaNaRkI:
If you can, upload the exact .apk your trying to install. I'll grab it and see if I can figure out what part is still off.

If I had to guess it sounds like the font file might not be digitally signed.

leaked from my Fused SGS I897 contaminating you via XDA app.
[Vibrant Android Development] BuHaneenHHHH:
i have uploaded the original apk ''ChocoEUKor-original''

i also uploaded the one i made from it ''signedChocoEUKor''

i uploaded the font just in case you wanna check it out

by the way

it is an arabic font but it works if copied directly with root explorer

thanks and will be waiting for your reply
[Vibrant Android Development] DaNaRkI:
k, I'll take a look at them once I get to my PC.

-UPDATED, after my xda app sig-

leaked from my Fused SGS I897 contaminating you via XDA app.

ok, heres what I see.

#1. The font file you had put into the .apk is not digitally signed. What happens here is that since our phones are not "dev phones" they have extra security features active. One such feature is to not run things unless they are signed. you can test this by simply trying to install the very same font.apk but unsigned. android won't use the font for the very same reason. Flipfont does not care for it being signed or not so it reads the file and shows the right font in the chooser. Thus it looks correct when picking it, but turns into the default font after picking it.

#2. you didn't edit the smali files, so I beleve (never fully tested it) that you'll run into an issue of the font over writing each other. If you make two or more font.apks and try to load them you'll only end up with one. This is because the smali is the same in both so when installing the phone can't tell the difference and thinks it's the same app just listed with a different file name (kinda like an update to an app).

- - - - - solution - - - - - -

#1 you'll have to get your hands on a .ttf font creator/maker. From what I could find there is only one that is free, but it's linux based. For a mac you'll need a VM, for windows you need something almost like a VM to run it. If your looking to make only a few fonts then you can just use the trial version listed in the OP. Else you'll have to shell out for a legit program, or cheat like me :cool: Once you have a font editor just follow what the OP says in how to overwrite the characters of a signed font with your preferred font.

#2 you'll have to get an advanced text editor. Something that is meant for things like writing java, xml, and other similar types of code/script. I use this and it works very nicely. When editing only look for the name of the previous font, and change it to whatever you have the new font called. Iin this case replace "chococooky" with "naskh" in all the .smali files and you'll be good to go.

If you would like I can fix it and upload for you to compare and see whats different.

Or if it all sounds to confusing say so and then look here and I'll post it for all to enjoy.
[Vibrant Android Development] BuHaneenHHHH:
would please fix it and upload it for me?

it would be great so that i will be able to make new apk for other fonts

i got my hand on a font creator that i will while you upload the files for me and i will inform you with the results

by the way

i use the notepad++ to edit all and i remeber checking all files and renaming the font name but maybe i missed something

anyway

please upload also the original file you used for making the new font

since the link on your first post are dead

thanks again
[Vibrant Android Development] Kennii:
just use Font Changer in da market
[Vibrant Android Development] DaNaRkI:
Here ya go

I've got two for ya. Tho we really only need one such file and to just be sure to change all the same parts of all the same files for each.

I could not find my original, but I can tell ya I never used monoglyceride font, I just took an known working font from a ROM I was using and followed the process of copy and pasing over the chracters. Always check the font it still digitally signed, you should be able to see it my double clicking on the font, it will open a preview window with info at the top, and examples below.

In the "test.apk" just look thru every single file. Any place you see the word "test" is where you need to change to the name of your new font.
[Vibrant Android Development] BuHaneenHHHH:
thanks again for the help

i managed to figure out what i was doing wrong

it is in the process of compile apk

after startig to compile the script ask if this file is a system and i say yes

then it ask to copy any addtional files that i did not modify and i say yes but in fact i should have said no

because saying yes copies the original smali files to the new apk which makes it non usable

anyway,

thanks again for you help and god bless you
[Vibrant Android Development] BuHaneenHHHH:
hi again

i want to ask you if you think it is possible to make one flipfont apk with 2 font files

one for english and another for arabic?

would love to hear your opinion
[Vibrant Android Development] DaNaRkI:
Glad to help :D

I forgot to mention, that I took the naskh.ttf and put it into a different font.apk. When I patched up and tried to install the version you were working on it listed some permissions... I forget which, but a font does not need any permissions because all it does is sit there and get read by the Flipfont program. So that was suspicious to me...

Hmm... It should be possible. Since the only reference to the .ttf are in the .xml in the assets folder. If you include a second font and tell it to use that for the other language it should work. Try it out and see, I'll do some testing as well. Tho to be fair I'm by no means an expert on how apps are made and how android uses them.
[Vibrant Android Development] BuHaneenHHHH:
i tried it but it did not work

i found some original flipfont apk which is from the arabic rom of galaxy s2

it seems that it only replaces 2 fonts which are droidsans and droidsans-bold

and it would change the font for both languages

so i used the original font from flipfont and pasted the arabic glyphs and english glyphs from the fonts that i wanted and it worked like a charm

so it is possible to use 2 fonts if they are combined in one font only :p

thanks again and keep up the good work
[Vibrant Android Development] DaNaRkI:
yeah, i was getting the same. i tried using one as reg and one as bold, but it all ended up as the bold font...

leaked from my Fused SGS I897 contaminating you via XDA app.
[Vibrant Android Development] j.smith:
Turns out those issues were because I wasn't using a signed font - I thought all the signing stuff was meant for the apk, not that the font itself had to be digitally signed. When I would pick the font, i'd get the default font loaded.

I signed up to CACert.org a long time ago - without doing anything you can get a 6 month SSL certificate from them. Catch is, they aren't recognized as a proper CA yet from companies like Microsoft and such, so your browser/system doesn't come with their root CA's installed already for you (which means their SSL certs aren't trusted by default on your system). Once you install their root CA cert though, then everything is like normal.

Anyways, I used them to generate an SSL cert and tried signing with that. I just couldn't find good enough information on font signing with SSL certificates to know if I was doing it properly or not. Obviously something I'm doing isn't working right.
[Vibrant Android Development] eiffie_miffie:
tanx a million buddy...luv u....searching for dis from 1st day i got s2...
[Vibrant Android Development] MeX_DK:
Link to monoglyceride has expired. So is there another file I can use as a "basis" for my modding?

Following your guide I get the following error and the "mappings" are NOT copied :(

http://dl.dropbox.com/u/11843124/FontCreatorError.jpg

I tried another font and the above error didn't occur anymore.

And I just tried making an APK and tried installing it and it says: "There is a problem parsing the package" :(

Any help will be most welcomed.
[Vibrant Android Development] DaNaRkI:
Upload the font, I'll take a look at it and see

You can grab any of the font.apk that are in the other thread, and use them for a base. You'll just have to look for a different name in all the files.

I don't recognize that error in font creator. But it sounds like it does not like one of the glyphs.

leaked from my FUSED SGS I897 contaminating you via XDA app.
[Vibrant Android Development] jovianremix:
the Apk and the font links are dead. Can you update?
[Vibrant Android Development] AuralArch:
HELP! Expired links... --ALTERNATIVe--

Or tell us how to tell if a font is digitally signed (and any other crucial criterea about the fond) so we can find one of our own to use as a base font...

And I see you said just to use any of the font.apk files as a base from the forum pages...

THANKS!
[Vibrant Android Development] DaNaRkI:
I can only speak for windows (tho I will check in Linux later), but you click on a .ttf as if you are gonna run/open it like any other program/file a window opens showing a few examples of how the font looks in different sizes. Along the top of that is a bunch of info, within the last row of info it will say "digitally signed"

leaked from my FUSED SGS I897 contaminating you via XDA app.
[Vibrant Android Development] Johnsondr80:
Man I really need a new flip font apk created.........but far far to much going on to do it myself......DaN are you busy?
[Vibrant Android Development] sitbkkthailand:
HELP ME Pleaseeeeeeee

Due to the link to download APL 4.8 couldn't found !! Error

and then I don't know how to creat .ttf file to apk for the reson to install into my android phone Samsung GL I9003

All of these are Thai Font !! Could anyone help me to creat pleaseeeeee ??

there are 3 .ttf as it shows below

http://www.mediafire.com/?9agtxxs40uwdo2x

http://www.mediafire.com/?3g97ori1ydviz7m

http://www.mediafire.com/?3g97ori1ydviz7m

I have done with the first step with front creator !!

but I could not download APK manager ( I've tried with v.4.9 but when i press script.bat there is nothing happend)

Once I pressed script.bat it shown me this

then i tried to put no.9 follow your step i became this

I know that if it works properly for me i could do it myself !!

but this time no !!!

Could you help me to creat apk file pleaseeeeeeeeeeeee !!

Thank YOu
[Vibrant Android Development] DaNaRkI:
From the looks of things you have to go in with #22 and pick which app you want to work on first, then go through the rest of the process. The guide is written from a first time use perspective. When you have more then one app to edit you then have to choose which one to work on.

The ADB issue, is a lil more involved... First you have to find one that is written to be a standalone, the one that comes with there Android SDK is no good. look for one that is included with another program here on xda. then take it and copy it into the sane folder as there script.bat.

leaked from my FUSED SGS I897 contaminating you via XDA app.