Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2006
    Location
    Moscow
    Posts
    3

    Problem with loading gdr-files on S60 3.0

    Hello!
    I read this FAQ http://www3.symbian.com/faq.nsf/45ae...d?OpenDocument
    And
    I installed gdr file in \\private\\<SID>\\ and made an attempt loading gdr file with help of this code:
    TFileName fontFullName = _L("C:\\Private\\<SID>\\fongfile.gdr"); CGraphicsDevice* device = iEikonEnv->ScreenDevice();
    iStore = CFbsTypefaceStore::NewL(device);
    TInt error = iStore->AddFile(fontFullName, iPhoneticFontID);

    but gdr-file is not loaded and function "AddFile" returns error = KErrPermissionDenied!!!
    Why??? I made all how it wrote in FAQ.

    When I install an app-specific font, what should I do to make it available to my app on S60 3.0?

  2. #2
    Registered User
    Join Date
    Apr 2006
    Posts
    18

    Re: Problem with loading gdr-files on S60 3.0

    What is the CAPABILITY assigned to your exe in the mmp file?

  3. #3
    Registered User
    Join Date
    Aug 2006
    Location
    Moscow
    Posts
    3

    Re: Problem with loading gdr-files on S60 3.0

    Quote Originally Posted by nishantkumar
    What is the CAPABILITY assigned to your exe in the mmp file?
    In my mmp file:

    CAPABILITY NONE

  4. #4
    Registered User
    Join Date
    May 2007
    Posts
    21

    Re: Problem with loading gdr-files on S60 3.0

    Quote Originally Posted by Fox82 View Post
    I installed gdr file in \\private\\<SID>\\
    That is your problem. You must store the font file in a location readable by another application (presumably a system font server of some description).

    Try storing it in \\resource\\fonts\\

Similar Threads

  1. S60 3.0 Listbox refresh problem
    By vasilip in forum Symbian User Interface
    Replies: 7
    Last Post: 2008-07-16, 12:20
  2. rcomp.exe and CAknMessageQueryDialog problem (S60 3rd)
    By jyrkiettila in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-04-10, 11:20
  3. What is going on with Vibration on S60?
    By amd_rikus in forum Mobile Java General
    Replies: 3
    Last Post: 2006-06-16, 00:29
  4. loading GDR fonts on Series 60 app
    By cambion in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-03-24, 19:11
  5. loading GDR fonrs on Series 60?
    By cambion in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2005-03-24, 19:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×