I’m using a custom font with 3 weights (450, 500 & 550).
I’m using these in my paywalls, and they display properly in the Paywall Editor and in my iOS and Android app.
On the web, (@revenuecat/purchases-js 1.39.1) it’s not as great. The 500 font doesn’t really show up different than the 450. Font-weight is good if I inspect it but visually it’s not right.
Wondering if it could be related to that specific font, or it’s a web SDK issue?
Thank you.
Web SDK doesn't publish my custom fonts
Best answer by guilherme
Hey @JFBeaulieu, thanks for reporting back!
Nice to see the weights are rendering correctly now. And agreed, with Default, Selected and Offer states on each package it is easy for one weight to only live in an override and slip through. It’s flexible, but it does have that trade-off.
On the strikethrough, that one points to a known issue in the version you mentioned (1.39.1). In that release the paywall's CSS reset applied sans-serif directly to every element inside the paywall, which overrode the font inherited by the tags our markdown produces, like `<s>`, `<b>`, `<i>` and links.
This was fixed in the paywall UI package back in July, so updating revenuecat/purchases-js to the latest release (anything from 1.47.2 onward includes it) should sort it without any changes to your paywall config.
But do let me know how it shows for you then! Happy to follow through with the team with this.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.



