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

Different font families not recognized #935

Open
Melkiades opened this issue Sep 16, 2024 · 1 comment
Open

Different font families not recognized #935

Melkiades opened this issue Sep 16, 2024 · 1 comment

Comments

@Melkiades
Copy link
Contributor

> propose_column_widths(result, fontspec = font_spec("Arial", font_size = 35))
[1] 36 14 20 14 20
Warning messages:
1: In grid.Call(C_convert, x, as.integer(whatfrom), as.integer(whatto),  :
  font family 'Arial' not found in PostScript font database
2: In grid.Call(C_convert, x, as.integer(whatfrom), as.integer(whatto),  :
  font family 'Arial' not found in PostScript font database

@gmbecker should propose_column_widths get different results for different font sizes? It does not change any font size I input

@gmbecker
Copy link
Collaborator

this is down to the grid system, I think. the font information is all set at the same time, and it seems to ignore size if it doesn't understand the font family. I'll look into whether this is intented behavior or not, but if it is there won't be much we can (or, arguably, should) do about it

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

No branches or pull requests

2 participants