Questions tagged [luaotfload]

{luaotfload} is a package to load OpenType Fonts(OTF) in Plain TeX/ LaTeX and to select OTF font features.

Filter by
Sorted by
Tagged with
1
vote
0answers
47 views

Moving luacode to Lua file, accessing glyphs by name

I have a package that includes (basically) the following code (provided by a contributor after asking this question on tex.stackoverflow). \begin{luacode} documentdata = documentdata or { } ...
1
vote
0answers
54 views

LuaLaTeX not outputting ligatures in Helvetica Neue TrueType Collection

Consider the following MWE: \documentclass{article} \usepackage{fontspec} \setmainfont{HelveticaNeue.ttc}[ UprightFeatures = {FontIndex=0} ] \begin{document} ff fi fl ffi ffl \end{document} ...
0
votes
0answers
45 views

Local font metric data problem?

I'm running into problems with LuaTeX loading custom fonts, but only when the fonts are not installed into the texmf tree. The font I'm concerned with are custom fonts that are part of the ...
7
votes
1answer
111 views

Fandol with LuaTeX

The next release of babel will provide basic line breaking for CJK with luatex. When I was making some experiments I discovered an odd and puzzling behaviour in the Fandol family. The file is: \...
12
votes
1answer
157 views

What is the least resource intensive way to generate the luatex font cache for a new font?

When a font is first used with lualatex, luaotfload does some magic to produce font cache files. For large fonts (e.g., Noto Sans CJK) this can take a lot of time and a lot of memory. I have an old ...
1
vote
1answer
140 views

microtype: \texls has no effect

I use microtype's \textls in combination with fontspec to change the tracking of text, and until recently, this worked as it should. Recently, it seems to have stopped to work with fonts other than ...
5
votes
0answers
253 views

Is luaotfload package broken?

Today's (2019-02-09) tlmgr update of TeXLive 2018 (on Linux) broke my project (around twelve hundred pages in several books typeset with LuaLaTeX using Adobe Garamond Pro) severely — almost all the ...
0
votes
0answers
54 views

luaotfload: can't find font after updating font database

I have installed a new font "MCS Diwany1 S_U adorned." with xelatex there is no problem but with lualatex a file like this \documentclass[11pt]{report} \usepackage{fontspec} \setmainfont[Script=...
0
votes
0answers
84 views

Custom Lua feature for CID-keyed font

fonts.handlers.otf.addfeature in luaotfload can be used to create custom features for fonts. The unicode values of glyphs can be used for CID fonts in the same way as for GID fonts, but some fonts ...
9
votes
3answers
270 views

examples for broken rendering of scripts in lualatex

The code of luaotfload mentions a number of scripts for which the support is incomplete. I would like to check if this is true and what perhaps could be done. As I know nothing about these scripts, ...
7
votes
1answer
162 views

using glyphs in the Corporate Use or Microsoft Symbol Areas

Since updating TeX Live yesterday (luaotfload was among the packages updated, to version 2.9, dated 2018/09/24), I’m having difficulty with glyphs in the Corporate Use Area and the MicroSoft Symbol ...
10
votes
1answer
382 views

Problems with LuaTeX 1.08 even on a very simple document

I just installed luatex 1.08 released yesterday (the installation is a manual process and replaces the original luatex v1.07 that ships with Texlive 2018) on my on GNU/Linux x86_64 machine and re-...
2
votes
1answer
264 views

Errors with libttf (was Font metric data not found or bad)

I'm having trouble loading some right-to-left fonts in a document I'm working on. I chose one at random — Avestan. MWE requires that you download https://noto-website-2.storage.googleapis.com/pkgs/...
6
votes
1answer
222 views

fontspec/luaotfload: defining custom features without OTF feature file support

Since 2016, fontspec no longer supports standard OTF feature files. These files made it possible to define sophisticated custom changes to the way an OpenType font is processed. That feature file ...
4
votes
1answer
252 views

Filling an empty slot in a font with another glyph from the same font

I am trying to use an existing glyph from an OpenType font to fill an empty slot in the same font using LuaLaTeX. fontspec.pdf (v2.6g, part VI) shows a hack that can substitute already existing glyphs ...
2
votes
0answers
192 views

lualatex (with fontspec) finds fonts only by font file name

I cannot get lualatex (MacTeX2017, updated this morning) to use font names. It seems only to want to use font file names. % !TEX encoding = UTF-8 Unicode % !TEX TS-program = LuaLaTeX \documentclass{...
2
votes
2answers
2k views

! LaTeX Error: File `luaotfload.sty' not found

On Ubuntu 16.04 I noticed that none of the Latex tools will supported other fonts than default. E.g. code like \usepackage{fontspec} \setmainfont{Ubuntu Mono} All tools fail with the same / similar ...
0
votes
1answer
269 views

luaotfload-tool can find fonts, but LuaLaTeX cannot find them to compile

I have otf Alegreya Sans Small Caps installed system wide: luaotfload-tool --find="AlegreyaSansSC" --fuzzy luaotfload | resolve : Font "AlegreyaSansSC" found! luaotfload | resolve : Resolved file ...
2
votes
1answer
208 views

“beelines” solution — texlive 2017

This beelines text gradient solution worked until I updated to texlive 2017. Sadly it no longer seems to work. Beelines Solution The MWE below depends on two LuaTex files: Files created by Philipp ...
3
votes
2answers
532 views

How are font names chosen for LuaLaTeX and XeLaTeX?

I've installed a ttf version of Adobe Garamond Pro on my computer (a Mac) using the Font Book application. The font files are in /Library/Fonts/. I'm wondering how XeLaTeX and LuaLaTeX end up picking ...
1
vote
1answer
777 views

“luaotfload.sty not found” and tlmgr “running on debian” issue

I've just installed Linux Mint 18.2 and TeX Live 2017 (I'm pretty sure; see below). I actually have two separate issues masked into one, so I will present them both. I have the following minimum ...
4
votes
1answer
264 views

Setting up a sans serif math font with combofont: large integral wrong

I'm currently playing around and try to build a sans serif font in lualatex with combo fonts. For the test I use as base math font TeX Gyre Pagella Math and try to pull in glyphs from other math and ...
10
votes
1answer
200 views

Call a (luatex-)combo font through NFSS

After some struggles I found a way to call a combo-font (which combines glyphs from two fonts) so that I can get various font sizes. Has anyone an idea how one could inject this code (or other code ...
14
votes
2answers
386 views

Fill a lua table with lowercase/uppercase pairs.

I would like to add the Letters=Uppercase option to a font which hasn't the needed open type feature built in. This is (with lualatex) possible like this: \documentclass{article} \directlua { ...
8
votes
1answer
574 views

LuaLaTeX can’t find fonts organised by FontExplorer X

I’m trying to switch from XeLaTeX to LuaLaTeX but unfortunately the latter doesn’t seem to find fonts that are organised with FontExplorer X, while XeTeX hasn’t any problems. The following example ...
9
votes
2answers
278 views

Adjusting kerning with LuaTeX and realscripts

I'm using the realscript package to get true super- and subscripts with LuaLaTex. However I'm not pleased with kerning of superscripts with the font I'm using, Linux Libertine. I've tried to adjust ...
1
vote
0answers
83 views

Removing OT features, apparently can be done?

Using TeXlive 2016 with LuaLaTeX on Ubuntu. Consider this MWE: % !TeX program = LuaLaTeX % !TeX encoding = UTF-8 \documentclass{article} \usepackage{fontspec} \setmainfont[Numbers=OldStyle]{Linux ...
5
votes
1answer
197 views

Recent change to luaotfload or fontspec, otf?

I am using TeXlive 2016 on Ubuntu with LuaLaTex, all up to date. As of a week ago (or so), the following code worked for me. It defines a new, custom Open Type feature using Lua code, as described by ...
2
votes
1answer
362 views

How to load otf font file by filename (using absolute path on windows)

I use texlive 2016 on windows (TeXStudio/latexmk/lualatex). The following MWE worked for me until the last texlive 2016 update (tlmgr update --all; executed 26th january 2017). \documentclass[12pt]{...
1
vote
0answers
111 views

MiKTeX/TeXworks and LuaLaTeX [duplicate]

I'm trying to compile a document with the LuaLaTeX engine, since LuaLaTeX is the only one that allows to use all fonts in my computer. But when I'm going to compile the document, I get this error ...
2
votes
1answer
935 views

fontspec error with lualatex MiKTeX

When compiling MWE \documentclass{article} \usepackage{fontspec} \begin{document} Hello \end{document} I get the error message (part of it) LaTeX Font Info: Try loading font information for EU2+lmr ...
1
vote
0answers
56 views

luaotfload conflict with fontspec [duplicate]

After the most recent miktex update, the following code will not compile with lualatex: \documentclass{article} \usepackage{fontspec} \begin{document} test \end{document} The same error happens if I ...
9
votes
1answer
207 views

Select a font via luaotfload on lua side

I'm creating a glyph node (a capital A) on lua side: \directlua{% n = node.new('glyph') n.font = font.current() n.char = 65 % ASCII code for capital A } I know how to select current font (font....
6
votes
1answer
210 views

Can I downsize lua tables generated by luaotfload?

luatex loads a lot of otf fonts at every luaLaTeX run with my custom class (Minion Pro, Myriad Pro, Minion Math, Latin Modern Mono, Latin Modern Math, XITS). This is an extract taken from my custom ...
2
votes
1answer
151 views

Why does fontspec fontloader recompile an existing .luc file at each run of luatex?

Consider the following snippet: \documentclass{article} \usepackage{fontspec} \begin{document} Test \end{document} Compiling with lualatex, one can read in the log file: (compiling luc: /usr/local/...
2
votes
1answer
164 views

“beeline” files not being found

Using the solution presented by @PhilippGesang per line text gradient for some reason my texlive is not finding the files, although I've texhashed myself half to death. My environment is ubuntu 14.04, ...
16
votes
1answer
296 views

Properly breaking up ligatures using selnolig / LuaLaTeX

Currently I use the selnolig package together with LuaLaTeX to automatically break up ligatures. This works quite well regarding the fact that ligatures get broken up at the right places. Note however,...
7
votes
2answers
333 views

TeXLive2016 lualatex does not use optical sizes for MinionPro opentype font

With current texlive 2016, the file \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX}} \setmainfont{Minion Pro} \begin{document}% \newcommand{\MyText}{No offence ...
7
votes
1answer
147 views

Remove ligature in a font using luaotfload (TeXLive 2016)

The luaotfload package in TeXLive 2016 has an interface to add new font features and replace the FeatureFile feature of fontspec in previous versions (see the following patch: https://github.com/wspr/...
2
votes
1answer
174 views

Problems with LuaLaTeX and Combining Characters

A project I'm working on requires the use of a somewhat unusual character, m̊. Unlike, say, the "a with ring," as in Swedish, a pre-combined form of this letter does not exist in Unicode, it can only ...
3
votes
1answer
1k views

fontspec with LuaLaTeX using Arial Narrow, while XeLaTeX is correct

I'm currently working on a document which I edit from multiple machines, both running Windows 10. In both cases I'm using Miktex (x64). There is however an issue on one machine, when I try to compile ...
43
votes
2answers
2k views

How to adjust font features in LuaTeX?

As of version 2.7 of luaotfload the support for font feature files (.fea) has been dropped. On the ConTeXt mailing list Hans showed how to make font substitution work through Lua. More examples are ...
5
votes
0answers
199 views

Problem with lualatex and feature files

I want to use a feature file to change the positioning of a single letter, but it does not seem to work. Here is an example: \documentclass{article} \usepackage{fontspec} \RequirePackage{...
1
vote
0answers
535 views

error: luaotfload | db : Font names database not found, generating new one [closed]

I'm using LuaLaTex on windows 8.1. While compiling encountered this error message: luaotfload | db : Font names database not found, generating new one. luaotfload | db : This can take several ...
0
votes
0answers
198 views

LuaTeX font database cannot be created in texlive (windows)

I'm trying to generate arabic article with a new package arabluatex, which requires lualatex engine, writing simple "hello world" example \documentclass{article} \usepackage{arabluatex} \...
5
votes
0answers
136 views

non-printing characters in the OpenType layout of LuaLaTeX [closed]

And while we are at it, there is another probable bug in the LuaLaTex OpenType layout code: a couple of non-printing characters (such as 200c, 200d, 200e 200f and so on) do in fact show up in the pdf, ...
5
votes
0answers
411 views

letters and spacing in Arabic — bug in OpenType layout of LuaLaTeX

I perceive the following unwanted outcome: Two issues: In the first line, the last word on the right has a small gap between the second and the third letter from the right that is not supposed to be ...
7
votes
0answers
254 views

luaotfload | load : path lookup unsuccessful [closed]

When I typeset documents with LuaLaTeX and OpenType fonts I regularly get messages like this in the .log file luaotfload | load : path lookup of "Palatino Linotype.ttf" unsuccessful, falling ...
1
vote
1answer
215 views

LuaLaTeX font loader picks Regular variant from system font repertory but Bold from texmf-local

I have on my system for some years TrueType versions of a an older release of a (free) font (Vollkorn) in my texmf-local. I have now downloaded the more recent release, which has more variants, and ...
1
vote
0answers
42 views

Use optical sizes of fonts with fontspec for local files [duplicate]

Now, this is the exact same question as Is there a way to use different local font files for different font size in fontspec?, but is is left without a solution. @WillRobertson answered in a comment ...