ya u can view the .gdr font files by installing some font viewer application. but how to change them i don't know.
and u can create u r own .gdr font file.
Prashant {prashu}
 
Tue, 2005-07-26 13:49
chishti_hameed (not verified)
Forum posts: 2043
Re: edit .gdr file
Quote from: prashu
ya u can view the .gdr font files by installing some font viewer application. but how to change them i don't know. and u can create u r own .gdr font file.
Thank you very much for ur support. well, my prob is - I've made a Unicode text file having Unicode font representing Hindi char as प्रियंका (saved that text file as ENCODINGÂ = UNICODE)
Reading that file with the code -
RFs fs; User::LeaveIfError( fs.Connect() ); _LIT( KStreamStoreName, "C:\\Unicode1.txt"); CleanupClosePushL(fs); RFile file; User::LeaveIfError(file.Open(fs, KStreamStoreName, EFileRead | EFileStreamText)); CleanupClosePushL(file); TBuf<64> buf16; TFileText aTxtFile; aTxtFile.Set(file); if(aTxtFile.Read(buf16) != KErrEof) Â Â {Â Â Â Â Â const TDesC& aText16 = buf16;Â Â Â Â Â Â Â Â Â iAppContainer->SetTextL(aText16); Â Â Â } CleanupStack::PopAndDestroy(2)
I have to read that text and operate on that on charactor by charactor basis. But it is showing square boxes on emulator s60 2nd ed. fp2 I know unicode is represented by square boxes when it is seen in non unicode environment. May be that emularot doesnt support unicode. I have read that same text file contaning unicode chars on Nokia 6600, same square boxes is being seen on that also.
Please let me know in detail how and what shud i do?
Its very much urgent ....
Second thing for converting .ttf file to .gdr or .bdf thru Easy creator- 1. I browsed location of my ttf file. 2. Set size and ASCII/Unicode (actual I needed Symbol/Unicode but atleast for this it shud work) 3. Preview font (It is showing correct) 4. Clicked on Complied to GDR () (Saynig File load not complete)
running on cmd - C:\FNTTRAN.EXE C:\DVBWYG3N.TTF C:\my.bdf Not making any fileÂ
written a small programm of callprocess(......) of mfc for FNTTRAN.exe that returns bool true for succesful but not making any file....Â
IIRC: -unicode charactor is shown as question mark ?? in non-unicode platform -unicode charactor is shown as box in unicode platform when font is missing
Forum posts: 118
but how to change them i don't know.
and u can create u r own .gdr font file.
Prashant {prashu}
but how to change them i don't know.
and u can create u r own .gdr font file.
possible for you to tell detail on creating .gdr?
Forum posts: 118
i'm writing a small artical for this and will be submitting to this site.
that'll have all aspects of .gdr font design...
So wait.
Prashant {prashu}
i'm writing a small artical for this and will be submitting to this site.
that'll have all aspects of .gdr font design...
So wait.
How long buddy? ppl need to know this
Forum posts: 118
possible little delay coz i'm testing the method to be sure for no fault.
Prashant {prashu}
possible little delay coz i'm testing the method to be sure for no fault.
I'm gonna count days from now
Forum posts: 118
Prashant {prashu}
Forum posts: 11
donno whats wrong with me...
I have gone thru so may sites and FNTTRAN.EXE but not able to get gdr or bdf file of ttf.
EXE is running succesfully but not making gdr file.
Easy GDR Creator sayng FileLoad not completed even I am getting correct view.
What shud i do
Forum posts: 118
i've worked through the Easy GDR creator and it works fine.
maybe possible ur making some mistake, explain in detail abt ur problem.
Prashant {prashu}
Forum posts: 11
well, my prob is -
I've made a Unicode text file having Unicode font representing Hindi char as प्रियंका (saved that text file as ENCODINGÂ = UNICODE)
Reading that file with the code -
RFs fs;
User::LeaveIfError( fs.Connect() );
_LIT( KStreamStoreName, "C:\\Unicode1.txt");
CleanupClosePushL(fs);
RFile file;
User::LeaveIfError(file.Open(fs, KStreamStoreName, EFileRead | EFileStreamText));
CleanupClosePushL(file);
TBuf<64> buf16;
TFileText aTxtFile;
aTxtFile.Set(file);
if(aTxtFile.Read(buf16) != KErrEof)
  { Â
   const TDesC& aText16 = buf16;     Â
   iAppContainer->SetTextL(aText16);
   }
CleanupStack::PopAndDestroy(2)
I have to read that text and operate on that on charactor by charactor basis. But it is showing square boxes on emulator s60 2nd ed. fp2Â
I know unicode is represented by square boxes when it is seen in non unicode environment.
May be that emularot doesnt support unicode. I have read that same text file contaning unicode chars on Nokia 6600, same square boxes is being seen on that also.
Please let me know in detail how and what shud i do?
Its very much urgent ....
Second thing for converting .ttf file to .gdr or .bdf thru Easy creator-
1. I browsed location of my ttf file.
2. Set size and ASCII/Unicode (actual I needed Symbol/Unicode but atleast for this it shud work)
3. Preview font (It is showing correct)
4. Clicked on Complied to GDR () (Saynig File load not complete)
running on cmd -
C:\FNTTRAN.EXEÂ C:\DVBWYG3N.TTF C:\my.bdf
Not making any fileÂ
written a small programm of callprocess(......) of mfc for FNTTRAN.exe that returns bool true for succesful but not making any file....Â
Forum posts: 17
-unicode charactor is shown as question mark
-unicode charactor is shown as box in unicode platform when font is missing