palantir / plottable

:bar_chart: A library of modular chart components built on D3
http://plottablejs.org/
MIT License
2.97k stars 221 forks source link

Use an open source web font by default for Plottable #2422

Open rcchen opened 9 years ago

rcchen commented 9 years ago

We're running into issues where OS-specific defaults for sans-serif fonts are causing tests to pass locally and fail on headless PhantomJS testing. It would also be nice to have a consistent font for Plottable regardless of environment.

rcchen commented 9 years ago

Note to self: in order to retain our current distribution model (only need to copy plottable.js and plottable.css) we will need to include fonts as base64 strings in the CSS.

rcchen commented 9 years ago

Our type gurus recommend Noto because it is universally supported and is available in a wide variety of languages.