krzyzanowskim,
@krzyzanowskim@mastodon.social avatar

deleted_by_author

  • Loading...
    benmagos,

    @krzyzanowskim found something similar when trying to match web and native text components. normalize.css sets lineHeight to 1.15.

    So for display in our React Native app with custom fonts I had to set the lineHeight to the fontSize * 1.15 in order for the experiences to match.

    krzyzanowskim,
    @krzyzanowskim@mastodon.social avatar

    OMG. O.M.G. what did I just learn

    jt,

    @krzyzanowskim I'm really intrigued by this but my understanding of font science is so limited. Where did you find these comments?

    krzyzanowskim,
    @krzyzanowskim@mastodon.social avatar

    deleted_by_author

  • Loading...
  • jt,

    @krzyzanowskim Wow that's interesting! It's always a bit shocking when you peek behind the wizard's curtain at what you find.

    lorentey,
    @lorentey@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • thenastyranch
  • everett
  • DreamBathrooms
  • ethstaker
  • magazineikmin
  • cubers
  • Youngstown
  • tacticalgear
  • Durango
  • slotface
  • ngwrru68w68
  • rosin
  • osvaldo12
  • JUstTest
  • InstantRegret
  • cisconetworking
  • GTA5RPClips
  • modclub
  • tester
  • mdbf
  • khanakhh
  • normalnudes
  • Leos
  • megavids
  • anitta
  • provamag3
  • lostlight
  • All magazines