locked
Inconsistent AppBar glyphs on Windows 8 and Windows 8.1

    Question

  • Hi,

    I'm using a few Segoe UI symbols as AppBar button glyphs:

     - refresh
     - go back
     - color palette
     - size

    The "refresh" and "go back" glyphs show up correctly on both Win8 and Win8.1 but the other two ("color palette" and "size") show up on Win8 as empty rectangles (they look correctly on Win8.1 though).

    Is there any reason for this incompatibility?

    Thanks,

    Leszek


    Wiki: wbswiki.com
    Website: www.wisenheimerbrainstorm.com

    Thursday, April 24, 2014 3:39 PM

Answers

  • No, there's no good high level way to tell if the glyph is supported at runtime. If you can drop down to DirectWrite then you should be able to tell there, but it'd be overkill. You'd be better off using your own icon in your Windows 8 builds and use the Glyph in Windows 8.1 builds.

    --Rob

    Monday, April 28, 2014 11:35 PM
    Owner

All replies

  • You'll get that behavior when the glyph is new for 8.1. The empty box shows when you display a code point that doesn't have a glyph in the font
    Thursday, April 24, 2014 3:45 PM
    Owner
  • Thanks Rob. This explains the empty boxes.

    Is there any way to recognize that the glyph is not supported? This way I could substitute it with another one at run-time.

    Thanks,

    Leszek


    Wiki: wbswiki.com
    Website: www.wisenheimerbrainstorm.com

    Thursday, April 24, 2014 3:59 PM
  • No, there's no good high level way to tell if the glyph is supported at runtime. If you can drop down to DirectWrite then you should be able to tell there, but it'd be overkill. You'd be better off using your own icon in your Windows 8 builds and use the Glyph in Windows 8.1 builds.

    --Rob

    Monday, April 28, 2014 11:35 PM
    Owner