×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    4

    Question Geometric Shapes Unicode Problem

    Dear All,

    This is my first Participate in this forum, so hi to every one and i hope all success to all forum users.

    My question is why the Geometric Shapes that have Unicode range from U25A0 To U25FF (▼ ▲ ...) doesn't appear on the J2ME Application when I install it on Mobiles such as Nokia 6630 it's appeared as "▭" but in the Emulation appeared correctly ???

    Thank you All
    Bara' Alnsour

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: Geometric Shapes Unicode Problem

    If the phone doesn't have that font then you won't be able to use it. And the squares appear when you try to draw a character that the font doesn't have a font for.

    shmoove

  3. #3
    Registered User
    Join Date
    Nov 2006
    Posts
    4

    Smile Re: Geometric Shapes Unicode Problem

    Thank you shmoove so much,

    But the question here; how i can know this? and how i can intstall the font if not exixt?

    thanks again.

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,556

    Re: Geometric Shapes Unicode Problem

    You can only know it by checking. As far as I know, there is no list that lists all the devices and all their built-in fonts and which glyphs each font file contains. It would be nice if there was, though.

    I don't know how you could install and use different fonts with J2ME, so I leave that for someone else to answer.

  5. #5
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: Geometric Shapes Unicode Problem

    You can't install new fonts with MIDP.

    If you're using a Canvas and not any high-level UI screens then you could implement your own bitmap font instead. But if all you want to do is display a few geometric shapes you could just add them as Images and use drawImage() instead.

    shmoove

  6. #6
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: Geometric Shapes Unicode Problem

    Quote Originally Posted by petrib
    As far as I know, there is no list that lists all the devices and all their built-in fonts and which glyphs each font file contains. It would be nice if there was, though.
    That would be pretty much impossible. The same device sold in different countries will probably have different fonts installed.

    shmoove

  7. #7
    Registered User
    Join Date
    Nov 2006
    Posts
    4

    Smile Re: Geometric Shapes Unicode Problem

    Thank you petrib for your help,

    Thank you agian shmoove, did you know that i'm using these charachter in the Ticker component and it takes String Object only.

    i tried to inherit it to change it to take a graph but it was a final class

    i think i should create bitmap font and use it but i don't now how, if any one here know how plz told me since i'm new in J2ME programin.

    thank you shmoove very much

  8. #8
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: Geometric Shapes Unicode Problem

    If you use a bitmap font you won't be able to use it with Ticker because that's a high-level UI component. You would need to create your own custom-made ticker that can be drawn on a Canvas.

    For an example of bitmap fonts you can check out MWT. It's LGPL.

    shmoove

  9. #9
    Registered User
    Join Date
    Nov 2006
    Posts
    4

    Thumbs up Re: Geometric Shapes Unicode Problem

    Thank you shmoove for helping me; hope all success to you in ur life

Similar Threads

  1. About 6230 Bt Problem
    By eerkek in forum Bluetooth Technology
    Replies: 17
    Last Post: 2005-02-08, 12:33
  2. CodeWarrior EPOCROOT problem
    By splinecl in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-10-01, 09:47
  3. Unicode Problem - Miscellaneous Symbol
    By jpkim77 in forum General Messaging
    Replies: 0
    Last Post: 2004-09-14, 06:24
  4. 7210 Silent Problem
    By MarkMckim in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-18, 12:36
  5. Unicode characters
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-05-17, 14:09

Posting Permissions

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