Skip to main content

Questions tagged [harftex]

harftex: A TeX engine based on luatex but with embedded HarfBuzz

Filter by
Sorted by
Tagged with
2 votes
0 answers
155 views

luaoftload v3.17 with HarfBuzz does awful line breaking with Garamond

I have this long document which I've been maintaining for years now, which I use Adobe's Garamond Premier Pro font for typesetting, and the whole document is fine-tuned to avoid overfull boxes and ...
The Drunken Whaler's user avatar
4 votes
0 answers
161 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 ...
Kazi bácsi's user avatar
0 votes
0 answers
185 views

Some bugs in LuaHBTeX or LuaOTFload with mode=harf?

Please try the following MWEs with LuaHBTeX: % Plain LuaHBTeX \input luaotfload.sty \font\twentyfiverm="MinionPro-Regular.otf:% mode=harf;script=latn;language=DFLT;+tlig" at% \directlua{tex....
Weißer Kater's user avatar
4 votes
0 answers
203 views

Use ConTeXt with another LuaTeX-based engine?

I've read that ConTeXt is a TeX format, so it can be used with engines such as XeTeX and LuaTeX (context loads LuaTeX by default, btw). I wonder if it is possible to use engines as HarfTeX or LuaHBTeX ...
user avatar
2 votes
1 answer
143 views

Alignment problem with Noto Sans Bengali

If I use Kalpurush instead of Noto Sans Bengali, I've no problem in alignment with this document: \documentclass[12pt]{article} \usepackage{harfload, fontspec} \usepackage[paperwidth=8.5in, ...
user avatar
6 votes
2 answers
287 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 ...
user avatar
5 votes
2 answers
2k 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 ...
user avatar
4 votes
1 answer
199 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, ...
user avatar
4 votes
2 answers
1k views

Trouble with Bangla Font Weight

For Bold, Italic and BoldItalic I switched to SutonnyMJ from Kalpurush as it doesn't have those features. Even though I've put all those .ttf files in my working directory, Bold, Italic and BoldItalic ...
user avatar
0 votes
1 answer
229 views

Can we draw tikz node with lua node this way?

I've found this example of using lua node. To output Va they've: \documentclass{minimal} \begin{document} \directlua{ local g1 = node.new("glyph") g1.font = font.current() g1....
user avatar
1 vote
1 answer
471 views

How to draw network diagrams with lua and tikz?

I was reading this article on drawing with lua and tikz. On page 45 of the article, the author's given an example code demonstrating the way to do so. Here's his lua code: -- File SimpleDemo.lua ...
user avatar
3 votes
1 answer
749 views

Formatting table with a lua for loop

I was trying to get a table like this 1 2 3 4 5 6 7 8 9 10 with this function function myTable() t = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} for k = 1, #t do if k == 1 then ...
user avatar
15 votes
2 answers
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 ...
user avatar