×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    22

    Question Does AknIconUtils class on 3250 support foreignObject and image svg element?

    Dear all,

    I'm trying to draw an svg file on 3250.
    With the svg file supplied by scalableui sample, we can draw the svg file on the screen.
    But with our own file, we can't draw the svg on the screen.
    I think that the program source and the .mk file are right.
    Would anyone please help to test the image on the phone with a simple program and point out our mistake?
    Or is it a known bug on the phone?

    Any help would be appreciated.
    Thanks in advance.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Does AknIconUtils class on 3250 support foreignObject and image svg element?

    Did you remember to convert the SVG to SVG-T ?

    Also what happens, is the image fully transparent or just white ?

    Some brushes/fillings are not supported too well, so you should start with some simple SVG's first to see that your methods are right, and then see which efects are actually showing in the phone.

    Also it could help to update the SW on the 3250, some older SW versions had some problems on some fillings, and in never SW versions all supported stuff works better.

    And as final advise, check that the view-rect is defined as 0,0,width-value,heigh-value inside the SVG, if you fail to define it, the image might not show correctly in some cases.

    yucca

  3. #3
    Registered User
    Join Date
    Apr 2004
    Posts
    22

    Smile Re: Does AknIconUtils class on 3250 support foreignObject and image svg element?

    Quote Originally Posted by symbianyucca
    Did you remember to convert the SVG to SVG-T ?

    Also what happens, is the image fully transparent or just white ?

    Some brushes/fillings are not supported too well, so you should start with some simple SVG's first to see that your methods are right, and then see which efects are actually showing in the phone.

    Also it could help to update the SW on the 3250, some older SW versions had some problems on some fillings, and in never SW versions all supported stuff works better.

    And as final advise, check that the view-rect is defined as 0,0,width-value,heigh-value inside the SVG, if you fail to define it, the image might not show correctly in some cases.

    yucca
    Thank you for your attention and kind reply.
    I really change the image into svg-t format.
    The image on the screen is just white.:(
    I've got three svg files.
    One is copid from the ScalableUI example.
    One is from one of my friends.
    They both show well.
    Only the last one,which is mine, doesn't show well on the screen.
    But mine shows well on IE with svg viewer plugin.
    I compared these files.
    I find the distinction between them is that my file contains the foreignObject and image elements.
    My file is changed from bmp format to svg format with Adobe Illustrator 10.0.
    I delete the foreignObject in the svg file.
    But still, I can't see the image.
    So I suspect that it's the image element that causes the problem.
    Does it mean that I'll have to write my own icon show library?

    Thanks again for your reply.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Does AknIconUtils class on 3250 support foreignObject and image svg element?

    hmmm, would it be easier to read the previous reply I wrote and try the things I was suggesting in there... might save some development time really...

    yucca

  5. #5
    Registered User
    Join Date
    Apr 2004
    Posts
    22

    Re: Does AknIconUtils class on 3250 support foreignObject and image svg element?

    Thanks again for your reply.
    But it'll be a bit difficult for all my customers to update their SW.:(
    I'll test some strange properties in the svg file.:(
    But the file really shows well on other symbian platform.
    Hello.:)

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Does AknIconUtils class on 3250 support foreignObject and image svg element?

    What about "Some brushes/fillings are not supported too well, so you should start with some simple SVG's first to see that your methods are right, and then see which efects are actually showing in the phone.".....

    would that be easier....

    yucca

  7. #7
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Does AknIconUtils class on 3250 support foreignObject and image svg element?

    And what has that gotta do with the topic in this thread ?

    yucca

  8. #8
    Registered User
    Join Date
    Apr 2004
    Posts
    22

    Smile Re: Does AknIconUtils class on 3250 support foreignObject and image svg element?

    Quote Originally Posted by symbianyucca
    And what has that gotta do with the topic in this thread ?

    yucca
    Dear yucca,

    Sorry for the delayed reply.
    I've been away these days.
    We finally find the cause of the problem.
    It is the image element in svg file.
    Part of our svg image is changed into bitmap when saving.
    If we delete these elements, the picture shows well on 3250.
    And we'll pay special attention to that.
    And really appreciate to your kind reply.

    Sincerely,
    Kun
    Hello.:)

Posting Permissions

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