Questions tagged [luahbtex]

A TeX engine based on luatex but with embedded HarfBuzz

Filter by
Sorted by
Tagged with
1
vote
1answer
91 views

LuaHBTex not working with scrartcl on Fedora

I am running Fedora on my laptop and my desktop, presumably same versions on both systems TexLive 2020 installed via dnf. If I try to run this simple document using "lualatex file.tex" on ...
3
votes
0answers
187 views

LuaHBTeX: \copy contents behave differently from \box for copy-paste -- by making contents tofu 􀈽 for reordered glyphs or by adding spurious space

Here's an example of a tex \vbox with some devanagari text in it. My code adds contents of \vbox to document twice, first its copy (using \copy), and later itself (using \box). Both copies look ...
0
votes
1answer
86 views

LuaTeX: Glyph property table doesn't get copied upon vbox copy

When I copy a vbox, its glyph's property table isn't copied. Is there a way to make it work? The property table might sound uninteresting for Node renderer,[*] but is quite valuable (for its ...
1
vote
0answers
115 views

LuaTeX: Devanagari glyph order is reversed in tex's internal nodelist, how to recover the correct order while traversing glyph nodes?

Note: The problem discussed in this question might affect not just Devanagari, but also other scripts that have character (logical/typed) & glyph (presentational/typeset) order reversed/reordered ...
4
votes
2answers
258 views

Devanagari UTF-8 text extraction code produces lua error while using HarfBuzz renderer

Devanagari UTF-8 text extraction code doesn't produce lua error while using fontspec's Node renderer, but still doesn't produce correct result due to a possible bug in Node renderer. I have filed that ...
1
vote
0answers
151 views

Renderer=HarfBuzz, Renderer=Harfbuzz throw Unkown option error for lualatex, lualatex-dev texlive 2020 [closed]

For the code in question asked here, I get error ! LaTeX Error: Unknown option `Renderer=HarfBuzz' for package `fontspec-luatex' when I pass option Renderer=HarfBuzz or Renderer=Harfbuzz to package ...
4
votes
0answers
98 views

Hyphenation character makes Hebrew words disappear in HarfTeX

Hebrew uses maqaf as a hyphenation character, and I have to declare it if I want to use it instead of the usual hyphen. However, this declaration somehow makes certain words disappear in Hebrew when I ...
3
votes
1answer
110 views

To have both Luatex85.sty and a correct \ifpdftex (through iftex.sty)

Loading luatex85.sty makes \ifpdftex true, under Luatex or LuaHBTex. This is probably by design, however how can we revert back to the correct \ifpdftex after dealing with an old package that is still ...
4
votes
1answer
316 views

Does luahbtex with HarfBuzz renderer completely supports math formating?

I am currently trying the new HarfBuzz renderer in TeXLive 2020 (using LuaHBTeX v. 1.12.0) with the STIX2 set of (serif/math) fonts. Rendering seems alright with my main font (and I can confirm mode=...
2
votes
1answer
147 views

LuaHBTeX Renderer=OpenType + BibLaTeX adventures part 2

(Continued from Freeze with fontspec's Renderer=OpenType + ItalicFont, biblatex, and polyglossia (Greek)) News: Author names and order matter (I wish I was joking: “Jane McGo” works but “Jane McGoop”...
1
vote
0answers
146 views

How to increase memory limit in LuaHBTeX (near-duplicate)

This question is essentially a reiteration of Increasing memory which I posted. I was satisfactorily able to get the magic numbers (! TeX capacity exceeded, sorry [number of strings=480992]) up to ...
4
votes
0answers
113 views

Freeze with fontspec's Renderer=OpenType + ItalicFont, biblatex, and polyglossia (Greek) [closed]

(Continued in LuaHBTeX Renderer=OpenType + BibLaTeX adventures part 2) It happens in a very specific situation, these work fine in other combinations: BibLaTeX (Greek works elsewhere) Polyglossia: ...
4
votes
1answer
176 views

Handling of missing thin space character in LuaHBTeX

LuaHBTeX has different handling of missing thin space glyph in fonts from previous luatex or xetex versions. \documentclass[margin=5pt]{standalone} \usepackage{fontspec} \setmainfont{Courgette ...
11
votes
1answer
811 views

Fallback for harfbuzz fonts

With the new harfbuzz font engine in LuaTeX, I look for a solution to do glyph based fallback. Say I have a CJK font without some latin letters, I would like to select the CJK font and my latin font ...
6
votes
2answers
233 views

Troubling glyphs

To type arabic with the same keyboard layout I used to use on Windows 10, I've created a .mim file (key mapping file) and put it in /usr/share/m17n to make it work with ibus-m17n on Ubuntu 18.04 LTS ...
5
votes
2answers
786 views

How to use AutoFakeBold and AutoFakeItalic with fontspec?

The font, Kalpurush, doesn't have any Bold, Italic, BoldItalic etc. features in it. \documentclass{article} \usepackage{harfload, fontspec} \setmainfont{Kalpurush}[RawFeature={mode=harf}] \parindent ...
4
votes
1answer
191 views

Trouble with british glyphs

If I use \setmainfont directive in my document, this is what I get instead of british glyphs! What's the reason of this problem and how to fix it? \documentclass{article} \usepackage{harfload, ...
15
votes
2answers
2k views

How to install HarfTeX on TeXLive?

I've Installed TeX Live 2019 and downloaded HarfTeX. I'm using Visual Studio Code along with LatexWorkshop on Windows 10 and without any problem tex files compile with xelatex and lualatex. What to do ...