Hi Max,

On Tue, Mar 17, 2026 at 04:06 (-0700), Max Chernoff via ntg-context wrote:

> Hi Hans,

> On Tue, 2026-03-17 at 10:54 +0100, Hans Hagen wrote:
>> On 3/17/2026 10:13 AM, Max Chernoff wrote:
>> So maybe when we'd ship byte-compiled lfg files it would fall through.

> Well then you'd fall afoul of the "all compiled files must also contain
> their corresponding source" rule :)

>> That is the strange thing: why does the policy permit filenames in tex
>> files but not in lua files ... baffles me.

> Filenames are equally fine in Lua and TeX files, but the difference is
> that the .lfg files reference the structure/contents of the font, not
> just the name. For example, you can rename "texgyrepagella-regular.otf"
> to "LucidaBrightOT.otf", and "type-imp-lucida.mkiv" will still work
> completely correctly (I've even tested this out). However,
> "cambria-math.lfg" depends on the font having a character in
> "0x221A.parts.bottom" that needs to be kerned by 0.2 units; this will
> presumably only work (or only give good results with) the actual Cambria
> Math font, and not just some random font renamed to "cambmath.ttf"

I don't want to flog any horse to death, but I will admit I don't
understand this particular point.

Specifically, I don't see how referencing something in a non-free font
makes cambria-math.lfg itself verboten.

Indeed, cambria-math.lfg might not work well with some other font that is
pretending it is Cambria math, but surely that isn't a reason to declare
the .lfg file non-free.  It just tells me that if I pretend some other font
is Cambria math, then I'll get an error or bad results or ...

But isn't that problem on the user who is pretending something else is
Cambria math?  There are all sorts of things I can do to make TeX, LaTeX
and ConTeXt give me bad output, and surely texlive doesn't want to omit
every piece of the system that I can mis-use.

Similarly, there are all sorts of pieces of software on my computer which
assist me in using non-free software.  But I imagine even the most
fanatical Debian person would allow those on his/her computer.

So... is the exclusion of cambria-math.lfg explainable in any other way
than "ugly output will result if you use it on a free font"?

Thanks.

                                Jim
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to