KyleAMathews / typography.js

A powerful toolkit for building websites with beautiful design
http://kyleamathews.github.io/typography.js/
MIT License
3.84k stars 182 forks source link

Does font type render differently on production site? #226

Closed yansusanto closed 5 years ago

yansusanto commented 5 years ago

I'm currently using

import Typography from "typography";

const typography = new Typography ({
    baseFontSize: "18px",
    baseLineHeight: 1.666,
    headerFontFamily: [
        "Avenir Next",
        "Helvetica Neue",
        "Segoe UI",
        "Helvetica",
        "Arial",
        "sans-serif",
    ],
    bodyFontFamily: ["Avenir Next", "Helvetica Neue", "serif"],
})

export default typography

It works perfectly on my desktop but not on mobile. I understand that it might not render "Avenir Next" on mobile but is there a reason why it is not rendering "Helvetica Neue" as a fallback?