14:48
@JosephWright I guess then asking on luaotfload issue tracker is where one gets a definitive answer as David suggested above.
14:47
@JosephWright I was not aware that matching ConTeXt behavior is a concern, but if it is then that is one answer to my question.
14:44
@JosephWright That is why I’m asking. I’m aware of the inadequate handling of hyphenation, but I’m not aware of other issue with these scripts.
14:20
@DavidCarlisle Makes sense, thanks
14:15
Also, would there be any interest in allowing harf mode for math fonts? HarfBuzz would be used only to load the font and get data from the MATH table, but math typesetting would still be done by the engine as usual. I’m hoping using harf mode would allow me to avoid issues like github.com/latex3/luaotfload/issues/278
14:11
Hi, a quick question. I’d like to see HarfBuzz the default in luaotfload, is there a possibility of this ever happening. Lets say I have a time to work on the hyphenation issue (I don’t currently) and I mange to get it in an acceptable state, would there be any other blockers to making harf mode the default?
Jan 30 12:34
@DavidCarlisle I don’t know any implementation that support this. May be it is possible at some current implementations, but I never tried it. My recollection is that implementations either grow glyphs vertically (anything bug accents) or horizontally (accents)
Jan 30 12:32
@DavidCarlisle It is a bit complicated. HarfBuzz, DirectWrite, etc, will set the advance width of mark glyphs to zero regardless of the advance set in the font (and many fonts depend on that), but not for all scripts. For some Indic scripts the width of marks is respected (though, I don’t remember which ones, and the node shaper might not support them anyway).
Jan 30 12:28
@DavidCarlisle Some people want \sum to stretch horizontally, so a font designed this way would have it grow vertically (for display size) as well as horizontally.
Jan 30 12:26
@DavidCarlisle There is a PR github.com/latex3/luaotfload/pull/299 and it looks like it comes from ConTeXt code
Jan 30 08:22
I think someone might be interested in this thread forum.glyphsapp.com/t/…
Jan 20 16:38
@mickep I mean, it shows that my interpretation matches the implementation. The font data might be less than ideal, but that is then a font issue to fix.
Jan 20 14:37
Jan 20 14:37
@mickep Here is another font with both vertical and horizontal gaps set to 0
Jan 20 14:35
Jan 20 14:35
@mickep MS Office seems to render it with a +ve vertical gap
Jan 19 21:51
@mickep I’m away from my computer now, but I’ll check it later
Jan 19 21:32
@mickep The skewedFractionVerticalGap text was basically based on “reverse engineering” what MS implementation does, but probably not many fonts were tested against it.
Jan 19 21:30
@mickep Nagwa TK is a companion for Adobe’s Tekton font, based on a Type1 TeX font that Nagwa acquired the rights for (I don't remember from which defunct TeX company), but the Arabic part is brand new.
Jan 19 21:27
@mickep Yes, I did the MATH table engineering for IBM Plex Math and some general math fonts consultation
Jan 19 21:24
I hope it will help more people build more math fonts. It fiscusses some topic that is not discussed elsewhere AFAIK, like how to choose sensible value for the various math constants.
Jan 19 21:23
I wrote also an article on math font development for Noto project, github.com/notofonts/math/blob/main/documentation/…
Jan 19 21:21
@mickep Fonts is such a wide area, but I have been doing some work on math fonts lately (Noto Sans Math, IBM Plex Math, and Nagwa TK Math), thought that is probably old news.
Jan 19 21:13
@mickep hi
Jul 9, 2019 16:30
@PauloCereda LibreOffice seems to use either -O2 or -Os, but it wasn't passing it to HarfBuzz build initially
Jul 9, 2019 16:21
@FaheemMitha It does, opening a medium size document it LibreOffice typically calls HarfBuzz a millions (or may be billions, it was a while since I last measured this) times. Just asking the compiler to optimize HarfBuzz gave measurable performance difference.
Jul 9, 2019 16:15
@FaheemMitha For software included in TeX Live, yes.
Jul 9, 2019 16:14
@PauloCereda Because you built them yourself, now go tell him he needs a java compiler now :)
Jul 9, 2019 16:14
@DavidCarlisle Fortran and new "systems programming" languages like Rust provide C API for this very reason.
Jul 9, 2019 16:13
I wouldn't want to the person to tell Karl some software in TeX Live needs Rust/Haskel/Lisp compiler, he was very upset when HarfBuzz stopped building with gcc 4.8.
Jul 9, 2019 16:10
@DavidCarlisle Also since C API seems to be the API exposed by all systems in use today, any low level library needs to expose a C API to be usable by higher level ones.
Jul 9, 2019 16:03
@FaheemMitha that is the only question, you pick the language good for the job, not the language then the job
Jul 9, 2019 16:02
@DavidCarlisle That is neither a TeX engine nor included in TeX Live :)
Jul 9, 2019 16:00
@DavidCarlisle you missed luahbjittex
Jul 9, 2019 16:00
@FaheemMitha There are, but which would be suitable for a library like HarfBuzz?
Jul 9, 2019 15:25
@JosephWright I see.
Jul 9, 2019 15:20
@DavidCarlisle I don't know what to do either.
Jul 9, 2019 15:19
@DavidCarlisle (that would be 6 if we count "lmtx", so that one is probably not "subtly different).
Jul 9, 2019 15:17
@DavidCarlisle Whatever puts food on the table
Jul 9, 2019 15:16
@HaraldHanche-Olsen You should include line number in the name too :)
Jul 9, 2019 15:15
I'm really confused by the latest LuaTeX development and not sure what should I do. We certainly don't want 5 subtly different LuaTeX engines in TeX Live, right?
Jul 9, 2019 15:13
@DavidCarlisle Do you write Fortran? you would be the second person I know who does Fortran.
Jul 9, 2019 15:12
@JosephWright Of course, silly me :)
Jul 9, 2019 15:10
@FaheemMitha What else should people use, C?
Jun 24, 2019 19:05
@UlrikeFischer Now that is problem, I'm implmenting these ligatures really as TeX ligatures, so they behave like base mode ligatures and I have no much control over that (and \char"7d- with TFM Computer Modern does produce an em dash as well, so node mode is the outlier here).
Jun 24, 2019 18:49
@UlrikeFischer Another difference between base and node, \char"2013- will produce em dash in base mode, but en dash followed by hyphen in node mode.
Jun 24, 2019 18:03
@UlrikeFischer I wouldn't mind either, but Computer Modern have them, so why not (it doesn't have ,, <<>> though, and these I'd be more happy to remove, but IIRC the XeTeX mapping file has them)
Jun 24, 2019 18:01
@UlrikeFischer cleaning up and will commit soon. Notice the last line (that is base mode) there are two quotes not a double one
Jun 24, 2019 17:59
@UlrikeFischer ^