-
-
Notifications
You must be signed in to change notification settings - Fork 266
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
warning for latex-provided ts1? #1518
Comments
To be honest I think it would perhaps better if we do collect the email addresses of the dozen or less people that produce font packages and write to them privately and ask them to please make that update (which is not that difficult I would say, given that there is the code to generate the right setting for you). Putting such warnings it each an every log file means a) a lot of noise for all users and b) it is actually not that easy to determine when it would be appropriate: the default may as well be the correct value c) I doubt that much is reaching the maintainers this way. It essentially just requires getting the right email addresses (or perhaps the github accounts and assign them here) ... once that happened I'm happy write that email. Any takers for the collection part? If not I may do it at some point myself, but right now I don't have the bandwidth. |
Had a moment so figured I'd write down those I could think of.
|
A few others come to mind (I feel weird writing out email addresses for
gh to harvest, but I guess all of them are publicly known already):
Boguslaw Jackowski (jacko at bop.com.pl)
https://ctan.org/author/jackowski
Arash Esbati (arash at gnu.org)
https://ctan.org/author/esbati
Mohamed El Morabity (melmorabity at fedoraproject.org)
https://ctan.org/author/morabity
Hirwen Harendal (harendalh at hotmail.com)
https://ctan.org/author/harendal
There are many more (dozens or hundreds, I would guess). I could
auto-extract the info from the Catalogue, but I suspect the people
mentioned already would cover a good portion of what's in use
nowadays. And once they start doing it, hopefully the idea will become
more widely known. So maybe it is better to start with those than worry
about a longer list up front.
I will also add a note to the TL package contribution page, and ask CTAN
to do the same on theirs, although I don't expect that to have any
particular effect. Last paragraph in:
https://tug.org/texlive/pkgcontrib.html#complex
kb
|
Some package authors do provide declarations, but they typically seem to be in
Packages I'm responsible have declarations in the various
Hirwen Harendal is not responsible for the LaTeX support, but for the fonts. This is explained in the packages' documentation, so that name shouldn't be on your list.
Note that tools which auto-generate There is also the question of what to then do with the result the test gives you, which is not so obvious, imho. 1Very few (probably none) are 'correct' according to the test. This is one reason I don't want them in the |
Many thanks, Clea, for all this e tra information: very useful. |
grep -l DeclareEncodingSubset tex/latex/*/*.sty tex/latex/*/*.fd > /tmp/ts1-decs on a very recently updated TeX Live produces: tex/latex/algolrevived/algolrevived.sty
tex/latex/baskervaldadf/baskervald.sty
tex/latex/berenisadf/berenis.sty
tex/latex/cfr-lm/cfr-lm.sty
tex/latex/chivo/Chivo.sty
tex/latex/cochineal/cochineal.sty
tex/latex/electrumadf/electrum.sty
tex/latex/erewhon/erewhon.sty
tex/latex/gfsdidot/gfsdidot.sty
tex/latex/libris/libris.sty
tex/latex/newpx/newpxtext.sty
tex/latex/newtx/newtxtext.sty
tex/latex/newtxtt/newtxtt.sty
tex/latex/romandeadf/romande.sty
tex/latex/scholax/scholax.sty
tex/latex/tudscr/tudscrfonts.sty
tex/latex/venturisadf/venturis.sty
tex/latex/venturisadf/venturis2.sty
tex/latex/venturisadf/venturisold.sty
tex/latex/xcharter/XCharter.sty
tex/latex/ysabeau/ysabeau.sty
tex/latex/zlmtt/zlmtt.sty [I removed results for |
Note that I initially put them in the So I don't think it should be surprising that authors who've done this have used |
well, the main reason is that it is technically the place where it belongs, meaning in many cases you can use fonts without an additional .sty support file, e.g., by just doing
Are you using the original fontinst of the tool my Marc? In either case, I agree with you that it would be best to have that automated as part of the autogeneration of the .fd files.
I'm sure, the script and documentation could be improved, but what exactly do you find difficult or non-obvious from, say, the output
It could spit out the full declaration line, which is probably better, but otherwise? |
It is always a bit difficult to figure out where people are going to look and how much you therefore should duplicate in the documentation. fntguide.pdf that contains the full description of what should go into an .fd file say
but yes perhaps it could be extended and explicitly say that this is the right place and not a .sty file, because the font could be used without that .sty file. I don't think the 2e sources use that declaration anywhere in a sty file, if we do it is a mistake. |
the only place we use it is in textcomp.sty (it's not in the ts1 fd files in base) in fact in texlive tex/latex area I only see it in packages
so while I agree with the argument that it's better to be in the fd files to allow direct use of the font, the current situation is rather different |
I was looking at ltnews39 and was reminded of the need for font package maintainers to provide TS1 subset declarations. If that's started happening, fine. But if not (as I suspect), I wondered about having LaTeX emit a warning ("tell the font maintainer to update their package") when its subset declaration is used.
Just an idea. If this is already being done, sorry. I couldn't easily check right now.
The text was updated successfully, but these errors were encountered: