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

black and white fonts #1108

Open
1 task done
sginoza opened this issue Feb 22, 2024 · 1 comment
Open
1 task done

black and white fonts #1108

sginoza opened this issue Feb 22, 2024 · 1 comment
Labels
bug Something isn't working pdf Issues in PDF output

Comments

@sginoza
Copy link

sginoza commented Feb 22, 2024

Describe the issue

Is it possible to set a preference for black-and-white fonts?

Section 3.2.1.1 of draft-ietf-jsonpath-base included the following:
U+1F914 ("🤔", THINKING FACE)

This was changed to the following to avoid color:
U+1F3BC (“🎼”, MUSICAL SCORE)

pdffonts showed it was using the following font:
NWKMBL+Noto-Color-Emoji

Carsten noted that we "could use 'Noto Emoji' instead of 'Noto Color Emoji'; this is properly black-and-white."

Note: this is not currently delaying publication of any documents. draft-ietf-jsonpath-base has been published as RFC 9535, which uses U+1F041 ("🁁", DOMINO TILE HORIZONTAL-02-02).

Code of Conduct

@sginoza sginoza added the bug Something isn't working label Feb 22, 2024
@kesara
Copy link
Member

kesara commented Feb 22, 2024

Looks like prioritizing Noto Emoji over Noto Color Emoji will hit a WeasyPrint issue: Kozea/WeasyPrint#1848

A workaround for this is:
Removing Noto Color Emoji from the system and installing Noto Emoji font from https://fonts.google.com/noto/specimen/Noto+Emoji
Note that the Noto Emoji font provided by https://noto-website-2.storage.googleapis.com/pkgs/Noto-unhinted.zip is old, and doesn't cover a lot of codepoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pdf Issues in PDF output
Projects
None yet
Development

No branches or pull requests

2 participants