New post
0

Letter "i" bug

I have encountered a bug in the Android version on SkySafari Pro 6. Whenever a lower case 'i' appears in a star or constellation name, there is a small artifact either above or below it. I will attach a screenshot to show.

Note the white dots below the 'i' in "Alkaid", "Mizar" and "Alioth". You can even see two sets of these bugs (above and below both 'i's) in orange in "Big Dipper".



6 comments

  • 0
    Avatar
    John Sillasen

    Son of a gun, he's right. I can see it too. Only I don't have all the star names visible but as soon as I touch or select one to get the name to display, the little white dot to the right and below the lower case letter 'i' shows. It disappears as soon as another star is selected and if it has a lower case letter I it displays a small, white dot below and right of the letter I on the display as well
    Whether a bug or a feature, I'll leave that to Simulation Curriculum to label but I confirm it's presence. I have not checked version 4 Pro but confirm it is present in version 5 Pro.  Now only for lower case letter "i" in star names.  It is not present in orange colored constellation names or asterisms like Big Dipper in version 5 Pro.  "Wonderin if it was always there now..hmm.

  • 0
    Avatar
    Bill Tschumy

    Yeah, that's pretty weird.  I see it always below and to the right. Here is what I suspect is happening:

    When you draw text in OpenGL, it is common to make a "text atlas".  This is an image with all the characters drawn in a grid

    abcdefg
    hijklmno
    pqurstuv

    Then when you need to draw a particular character, you copy the bits from the appropriate area of the atlas and draw them onto the screen.  In this case there is probably a character below the "i" that has some bits sticking up higher than expected, encroaching on the "i"'s rectangle.  The we grab the bits for the "i" we are also grabbing those errant bits.

    I will try to look at this and see if it is easily fixed.

  • 0
    Avatar
    Bill Tschumy

    So I finally figured this out.  When we make the text atlas, we draw a "j" right after the 'i'.  Some versions of Android appear to be drawing the "j" slightly to the left of where I tell it to.  This results in those pixels at the bottom left of the "j" to be drawn in the rectangle where only "i" pixels should be.  I now special case the drawing of the "j" to draw it 1 pixel to the right of where it really should be.  Looks good now.

    Unfortunately this fix didn't make it into the just released SkySafari 6.0.4.33 

  • 0
    Avatar
    MrZoolook

    Sorry to bring this up again, but I'm seeing this bug again.

    I see it over capital 'P', over small 'G', and around a few others.

     

  • 0
    Avatar
    Bill Tschumy

    Grrr..  I will take a look.  Thanks.

  • 0
    Avatar
    Zoltán Belső

    I can confirm, that it is still there (even after updating SkySafari 6 today).

Please sign in to leave a comment.