Comments (6)
Hi @ellisp ,
Thanks for reporting this issue. I believe it is a bug in showtext
, and I'll try to figure it out.
Just to let you know that the pdf()
and CairoPNG()
devices will work, so you can tentatively use those before I fix the bug.
from showtext.
Hi - just checking in with an update that now it crashes at an earlier stage (after a fairly long pause):
> font.add.google("Fira Sans", "myfont")
Error in font.add(family, r.file, b.file, i.file, bi.file) :
freetype: unknown file format, error code 2
from showtext.
Sorry @ellisp
It's still unclear what leads to this error. Have you met any problem with fonts other than Fira Sans?
from showtext.
I haven't, but I haven't looked at many either. I'll rig up a test somehow.
from showtext.
It seems to the problem of the font...
See
https://code.google.com/p/googlefontdirectory/issues/detail?id=368
and
google/fonts#10
from showtext.
The current version of the Fira Sans font should have already solved the problem.
from showtext.
Related Issues (20)
- library showtext error HOT 4
- using showtext leads to smaller font size in ggplot2 HOT 8
- White patches when using Google Fonts Inter in *.pdf HOT 3
- Will font_install() support loading in local font files? HOT 3
- showtext messing up emoji rendering HOT 2
- Arabic Text Support HOT 1
- How to determine font family name from google fonts? HOT 5
- Editable text in vector output HOT 1
- Installing showtext on databricks? HOT 5
- Acrobat distortions for certain fonts HOT 1
- Fontconfig error with CairoPNG on Windows R 4.2.0 (and 4.2.1) HOT 1
- 有没有可以调用Narrow字体的方法? HOT 2
- Small text when used with the ragg device HOT 3
- plotly support
- Quarto Support HOT 1
- showtext 包与数学表达式 expression 不兼容吗?
- Package doesn't work: Error in loadNamespace(x) : there is no package named ‘jsonlite’ HOT 3
- When `{showtext}` is used with `{ggtext}`, text is weirdly spread.
- Does font_add_google() needs to be called everytime? HOT 1
- Allow setting fig.showtext in pkgdown template packages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from showtext.