@DavidCarlisle not really. those lines are the same. obviously you get more changes if you diff the pdf outputs, just because of the (-20)s everywhere. but you also get e.g.
but I don't understand why it is so different from the luatex case.
-....\glue(\rightskip) 0.0
-...\penalty 150
-...\glue(\baselineskip) 2.5
-...\hbox(9.0+3.0)x418.25368, glue set 0.29521
+....\glue(\thickmuskip) 3.33328 plus 3.33328
why ^^ after =? is it just because the fonts are different between this and the lua case?
the lua output is much very like the pdf-without-microtype output.
@cfr your first block is showing a line that did not linebreak at = (so = is followed by the penalty 500 node) and the second one is showing a linebreak after = (so = is followed by \rightskip glue node. ) These obviously look different but I am not sure what your question is. Linebreaking in luatex isn't always the same as in pdftex, so different linebreaking is not something unexpected.
@cfr Type1=T1? I didn't get very far yet. You mean the various tools, not fools, right. Similar, but not the same. I googled a bit. But didn't get me far either. Is it more or less easy to convert a ttf to fd? As I see, ttf and otf is the same by now (or isn't it?). metafont, complete different thing. But how does the fd come in here. I also had a look at what David mentioned. But I'm still missing some clarity.
@MaestroGlanz no T1 is the tex-specific 8-bit encoding for European text. as in \usepackage[T1]{fontenc}
@MaestroGlanz "Is it more or less easy to convert a ttf to fd?" an fd file is tex code not a conversion of font data, it just declares what actual font to use if the user goes \Large\textsc{\textsl{\textbf{hello}}}
@MaestroGlanz svg state of which art? It's more or less unrelated to font declarations?
I mean feature like "textbf" -> "bold weigh 3", because the author called it that way.
Can I adjust the kerning for certain character combinations in the fd file? Because this is one of the most frequent issues, I run into. A font has nice glyphs, but the kerning is just a mess.
@MaestroGlanz pdftex (the main use of fd files0 can not access feature such as weight.Just look at the files they are simple tex code you can read them:
says in \fontencoding{OT1}\fontfamily{cmr}\fontseries{bx}\fontshape{n} should use `cmbx5 at 5pt, a suitably scaled cmbx12 at 24.88pt and at any size other than those listed, it should substitute the nearest size
@MaestroGlanz no: fd files have nothing to do with internal font data, they are just about the external file name
@MaestroGlanz the syntax is explained in fntguide but it's as I said, the first arguments match the latex font selection commands then the final argument is a list of sizes and a function for each how to generate the font file name
I looked at it before already, but now with that extra information and looking again, it's a bit clearer. I will look at one of the fd files first, before I proceed.
@DavidCarlisle Is there any way then to "fix" these fonts. I did something like \catcode´€=13 \def€{\detokenize{€}\kern -0.1em\relax} already (simplified). For testing purposes. But this may easily break.
@MaestroGlanz as Joseph just asked, if you are using luatex you don't normally need fd files at all and there is a Lua interface to adjusting font metrics on the fly) if you are using pdftex then no you need to make a virtual font with the modified matrics but if you are using pdftex you can not assign a catcode to € as it is three tokens not one.
€ was just an example, since I don't have the long s on my work keyboard (windows). Okay, that means fd-files only for pdflatex. So LuaLaTeX doesn't need the fd-files, or do I need something additionally for LuaLaTeX. I used fontspec already under LuaLaTeX. Is this the thing, you mean.
On ctan is a new package marginalia by Alan J. Cain, »scholar of fortune«. The package is one thing. But on p. 3, sidenote 5 of the manual he reveals that he used it in his book »A. J. Cain. Form & Number: A History of Mathematical Beauty. Lisbon, 2024.« and I followed the the link. I'm not a mathematician, but this book looks outstanding. I've no idea whether Cain mastered the subject (it looks very much so!), but he surely mastered LaTeX and TiKz. Go and look for yourselves.
But! Pagination on the right on left pages? I think, page numbers should always be printed to the outside, so that a reader can quickly browse the book. In understand the design though ...
Oh, well it's an ebook layout ...
Ah, there exists a version for printing and it has ... of course! ... pagination at the proper places on even pages =)