-
Notifications
You must be signed in to change notification settings - Fork 35
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
ttf2pt1.exe has stopped working #48
Comments
Hope your issue is resolved.
Check the version of the Rttf2pt1 package by running the following command: The dlookr package loads fonts using the extrafont package.
The latest dlookr package uses Arial Narrow fonts for visualization. |
Thanks for the response. I checked the
Since the error is persisting even after re-installing the latest versions of both packages, do you have any other suggestions? |
Sorry. In R, it is very difficult to link a specific program in the user's environment. Since each user's environment is different, when an error occurs, it is necessary to find the cause of the problem in the same environment. I'm not a Rttf2pt1 developer, so I can't figure out what's causing the error in this program. In the next version I will try to make dlookr work without problems on your Windows. |
Changed the way fonts are imported into the R environment to insert fonts into the plot. For this method, the extrafont package was changed to the showtext package. So dlookr no longer needs Rttf2pt1. It has been reflected in the Github version, and is currently being submitted to CRAN for distribution. The English font includes "Liberation Sans Narrow" and the Korean font includes "NanumSquare" in the package. |
dlookr has replaced the functionality of the extrafont package with the showtext package. So now dlookr no longer uses Rttf2pt1 anymore. Therefore, this issue does not occur. |
When trying to load the
dlookr
package on a new machine, I am running into an error. Windows throws up a window that says "ttf2pt1.exe has stopped working". This pop-up can be closed with "Close the program", but then re-opens 3 more times before finishing loading thedlookr
package.See the attached screenshot:
Here is the complete log, note that the problem occurs after the
Registering PDF & PostScript fonts with R for Viz
line before completing after I close the pop-ups:Two questions:
The text was updated successfully, but these errors were encountered: