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

Proper kerning of \XeTeX #1

Open
pkgw opened this issue Oct 13, 2022 · 0 comments
Open

Proper kerning of \XeTeX #1

pkgw opened this issue Oct 13, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@pkgw
Copy link
Contributor

pkgw commented Oct 13, 2022

Right now we don't properly kern the backwards E in \XeTeX, purely just because I needed to customize the macro and didn't take the time to replicate it.

To fix this, we need to make our overridden macro a bit more sophisticated, here:

https://github.com/tectonic-typesetting/tt-weave/blob/main/template/src/xetex-overrides.tex#L6

A macro with proper kerning would need to be wrapped in the \special commands to turn the full expression into a "canvas", as in the version of the \TeX macro redefined in the preamble:

https://github.com/tectonic-typesetting/tt-weave/blob/main/template/src/_preamble.tex#L59-L60

Note that the \XeTeX currently uses the wrapped \TeX expression in its definition. I'm not sure what will happen if we try to nest canvases by keeping things that way!

@pkgw pkgw added the good first issue Good for newcomers label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant