Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2008

    SVG-T Text alignment problem

    I created a svg-t 1.1 image which includes a font converted from a TTF with the apache batik tools.
    Now, i want to align the the text with this font. When i set the text-anchor="end" it should be layouted to the right (right-alignment).
    In the WTK Emulator, all works fine.
    But when i test it on my Nokia 6110 Navigator and on a N95, it is not exactly layouted. The text is a little bit shifted to the right, maybe 10 or 15 pixels.
    Does anyone know a solution?
    btw: When i use no font - so the standard svg system font is used - is is layoutes correctly.


  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007

    Re: SVG-T Text alignment problem

    Hello Stefan,

    which WTK emulator are you using?

    (My guess is that based on your info, it appears that Nokia devices support only the standard SVG font in order to layout it correctly.)

    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. UI Problem: enumerated text setting item
    By hong.lam in forum Symbian
    Replies: 6
    Last Post: 2007-09-07, 12:27
  2. problem with selected text
    By aurphius in forum Symbian
    Replies: 1
    Last Post: 2006-05-30, 10:46
  3. Replies: 1
    Last Post: 2006-05-29, 07:08
  4. Read Chinese Text file and Display Chinese on Canvas Problem?
    By goeast in forum Mobile Java General
    Replies: 4
    Last Post: 2002-09-18, 03:28
  5. Problem about Reading Chinese Text file?
    By goeast in forum Mobile Java General
    Replies: 0
    Last Post: 2002-09-18, 03:25

Posting Permissions

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