| Reply | « Previous Thread | Next Thread » |
|
Hi all,
I am using a fonts derived from a font image file in my game MIDlet, but now I am porting on lower resolution, and the font size is relatively large and cant fit on the screen, so I want to reduce the image file which is around 2000x12 pixels (W x H), I want to change in into 175x12 (W x H), I used photoshop to change the image size but once changed the characters in the image file becomes unreadable and lose their original shape. Is there any way in which I can reduce the image file, its a .PNG file. Looking forward for a swift reply. Thanks |
|
Join Date: Jul 2008
Posts: 329
Location: Faridabad(Delhi NCR)
ansh.chauhan
Offline
Regular Contributor
|
|
|
Quote:
Anshu Chauhan J2me Developer |
| ansh.chauhan |
| View Public Profile |
| Find all posts by ansh.chauhan |
|
Hi Anshu thanks for the reply,
I have already tried creating a new file in photo shop and choose font size 2 pt, but still when I enter the text they are not in proper shape and are unreadable, I am trying the tool which you just now mentioned. Thanks |
|
Join Date: Jul 2008
Posts: 329
Location: Faridabad(Delhi NCR)
ansh.chauhan
Offline
Regular Contributor
|
|
Welcome buddy ...
But tell me what kind of image you have exactly.May be i will help you in creating it.Are you using custom font Anshu Chauhan J2me Developer |
| ansh.chauhan |
| View Public Profile |
| Find all posts by ansh.chauhan |
|
I can send you the image, but I don't know how to send images or files using nokia forum, if I can get your email ID.
The font used is Tahoma. the image file contains : The characters: 26 letters, 10 digits, 12 symbols of !@#$%^&*()+-=/<>?.,:;' Thanks |
|
Join Date: Jul 2008
Posts: 329
Location: Faridabad(Delhi NCR)
ansh.chauhan
Offline
Regular Contributor
|
|
ansh.chauhan@gmail.com
tell me one more thing are you using this for custom font Anshu Chauhan J2me Developer |
| ansh.chauhan |
| View Public Profile |
| Find all posts by ansh.chauhan |
|
Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
raj_J2ME
Offline
Forum Nokia Champion
|
|
|
Quote:
changing the file of the Font does not means that every thing can work as desired,I guess you must have to change the code a little bit.Are you assigning the single chars height and width.Therefore you have to change the value of these variables.I would suggest that please read the code carefully and then check that what are the other variables those might cause the above issue. Thanks R a j - The K e r n e l |
|
Yes,
Using it as custom font in the game, I am sending you the image file, please let me know when you get it Thanks for all the help. |
|
Quote:
Thanks |
|
Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
raj_J2ME
Offline
Forum Nokia Champion
|
|
Hi,
You are not wrong,however what I am saying is that thats issue is not coming due to just the images shapes,rather this is due to the code itself,and I am sure about it.Rather sending the images to others you to get the re-sized images,you can do this by your self,even you can ask this task to you designer. I would strongly recommend that try to change the code and then have a look. Thanks R a j - The K e r n e l |
|
Quote:
I tell you what happens which I change the image file if initially the character is "M" it changes to "|" or something like that, and it happens to all characters. my designer is gone, contacted him and he also not sure how to do. That is why I am working on resizing the image properly, once that is done then I will changed my code, so that I can get characters in proper shape. Thanks... |
|
Join Date: Jul 2008
Posts: 329
Location: Faridabad(Delhi NCR)
ansh.chauhan
Offline
Regular Contributor
|
|
Hi kai_buki
The image you send it to me contain number of character you cant convert it in to 176X12 otherwise your Image will spoiled completely.Better change your code to use the same file .Dont try to change it otherwise you will get in to trouble.You can find custom font there are many example you can get here. http://j2me-mwt.sourceforge.net/download.html read this here you can get more help about custom font Anshu Chauhan J2me Developer |
| ansh.chauhan |
| View Public Profile |
| Find all posts by ansh.chauhan |
|
Hi Anushu
Thanks for all the help I am looking into the link you gave me. Now try to work on the code to change it, hope I get good results once again thanks Take cares |
|
Join Date: Jul 2008
Posts: 329
Location: Faridabad(Delhi NCR)
ansh.chauhan
Offline
Regular Contributor
|
|
Welcome buddy
if you get any problem in that then you can concern me .because this is working fine for me Anshu Chauhan J2me Developer |
| ansh.chauhan |
| View Public Profile |
| Find all posts by ansh.chauhan |
|
Hi Anshu
Can you please help me in advising how to use that tool: I want to create a micro font png file and then want to reduce its size to 175x12 please help me on this Thanks |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Problem about using CImageDecoder::FileNewL to open an image file? | Casper1314 | General Symbian C++ | 1 | 2007-06-13 06:15 |
| Contacts fields order?? | timatima | General Symbian C++ | 1 | 2007-06-08 14:51 |
| How to Encode image and Music file?? | DancingWave | Browsing and Mark-ups | 0 | 2007-01-10 02:23 |
| reading image file from server ?? | nitrajpal | Symbian Networking & Messaging | 0 | 2006-01-30 08:50 |
| open image file | Rx-lee | General Symbian C++ | 3 | 2004-04-02 04:29 |