systemfonts icon indicating copy to clipboard operation
systemfonts copied to clipboard

System Native Font Handling in R

Results 22 systemfonts issues
Sort by recently updated
recently updated
newest added

I am having difficulty installing **systemfonts** on Linux Ubuntu 20.04, using R 4.2.1. Here is the error message from the attempted installation. Any ideas on how to fix greatly appreciated...

I tried to install the package on Ubuntu 18.04 and got the following error at compilation. Any idea how I could get it to compile? ``` > install.packages("systemfonts") Installing package...

https://clang.llvm.org/extra/clang-tidy/checks/readability-container-size-empty.html

Hello there, Thank you for this package, I've found it very useful! I think I might have found an inconsistency in the `shape_string()` function that (probably) gives an incorrect value...

From what I gather, with something like this — https://github.com/hrbrmstr/hrbragg/tree/master/inst/fonts/inter — ```r fs::dir_tree(system.file("fonts/inter", package = "hrbragg")) ## /Library/Frameworks/R.framework/Versions/4.0/Resources/library/hrbragg/fonts/inter ## ├── Inter-Black.otf ## ├── Inter-BlackItalic.otf ## ├── Inter-Bold.otf ## ├── Inter-BoldItalic.otf...

The problem: on a MacOS build on Github Actions, {systemfonts} does not see fonts installed in user library, reports matching IBM Plex Sans to Helvetica but some other font shows...

Here is the log : ``` trying URL 'https://cloud.r-project.org/src/contrib/systemfonts_1.0.1.tar.gz' Content type 'application/x-gzip' length 80368 bytes (78 KB) ================================================== downloaded 78 KB * installing *source* package ‘systemfonts’ ... ** package ‘systemfonts’...

Rationale: on GHA, where it is difficult to get fonts registered correctly (and perhaps elsewhere), the workaround is to `register_font()` from files inside an installed package. Registering variants via `register_variant()`...

This code produces a hard segfault: ``` future::plan(future::multiprocess) fut