question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

github_iconTop GitHub Comments

2reactions
lpwwcommented, Oct 1, 2019

Update:

I managed to get custom fonts working by using local imports and this workaround https://github.com/diegomura/react-pdf/issues/588#issuecomment-491538579

Example

Font.register({
  family: 'NotoSansJP-Regular',
  format: 'truetype',
  src: `//${window.location.host}/fonts/NotoSansJP-Regular.ttf`
})

The src is a path to a font I had downloaded from google font, imported/exported from birdfont (without making any changes), and added to my project. For some reason it fixes issues with custom fonts

0reactions
Miluxascommented, Apr 15, 2020

Hi everyone I have some problems with the custom font. cause I can’t use Persian font even. None of this solution handles my problem. What should I do?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Latin-extended characters displayer wrong - Mozilla Support
After updating Firefox to 74.0 (x64) at Windows 10 Home x64 (1909) I'm encountering a problem with displaying of certain latin-extended ...
Read more >
[resolved] latin-ext not showing æøå correctly - Codecademy
Hi I'm have just completed "make a website with bootstrap" and noticed I couldn't get Danish characters to show correctly. I have made...
Read more >
Latin Extended fonts not rendering properly - Minti Themes
Hi,. there seems to be some problems with Latin Extended font rendering. In Chrome words with Latin-extended characters seem to have smaller ...
Read more >
Extended Latin characters are not working - Forum
I am trying to get my code to display the language choices in the language of that land. The words show correctly in...
Read more >
Google Fonts latin extended not working - Stack Overflow
When you type a custom demo text inclufing latin extended characters and apply it to all fonts, many of them render those characters...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found