We get a lot of questions about fonts, and it seems to be a pain point for many users. To date all
of these problems have been diagnosed to a misconfigured build setup for the end user. Please also
double-check that you included the ui-grid.css
stylesheet.
This tutorial addresses the basics of the configuration.
Key points here are:
plunkr.co
. The fact that plunkrs don't show fonts doesn't make this
an issue with ui-grid, it's still likely an issue with your configuration. :-)When you download and install ui-grid, you'll get a series of files:
ui-grid.js
ui-grid.css
ui-grid.eot
ui-grid.svg
ui-grid.ttf
ui-grid.woff
The last four files are the font files. These generally need to be inserted into your local build process,
as they will need to be copied to your assets
folder, your fonts
folder or some other similar location.
The instructions for configuring this are different for each build setup, but your build environment should
have come with some method for configuring this - usually a Gruntfile.js, a build.config.js, or some form of
gulp configuration.
If you are seeking to diagnose why you're not getting your fonts, you can typically look at your Chrome developer tools, and you'll see a network request being issued for one of the font files, which then gives an error not found. As a first step, try manually copying the font files into that location. If your application now works, then your goal is to work out how to configure your build process to do that automatically for you.