4 Replies Latest reply: Aug 1, 2018 4:29 AM by Casper van Pomeren RSS

    Force mashup to use Qlik sense font on unicodes / chr

    Casper van Pomeren

      Hi everyone,


      I am currently using some chr() / Unicodes inside my mashup map object, the problem is these chr() / unicodes default to the windows image of the chr() / unicode instead of the qlik sense image. The thing is, I like the qlik sense images better (they are cleaner).

       

      Problem in pictures:

       

      How it looks in Qlik sense:

      300720181.png
      How it looks inside my mashup:
      300720182.png

       

      If you search for "hot beverage" here:
      https://unicode.org/emoji/charts/full-emoji-list.html

      You will recognize the windows picture from the second example.

       

      So I now know that it's using windows image and I need to change it back to the Qlik Sense image. I tried placing around with @fontface inside css, something like this:

       

      @font-face {

      font-family: "Lui-Icons";

      src: url('\fonts\lui-icons.woff') format('woff');

      font-weight: normal;

      font-style: normal;

      }

       

       

      @font-face {

      font-family: "QlikView Sans";

      src: url(\fonts\qlikview-sans.ttf') format('truetype');

      font-weight: normal;

      font-style: normal;

      }

       

       

      .body {

      font-family: Lui-Icons;

      }

       


      The problem is, neither font-family Lui-Icons or QlikView Sans works. Does anyone know how to fix this?

       

      Any help is appreciated.