Skip to content

Removed default ligatures behaviour #471

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

Merged

Conversation

j-mie6
Copy link
Collaborator

@j-mie6 j-mie6 commented Mar 1, 2023

Set default font for code to Fira Mono, which doesn't have ligatures and added the .ttf files to resources to ensure they can be properly embedding in a generated .pdf

@mergify mergify bot added the site label Mar 1, 2023
Comment on lines +156 to +157
val laikaFontPath = "laika/helium/fonts"
val tlFontPath = "org/typelevel/sbt/site/fonts"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh laika puts it under helium? I didn't think fonts are helium specific. Meh, we can leave it as is.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, we can't change it anyway right? This is where they are inside the laika jar

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But yeah, I guess they put it there because the fonts are only used as "part of helium"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I meant whether we should put it under helium too, to be consistent.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohhhh

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Easy change if you wanted it, but don't think it adds much really

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly. Meh :)

Copy link
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for chasing this down!! Ligatures begone!

@armanbilge armanbilge merged commit f2673f9 into typelevel:series/0.4 Mar 3, 2023
@j-mie6 j-mie6 deleted the fix/remove-ligatures-from-defaults branch March 4, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants