-
Notifications
You must be signed in to change notification settings - Fork 0
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
Unexpected linebreak in heading/list #2
Comments
Weird output to me. I might need to check what happens. |
This occurs when using the ligatures of Font Awesome in a heading or list item: // A weird newline occurs
- test #fa-icon("chess-queen") test
- test #text(font: "Font Awesome 6 Free", "chess-queen") test
// No newline occurs
- test #fa-chess-queen() test
- test #text(font: "Font Awesome 6 Free", "\u{f445}") test I have yet to find out what is different in headings and lists. Currently, I can only suggest using |
Thanks, it works. The problem might be with typst itself. |
I recently released v0.2.1. `fa-icon currently looks up icons in a map and uses Unicode to render the icon. So, in most cases, this would not happen. This might happen if the user uses this package with FontAwesome Pro. There is no map for the Pro set now, and ligatures are used. |
Please see screenshot
The text was updated successfully, but these errors were encountered: