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

Color fonts do not seem to work #2232

Open
Omikhleia opened this issue Feb 28, 2025 · 1 comment
Open

Color fonts do not seem to work #2232

Omikhleia opened this issue Feb 28, 2025 · 1 comment

Comments

@Omikhleia
Copy link
Member

\begin{document}
Hello \font[filename=Nabla-Regular.ttf]{World} of \font[filename=Nabla-Regular.ttf]{SILE}.

\font[filename=Nabla-Regular.ttf]

Lorem ipsum.

\end{document}

Nabla font from https://fonts.google.com/specimen/Nabla?categoryFilters=Technology:%2FTechnology%2FColor

Running with -d color-fonts, we do see some actions:

[color-fonts] Switching to color font Shaper
[color-fonts] Switching from color fonts shaper back to previous shaper

But:

  • Dubious line breaks (and the relevant code does indeed invoke leaveHmode when switching shapers...)
  • No colors

Image

Did I miss something?

@Omikhleia
Copy link
Member Author

N.B. Totally killing the bidi package (= making its code no-op) does not change the result, so this is probably unrelated to #501

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

No branches or pull requests

1 participant