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

Add default fonts control #239

Merged
merged 1 commit into from
Sep 17, 2019
Merged

Add default fonts control #239

merged 1 commit into from
Sep 17, 2019

Conversation

yajo
Copy link
Contributor

@yajo yajo commented Sep 16, 2019

In #181 and #188 we added Liberation fonts as the default ones for reports. However this made it a little bit harder to choose a different default font (default fonts are the ones that the system interprets for monospace, sans-serif and serif).

From now on, if you want to override the default fonts, you have to add the package in dependencies/apt.txt or a build.d script, and add one or more of these new build arguments: FONT_{MONO,SANS,SERIF}. This way you make sure to override the default fonts. Before this, if you only added the package, it only made those fonts available, not default.

@Tecnativa TT19382

@yajo yajo self-assigned this Sep 16, 2019
In #181 and #188 we added Liberation fonts as the default ones for reports. However this made it a little bit harder to choose a different default font (default fonts are the ones that the system interprets for `monospace`, `sans-serif` and `serif`).

From now on, if you want to override the default fonts, you have to add the package in `dependencies/apt.txt` or a `build.d` script, and add one or more of these new build arguments: `FONT_{MONO,SANS,SERIF}`. This way you make sure to override the default fonts. Before this, if you only added the package, it only made those fonts available, *not default*.
@yajo yajo merged commit e31a7c3 into master Sep 17, 2019
@yajo yajo deleted the default-fonts branch September 17, 2019 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants