1

I have the following:

@font-mensch: 'menschmensch_bold', "wf_SegoeUI","Segoe UI","Segoe","Segoe WP", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
@font-face {
    font-family: 'menschmensch_bold';
    src: url('font/mensch-bold-wf-webfont.eot');
    src: url('font/mensch-bold-wf-webfont.eot?#iefix') format('embedded-opentype'),
      url('font/mensch-bold-wf-webfont.woff') format('woff'),
      url('font/mensch-bold-wf-webfont.ttf') format('truetype'),
      url('font/mensch-bold-wf-webfont.svg#menschmensch_bold') format('svg');
     font-weight: normal;
     font-style: normal;
}

@font-face {
    /* Ampersand fallback font */
    font-family: 'sans-serif';
    unicode-range: ~"U+270C";
}

The custom font is getting applied, but because the ampersand is not supported with Mensch, I'm trying to conditionally apply sans-serif to the font if it's an ampersand. The above code isn't working - the ampersands just don't show up. What am I doing wrong?

hippietrail
  • 15,848
  • 18
  • 99
  • 158
RobVious
  • 12,685
  • 25
  • 99
  • 181
  • What is `unicode-range: ~"U+270C";` supposed to do? Is that valid syntax? I would suspect that property value is being ignored. Also, what is `@font-mensch`? I'm not acquainted with that syntax. Can you also show us the CSS rule where you are applying your font-family? –  Oct 25 '15 at 07:19

1 Answers1

-1

try using

...
unicode-range: U+26;
...

HTH

Nick Dickinson-Wilde
  • 1,015
  • 2
  • 15
  • 21