« first day (5133 days earlier)      last day (97 days later) » 

cfr
cfr
07:00
does anybody know if checkencodingsubset is expected to produce sensible results for fonts installed with fontinst?
 
2 hours later…
09:13
Ducks are very good friends with fish: x.com/shouldhaveanima/status/1858653918005457019
09:44
@cfr yes for suitable definitions of "know" and "expected"
@PauloCereda yes they go well together sethlui.com/ng-soon-kee-fish-duck-porridge-singapore
10:28
Anyone got any idea what's going on here:
\documentclass[draft]{article}
\usepackage{unicode-math}
\begin{document}
\ExplSyntaxOn
\dim_zero:N \l_tmpa_dim
\int_step_inline:nnn { 0 } { 9 }
  {
    \hbox_set:Nn \l_tmpa_box { $#1.$ }
    \dim_compare:nNnT { \box_wd:N \l_tmpa_box } > \l_tmpa_dim
      {
        \dim_set:Nn \l_tmpa_dim { \box_wd:N \l_tmpa_box }
        \iow_term:e { #1~\dim_use:N \l_tmpa_dim }
      }
  }
\ExplSyntaxOff
\end{document}
In particular @DavidCarlisle, @Skillmon, @egreg, @UlrikeFischer ^^
Spotted doing some tables in siunitx, wondered what was happening
I can fix easily by using 7 as the 'model' for width of numbers, but why is it different with a Unicode font - issue in Latin Modern Math?
@mickep ^^ See the same in ConTeXt with LMMath??
....\TU/latinmodern-math.otf(1)/m/n/10 7
....\kern0.13 (italic)
....\TU/latinmodern-math.otf(1)/m/n/10 .
@JosephWright ^^
@JosephWright all the digits are 5pt width I think you just need to isolate the .
11:00
@DavidCarlisle But there shouldn't be a kern here ...
@DavidCarlisle One of the design aims in v3 is to produce underlying (La)TeX that is as close as possible to what you'd type manually: so here what's odd is the kern, you'd not manually type a number with extra groups around the . - sigh
@JosephWright I have no clue what that code is doing :(
@JosephWright well i wondered about that, although while digits are monospace . isn't so it's not necessarily in error even if it's unhepful. The kern seems odd given the shape of 7 if you kerned at all I'd expect it to be negative to kern in, but this kerns 7. out
@mickep just do \showoutput \hbox{$0.$} \hbox{$7.$}
@JosephWright with luatex you can use \hbox_set:Nn \l_tmpa_box {\mathitalicsmode=2 $#1.$ }
11:16
@JosephWright well agreed, but I just meant the issue was the kern, not (as i thought you meant originally the digit 7 was wider)
@DavidCarlisle Yeah, I was scratching my head
@UlrikeFischer Nice
@mickep Thanks
@JosephWright but I know you want to support xetex :-)
@DavidCarlisle :)
@DavidCarlisle You raise a serious point - this is a Unicode engine issue only
I don't think it would come up in a classical 8-bit situation
@JosephWright and the ongoing issue about getting updates/fixes to the lm/tex gyre opentype fonts
@DavidCarlisle Yeah, that beign it's a non-starter
11:22
@DavidCarlisle the kern is also used if you do e.g. 7(. (I wonder if math mode can actually do different kerning for different pairs)
Isn't there something "funny" about the italic 7 in cm as well?
@DavidCarlisle I might seriously go for @UlrikeFischer's suggestion, and simply note that XeTeX may give some slightly odd results due to font issues out of my control
@mickep oh look 0.13pt ... (@JosephWright)
(CHARACTER C 7
   (CHARWD R 0.511108)
   (CHARHT R 0.644444)
   (CHARDP R 0.194445)
   (CHARIC R 0.135556)
   )
@DavidCarlisle Ah
@JosephWright not that the upright 7 in opentype should be based om cmti10 but....
11:30
@DavidCarlisle Indeed :)
I've logged an siunitx issue for this: github.com/josephwright/siunitx/issues/759
@JosephWright I thought you'd say that
@DavidCarlisle Tracing my code right now :)
@JosephWright do you get the same with other math fonts?
@JosephWright the fonts are open source, we should really lean on @mickep to fix them rather than patching them in context-specific Lua code. It could be a secret plan to just keep mentioning issues until he thinks of fixing the fonts without us having to say anything.
@UlrikeFischer No, at least not with the couple I checked quickly
@DavidCarlisle :)
11:41
@DavidCarlisle You only want that because then you can blame me when people notice bugs...
@mickep is that a bad reason?
@DavidCarlisle Not for you, perhaps.
@DavidCarlisle oh no
Hello again. Where do I report a bug with luaLaTeX and hyperref (and \enlargethisage)?
@Lupino if you need hyperref to show the problem, then the hyperref repo
@Lupino or just blame @UlrikeFischer
11:47
yeah, pdf generation breaks down hard when there is an unstarred enlargethispage and a link breaks across pages.
@Lupino links across pages are always "interesting" but github.com/latex3/hyperref/issues
@DavidCarlisle Issued an issue: github.com/latex3/hyperref/issues/368
@DavidCarlisle I suggest instead that you go to BachoTeX and talk to the polish guys. Bring some Adobe money...
 
1 hour later…
13:05
@mickep How many polishfoodies.com/polish-roast-duck-recipe will the adobe money buy?
13:24
@samcarter Oh, Mr Duck might know... :)
13:57
@samcarter maybe we closed that second question a bit too quickly. It's about having \begin{frame}[bad idea] instead of \begin{bad idea}...
@Skillmon I'm certain we have a duplicate for that, too :)
@Skillmon updated the link
@samcarter Saw it :)
@Skillmon But they are essentially all a duplicate of "Bad idea!"
 
1 hour later…
15:18
@Lupino I told you it would be simpler to just blame @UlrikeFischer :-)
 
1 hour later…
cfr
cfr
16:32
@DavidCarlisle the lm afms are buggy also.
cfr
cfr
16:42
@DavidCarlisle I take it that means 'no idea'. initial testing suggests I can predict the recommended subset without running the check for any font installed with fontinst.
16:54
@cfr yes not that surprising fontinst wasn't really expecting a lot of variation here I guess
cfr
cfr
17:10
@DavidCarlisle what does 'here' refer to?
fontinst fonts correctly complain about missing characters normally.
@cfr I meant in the TS1 range, but I may just be mis-remembering: it's a long time since I used fontinst.
cfr
cfr
@DavidCarlisle checkencodingsubset gives completely different results than normal use of the fonts.
@DavidCarlisle oh, it depends how you do it. but I take it you're thinking fontinst may not pick up most of that range. but the checkencodingsubset results err in the other direction. the test claims all characters in TS1 are available for every fontinst family I've tested.
for cfr-lm that's correct. but for the rest the results are completely spurious. to be clear: use in a normal test file produces missing character warnings. fontinst itself produces warnings, I think. (not sure about this.) only checkencodingsubset claims nothing is missing.
cfr
cfr
17:44
(./xxxr8r.mtx) (./xxxr8sr.mtx) (./textcomp.mtx) (./ts1-euro.etx)
\openout0 = `xxxr8c.vpl'.


(./ts1-euro.etx) (./ts1-euro.etx) (./ts1-euro.etx
Warning: missing glyph `arrowleft'.
Warning: missing glyph `arrowright'.
Warning: missing glyph `tieaccentlowercase'.
Warning: missing glyph `tieaccentcapital'.
Warning: missing glyph `newtieaccentlowercase'.
Warning: missing glyph `newtieaccentcapital'.
Warning: missing glyph `blank'.
Warning: missing glyph `hyphendbl'.
Warning: missing glyph `zerooldstyle'.
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(../../checkencodingsubset-m.tex
LaTeX2e <2024-06-01> patch level 2
L3 programming layer <2024-10-09>

=====================================================================
| Enter font family to check (or <enter> for kernel defined families)
=====================================================================


\FontFamilyToCheck=xxx
(./ts1xxx.fd)

-----------------------------------------
^^ @DavidCarlisle
cfr
cfr
18:00
@JosephWright is it possible to add a custom target to l3build such that other people could use it?
 
2 hours later…
19:42
@DavidCarlisle I got a template to work on which makes extensive use of \xspace (even in places where it doesn't make any sense, for instance \newcommand\foo[1]{Foo~#1\xspace}). Why did you have to release that cursed package?
19:54
@Skillmon blame it on @UlrikeFischer
20:16
@DavidCarlisle but why should I? It got your name on it so I can blame you :P
@Skillmon such a feable excuse for passing blame, anyway think of all the millions of documents that have been produced with perfect spacing because of this code.
20:44
@DavidCarlisle and the others having wrong spacing that wasn't detected because of this code :P
20:58
@Skillmon I can't imagine what you mean.

« first day (5133 days earlier)      last day (97 days later) »