Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTF file on Github seems not the same from the https://www.jetbrains.com/lp/mono/ #717

Open
1Jesper1 opened this issue Feb 20, 2025 · 0 comments

Comments

@1Jesper1
Copy link

https://github.com/JetBrains/JetBrainsMono/blob/master/fonts/ttf/JetBrainsMono-Regular.ttf seems to work for us.
But https://download.jetbrains.com/fonts/JetBrainsMono-2.304.zip JetBrainsMono-Regular.tff gives us an error.
The error we experience is when we use 2 .. dots in a pdf.

react-pdf.browser.es.js:4283 RangeError: Offset is outside the bounds of the DataView
at DataView.prototype.getInt16 ()
at push../node_modules/restructure/src/DecodeStream.js.DecodeStream. [as readInt16BE] (DecodeStream.js:72:1)
at NumberT.decode (Number.js:20:1)
at Struct._parseFields (Struct.js:41:1)
at Struct.decode (Struct.js:12:1)
at $69aac16029968692$export$2e2bcd8739ae039._getCBox (browser-module.mjs:10869:1)
at $69aac16029968692$export$2e2bcd8739ae039._getMetrics (browser-module.mjs:11037:1)
at get advanceWidth (browser-module.mjs:10727:1)
at descriptor.get (browser-module.mjs:55:1)
at browser-module.mjs:10104:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant