Chrome App, Bootstrap Icons, how to load Glyphicons Halflings.woff

192 views
Skip to first unread message

Michael Cole

unread,
Sep 17, 2014, 2:33:02 AM9/17/14
to chromi...@chromium.org
Hey, I'm building a chrome packaged app, and want to use Bootstrap.  

Bootstrap has a Glyph Halflings font that offers some icons.

When I include boostrap.css, I never see the font files loaded in the network tab of dev tools.

Reading other posts, I tried this, but it was not successful that I could see in my app or network tab.  The fonts are never loaded:

/* Assist for Bootstrap icons */
@font-face {
  font
-family: 'Glyphicons Halflings';
  src
: url("data:font/woff;charset=utf-8;base64,d09GRgABAAAAAFsYABEAAAAAoU...VLmWK4AAA==") format('woff');
}

How are fonts included in a Chrome packaged app?

Michael Cole

unread,
Sep 18, 2014, 10:17:47 AM9/18/14
to chromi...@chromium.org
This was a problem with my CSS.  I was using BS2 HTML with BS3 CSS.  Switching to the right CSS loaded the font in the browser just fine.  Doh!  -- Mike


--
You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-app...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.



--
Michael Cole
Reply all
Reply to author
Forward
0 new messages