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

Try to see if system fonts can be found in the active bundles #9

Open
pkgw opened this issue Mar 15, 2017 · 3 comments
Open

Try to see if system fonts can be found in the active bundles #9

pkgw opened this issue Mar 15, 2017 · 3 comments
Labels
bundles and files Bundle issues, finding fonts, etc.

Comments

@pkgw
Copy link
Collaborator

pkgw commented Mar 15, 2017

Maybe a document specfies a font that is resolvable as a system font, but it turns out to be the same thing as a font that we have in a bundle. In that case we should figure this out, use the bundle file, and suggest to the user that they specify the font in a way that results in it getting pulled from the bundle rather than having to go through the system file lookup. (In particular, you need to specify the font as a particular file name: texgyrepagella-regular.otf, not TeX Gyre Pagella.)

@khaledhosny
Copy link

You can add the fonts in the bundle to FontConfig configuration using FcConfigAppFontAddFile or FcConfigAppFontAddDir, then asking for these font by font name (i.e. TeX Gyre Pagella) should work.

Mrmaxmeier pushed a commit to Mrmaxmeier/tectonic that referenced this issue Oct 1, 2019
@auscompgeek
Copy link

Specifying \set*font by filename would break bold/italics. Is it possible to look up font bundles by font name?

@pkgw
Copy link
Collaborator Author

pkgw commented Jan 3, 2021

@auscompgeek It doesn't need to break bold/italics, if I'm understanding you properly ... see the recipe given here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bundles and files Bundle issues, finding fonts, etc.
Projects
None yet
Development

No branches or pull requests

4 participants