eweitz / ideogram

Chromosome visualization for the web
https://eweitz.github.io/ideogram
Other
294 stars 71 forks source link

Enable changing font family #269

Closed eweitz closed 3 years ago

eweitz commented 3 years ago

This adds support for specifying the font family to use for text in the ideogram. It helps ideogram match the look and feel of the embedding application, in cases where this is important.

Example in the "Related genes" kit, using fontFamily: "'Montserrat', sans-serif":

font_family_ideogram_2021-05-09

With default font:

font_family_default_ideogram_2021-05-09

This also fixes a few minor style and interaction issues, building on #252.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.08%) to 89.186% when pulling ae1053e4cce80e3f29eb01dc96903fd76aedd69a on font-family into b64118937cffece3b560d81256949d0a8b94801f on master.