Fansite and Forum for Meizu Products
 
       



Go Back   Meizu Me > General > Community Development

m6_font_import tool

Community Development

Reply
 
Thread Tools Display Modes
Old 09-01-2007   #11 (permalink)
Moderator madman has a spectacular aura about
 
madman's Avatar
 
Join Date: Nov 2006
Posts: 778
Thanks Asmo, tried about a dozen fonts so far, great fun.

madman is offline   Reply With Quote
Old 09-01-2007   #12 (permalink)
Valued Member iversonjack will become famous soon enough
 
iversonjack's Avatar
 
Join Date: Nov 2006
Location: Brisbane, Australia
Posts: 1,463
OMG madman, that looks awesome! Quickly apply a suitable font to one of your awesome skins and upload please!

BTW: Does this font thing apply to chinese? Shame if it doesn't... or do we have to have a chinese font thingy for it?

PS: I don't get how to use this tool, please teach me.
__________________

Last edited by iversonjack : 09-01-2007 at 06:35 AM.
iversonjack is offline   Reply With Quote
Old 09-01-2007   #13 (permalink)
Moderator madman has a spectacular aura about
 
madman's Avatar
 
Join Date: Nov 2006
Posts: 778
Quote:
Originally Posted by iversonjack View Post
OMG madman, that looks awesome! Quickly apply a suitable font to one of your awesome skins and upload please!

BTW: Does this font thing apply to chinese? Shame if it doesn't... or do we have to have a chinese font thingy for it?
Does not seem to apply to Chinese fonts. If you are not sure about applying a font to your favourite theme yourself then pick a theme and a font and I will upload one for you.
madman is offline   Reply With Quote
Old 09-01-2007   #14 (permalink)
Valued Member Asmo is on a distinguished road
 
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Quote:
Originally Posted by iversonjack View Post
BTW: Does this font thing apply to chinese? Shame if it doesn't... or do we have to have a chinese font thingy for it?

PS: I don't get how to use this tool, please teach me.
You can import chinese font if there is one installed in your system. You need to know unicode range for chinese characters. Then just add this range to font.txt. Well, I'll show you:

* Download and extract archive for example to c:\temp
* Copy resource.bin to c:\temp
* Run command line (to run it press Win+R and type there cmd, then press Enter)
* In command line change working directory to c:\temp
* Edit font.txt, add there your own range of characters (find it here). Be sure that the font you've entered in the first line has this range of characters.
By the way, the line
0x0400 0x04ff
import cyrillic characters, if you don't need cyrillic, remove this line.
* In command line type:
m6_font_import resource.bin font.txt out.bin
* out.bin will be created, copy it to your player and rename it there to resource.bin.
* Restart player, enjoy!

Last edited by Asmo : 09-01-2007 at 07:21 AM.
Asmo is offline   Reply With Quote
Old 09-01-2007   #15 (permalink)
Moderator madman has a spectacular aura about
 
madman's Avatar
 
Join Date: Nov 2006
Posts: 778
Quote:
PS: I don't get how to use this tool, please teach me.
Extract to "m6_font_import" folder and copy the folder to C:\
Edit the font.txt file in notepad and enter the name of the font you want to use.

EG:
One Stroke Script LET
700
0x0021 0x00ff
0x0400 0x04f0

Then save the text file.

Copy the resource.bin file you want to use to the font patch folder.

Click on start menu and select run then type in "cmd" to open a command window.

In the command window type "cd C:\" and press enter to go to C: drive.
Then type "cd m6_font_import" and press enter to go to the font patch folder.
Then type "m6_font_import.exe resource.bin font.txt out.bin" to run the patch which will create "out.bin".
Copy out.bin to your player and rename it resource.bin then reboot as normal to load the resources and your new font.

The easiest wat to check out what fonts are available on your PC and their names is to use something like Microsoft Word to preview the fonts in the drop down menu.



You can also go to www.dafont.com and download thousands of free fonts which you just need to copy to the C:\Windows\Fonts directory.

EDIT: oooops a bit slow......

Last edited by madman : 09-01-2007 at 07:11 AM.
madman is offline   Reply With Quote
Old 09-01-2007   #16 (permalink)
Valued Member iversonjack will become famous soon enough
 
iversonjack's Avatar
 
Join Date: Nov 2006
Location: Brisbane, Australia
Posts: 1,463
Thanks for your help guys, I got it to work. Looks mad, however, I don't use the english menu because in there, M6 cannot read chinese ID3 tags. Any suggestions, other then to:

1. change font of chinese menu,
2. edit resource.bin to change chinese menu to english

any suggestions?

BTW: is there any faster way to edit the chinese menu to english other then to copy + paste english into chinese menu spots? Anyone have some sort of shortcut program to do so?

@ Asmo: What range would I need for chinese characters? I downloaded a font i wanna apply from this site. the 3rd one down.
__________________
Meizu M8 MiniOne
The Revolution Is Here

Last edited by iversonjack : 09-01-2007 at 07:29 AM.
iversonjack is offline   Reply With Quote
Old 09-01-2007   #17 (permalink)
Valued Member Asmo is on a distinguished road
 
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Quote:
Originally Posted by iversonjack View Post
@ Asmo: What range would I need for chinese characters? I downloaded a font i wanna apply from this site. the 3rd one down.
Think you should try to add to font.txt this line:
0x3100 0x312F
(check please, if I'm right at this page, cause I don't know chinese)
Asmo is offline   Reply With Quote
Old 09-01-2007   #18 (permalink)
Administrator Err0r will become famous soon enough
 
Err0r's Avatar
 
Join Date: Nov 2006
Location: Stockholm
Posts: 1,458
This is... awesome! This opens so many new possibilities for better skins.

Link doesn't work in China, mirror please?

Also, any possibility of this working on M3?
Err0r is offline   Reply With Quote
Old 09-01-2007   #19 (permalink)
Valued Member iversonjack will become famous soon enough
 
iversonjack's Avatar
 
Join Date: Nov 2006
Location: Brisbane, Australia
Posts: 1,463
Tried that line, doesn't seem to change the font. Do I have to delete any lines?
iversonjack is offline   Reply With Quote
Old 09-01-2007   #20 (permalink)
Valued Member Asmo is on a distinguished road
 
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Quote:
Originally Posted by Err0r View Post
Link doesn't work in China, mirror please?
Also, any possibility of this working on M3?
Give me your email (in private message), I'll send you a package. Create the mirror where it's convenient for you.
Don't know resource.bin format for M3, so do not use it for M3.
Quote:
Originally Posted by iversonjack
Tried that line, doesn't seem to change the font. Do I have to delete any lines?
Re-download m6_font_import.zip cause I've fixed a little bug. Then remove all ranges from font.txt. Add the only big one:
0x0021 0xfff0
This should import almost ALL glyphs from selected font. resource.bin will become 9 MB file instead of 6 MB as usual, don't worry player eats such resource.bin without any problems.
Check if the font is installed in your system! Not just downloaded. Try, and then report about the result.
Asmo is offline   Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Video Rotating Tool?? Superman92 Video and Imaging 7 04-27-2008 01:49 PM
m6_patch_font tool Asmo Russian 28 10-05-2007 06:45 AM
Official iPhone Tool iversonjack Off Topic 9 08-12-2007 05:23 AM

All times are GMT. The time now is 12:06 PM.


Powered by vBulletin. Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
 
Meizu Me is an independent resource for all things Meizu. Meizu, Mini Player, Music Card, Mini One and all other related names are properties of MEIZU Electronic Technology, Inc. Designed by ForumTemplates. All content © 2007 MeizuMe. All Rights Reserved.