Questions tagged [opentype]
{opentype} concerns the OpenType scalable type face format
230
questions
8
votes
3
answers
531
views
Palatino kerning issue
There are a number of digital versions of Palatino: Palatino LT Pro, Book Antiqua, TeX Gyre Pagella, Domitian and FPL Neu. In a number of these (which include the version I am using) there is a ...
1
vote
1
answer
52
views
\Umathaccent works with Type 1 fonts but not with OpenType
I am in the early stages of experimenting with accents in XeTeX/Unicode. This began because I wanted to be able to use MathTime Pro 2's bold and heavy accents without necessarily making the symbol ...
0
votes
0
answers
16
views
autoinst and size classes like Caption, SubHead, Display, etc
Can autoinst handle different design sizes of the same font family / subfamily, such as Display, Regular, SubHead, and Caption?
For instance, I tried to run autoinst with BulmerMTStd that has a ...
2
votes
1
answer
94
views
opentype math font kern
The original Computer Modern Math Italic font has a modest amount of kerning listed in its TFM metrics (largely for punctuation, but also for some exceptions like lower case d).
But when I use Latin ...
0
votes
2
answers
114
views
Greek letters within \mathsf, \mathsfit, \mathbfsf, and \mathbfsfit without using unicode-math
There are now a number of OpenType math fonts (or font families) available with Greek sans serif letters in all combinations of upright/italic and regular/bold. Stix 2 is a prime example (although at ...
0
votes
1
answer
47
views
How to get around ! LaTeX Error: Too many symbol fonts declared if using XeTeX
This is a follow-up question to Using ANY Stix Two Math OTF character in text and math modes without loading it as math font.
Using David Carlisle's method, I made the following package file:
\...
2
votes
2
answers
270
views
Sans serif glyphs in Noto Sans Math
Related: https://github.com/notofonts/math/issues/14#issuecomment-1469979121
How can use actual sans letters from the Noto Sans Math font for typesetting mathematics?
\documentclass{article}
\...
2
votes
1
answer
50
views
How to activate Discretionary Ligatures by default with "libertinus-otf" package?
I am using the package libertinus-otf with LuaLatex, MikTeX and the KOMA-Script document class scrartcl.
How do I activate Discretionary Ligatures by default for all fonts?
I have tried many things as ...
0
votes
0
answers
21
views
How can I use another OTF font from the system with kpfonts-otf just for a short text
I wanted to add a short sentence in, let's say, Garamond o some scripted font, to my book. How can I? I now it is not possible to use fontspec
4
votes
0
answers
77
views
OpenType case-senstive forms break microtype's protrusion for hyphens
By enabling the OpenType feature case-senstive forms ([Letters=Uppercase]), vertically lifted brackets, hyphens, or parentheses for example) via setmainfont with fontspec, I loose the protrusion for ...
1
vote
0
answers
79
views
Why LuaLaTeX adds features (like rot13) into any OpenType font in cache
The following program
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec{Erewhon-regular.otf}
Hello {\addfontfeature{RawFeature={rot13,!!??}} World !?}
{\addfontfeature{...
1
vote
1
answer
109
views
How to make opentype font in luatex latex work with unicode combining diacritical marks [closed]
We use s with caron
COMBINING CARON
U+030C
but also s with curved breve (curving up)
COMBINING BREVE
U+0306
from https://en.wikipedia.org/wiki/Diacritic
in a book we are typesetting with luatex using ...
2
votes
1
answer
63
views
Another font for italic, and Open Features
Xelatex
I can set special font for italics so
\setmainfont[ItalicFont={Ropa Mix PTT}]{Theano Old Style}
I can set Open features, or Letter spacing so:
\newfontfamily{\notefnt}{Slopes}[LetterSpace=8....
2
votes
0
answers
78
views
What is the difference between file font.lua and the font itself?
When LuaLaTeX/fontspec uses a font, say Erewhon-Regular.otf, it creates a file erewhon-regular.lua that is put in (user's)Library/texlive/2022/texmf-var/luatex-cache/generic/fonts/otl/. Actually it is ...
0
votes
0
answers
129
views
Examples of sans-serif fonts for commercial use and with mathematical support
I'm a designer and I'm designing a visual identity for a client, but he requested that the fonts have a wide math support. He uses LaTeX, and I would like to know some free fonts for commercial use ...
2
votes
1
answer
170
views
Using Variable Glyphs with fontspec
I would like to access some alternative glyph forms using fontspec. To be specific I am using the font Garamond Premier Pro and I would like to use the alternative forms of Q (Glyph 245), W (Glyph 246)...
0
votes
0
answers
52
views
Spacing of prime in mathspec
I'm using mathspec to typeset math in a non-Computer Modern OpenType font in XeLaTeX.
I have a permanent problem with the spacing of the prime symbol (the glyph of which is taken from the good old ...
2
votes
2
answers
165
views
concmath-OTF and eulervm lead to problems in math mode
I'm trying to use the recently-released concmath-otf package in a combination with eulervm, instead of the concrete package. My goal was to replace concrete roman with the more modern opentype version,...
0
votes
2
answers
76
views
Babel standard family and .otf font features
Compiling this simple code to apply a particular Style Set locally:
\documentclass{article}
\usepackage{fontspec}
\usepackage[italian]{babel}
\babelfont{rm}[Numbers={Proportional,OldStyle},RawFeature=+...
0
votes
0
answers
47
views
Fancy compositing not working in lualatex
I am using an OpenType font that can combine symbols from two adjacent words. This works fine in LibreOffice Writer, as shown on the left in this image. The line-with-circle is drawn above the part ...
1
vote
0
answers
95
views
Defining different opentype fonts for title and main text in a beamer theme
I am working on amending the helpful jhsph beamer theme (https://github.com/jfiksel/jhsphbeamer ) to match my university's font guidelines. The guidelines call for using Quadon for titles, headlines, ...
0
votes
0
answers
107
views
How to correct the vertical position of Accents in Opentype math?
Please look at the following MWE. The math accents are placed at another vertical position than the text accents. Not really nice.
\documentclass[20pt]{extarticle}
\usepackage{unicode-math}
% ...
0
votes
0
answers
39
views
Access glyph contours through luaotfload
Can I access the countours that make up a glyph through luaotfload?
I can see that luaotfload contains (in fontloader-font-ttf.lua) code for parsing the glyf table, which should store the outlines ...
2
votes
1
answer
97
views
Thinner square root line than expected
I am using Fira font in my document, text and math. The problem is that the math font is way too thin, so I ended up using FakeBold option from fontspec. Everything is OK until the square roots. As ...
5
votes
1
answer
196
views
chainsubstitution: which rule can detect the last character?
In the following MWE, I want to replace all ſ by s if they are at the last position of a line or document or some place where there is no next character.
I added two rules to show that it works for ...
2
votes
1
answer
330
views
How do you select individual end alternate/swash characters with LuaLaTeX and fontspec?
Basic Problem Statement
I would like to enable some (but not all) stylistic alternate ".end" characters from an OpenType font, on condition that they replace terminal characters in a word.
...
0
votes
1
answer
232
views
Scaling of parentheses and brackets with unicode-math and kpfonts fails
The problem
I use unicode-math and lualatex and for beamer presentations, I want a fully compatible OTF sans serif font (that looks good with Myriad Pro unlike GFSNeohellenicMath). Kp-Math-Sans works ...
2
votes
1
answer
160
views
LuaTeX does not find liga OpenType feature
I created a custom font in FontForge and generated an OTF of it. It contains the usual ligatures fi, fl, ff, ffi, and ffl. I use the font like this:
\documentclass{article}
\usepackage{fontspec}
\...
5
votes
2
answers
646
views
High-quality OpenType/TrueType fonts for text and math showcase
Is there any showcase of common high-quality OpenType/TrueType fonts for text and math (probably mostly serif)? I have been trying to find such here, but no success. Thanks!
1
vote
1
answer
192
views
How to loop through a range of Unicode characters to find which one is represented by a given glyph
I'm using XeLaTeX and OpenType fonts.
I would like to use a glyph with a given name, that may be assigned to different Unicode characters in different fonts (or may not exist in a font, or may exist ...
0
votes
1
answer
109
views
Using another glyph for \textmu in OpenType font with LuaLaTeX
I have an OpenType font that has #b5 (micro sign) undefined but #3bc (Greek small letter mu) defined. Since the font doesn't have any other Greek letters the reason it has that glyph at all is surely ...
5
votes
1
answer
109
views
A version of \showhyphens that works with OpenType fonts
In a 2014 post of the XeTeX list, the Great Master David Carlisle gives the following code for obtaining the same result as with the \showhyphens command, but with OpenType fonts in XeTeX:
\catcode`\@=...
0
votes
2
answers
163
views
Openany still producing extra page
I am very close to completing my project, but I am not sure why openany for my chapters is producing an extra page on pg.viii. I thought openany would fix where I could place the beginning of my ...
0
votes
0
answers
72
views
Deactivate ligatures in small caps in xelatex
In the following minimal example using the Palatino Linotype font:
\documentclass[twoside]{book}
\usepackage{mathspec}
\setmainfont{PalatinoLinotype}[
Extension = .ttf,
Ligatures = TeX,...
4
votes
2
answers
178
views
Why is kerning not applied when mixing OpenType character variants (swashes) with regular characters?
I am using an OpenType Font (OTF) that provides a number of character variants, for example variants of B, E, H with swirls, tails etc. The variants are accessed through the OpenType features "...
1
vote
1
answer
189
views
How to access style variants and discretionary ligatures in a specific font?
I am using MinionPro for my document (LuaLaTeX with fontspec). The font provides for a number of optional ligatures and glyph variants. Here's part of my font setup:
\setmainfont{MinionPro}[
...
1
vote
1
answer
290
views
OpenType Math fonts - What is the purpose of the Latin Supplement, Extended A, B character sets and unicode fractions sets?
As titled.
I've been creating a few personal OpenType math fonts (by combining existing fonts, like Minion, with existing math fonts); one strange thing that I've observed along the way is that it ...
2
votes
1
answer
125
views
Cannot get small caps with OTF font and XeTeX
I am working on a project which requires me to use plain TeX, which I compile with XeTeX.
The font I use is available as the following OTF files: MyFontSerif-{Regular,Bold,Italic,BoldItalic}.otf
I am ...
1
vote
1
answer
144
views
Problem with custom font feature for addition kerning in OpenType font
I try to add some custom kerning to an OpenType font used with fontspec under lualatex. The real-world example uses the Brill fonts, but as they are not part of TeX Live I use Libertinus in the ...
0
votes
1
answer
82
views
baselines aren't aligned by using Erewhon Math font
By using "Erewhon Math" font on $\pm 2$ one observes that the baselines
of \pm and 2 aren't aligned unlike as with "Latin Modern" font
If I use:
\documentclass{article}
\usepackage{...
2
votes
1
answer
326
views
How discover which TeXLive OpenType fonts have Unicode character with particular code?
With a main font of, say, TeX Gyre Termes, in a XeLaTeX document, I'm trying to find a suitable "x mark" character, namely, Unicode U+2718, from a different font (because the main font does ...
3
votes
1
answer
130
views
How does TeX display words in RTL languages?
This is likely a newb question, but I'm wondering how TeX automatically understands a language is RTL.
This is my test program:
\documentclass{article}
\usepackage{fontspec}
\newfontfamily{\arabicfont}...
4
votes
1
answer
131
views
How can I set automatic use of the double-oblique hyphen when a line break falls on an intentional hyphen?
Say you've got a compound word in which the elements are conventionally joined with a hyphen, instead of being jammed together, like fact-check is and gumshoe isn't, or one of those fancy hyphenated ...
0
votes
0
answers
88
views
Specifically regarding number styles, trying to understand otfinfo output for subsequent use with fontspec
An example first. I have the Monotype Baskerville Pro fonts. This is the otfinfo output for its Regular font:
$ otfinfo -f ~/Library/Fonts/BaskervilleMTPro-Regular.otf
aalt Access All Alternates
...
0
votes
0
answers
54
views
Why isn't fontspec activating the +zero feature in Libertinus Serif?
The documentation for the font Libertinus Serif notes that the OpenType tag zero should enable slashed zeroes. However, when adding this feature in fontspec, it does not appear to work. Here is my (...
0
votes
1
answer
149
views
How can I enable only Q-Swash in Fontspec?
I am using the 'Minion 3' font with fontspec using XeLaTeX. I would like to enable the alternate glyph for Q, which fontforge tells me is called Q.swash, in the font face Minion 3 Italic.
If I add ...
3
votes
1
answer
630
views
Open Type - Font feature
I'm currently using the Open Type Linux Libertine font. This font has many options available. In conventional word processing software, these options can easily be used when selecting the font. For ...
8
votes
0
answers
397
views
Using OpenType font with `dvilualatex` and `dvisvgm`
From the manual page of dvisvgm I learned that dvisvgm can convert and embed OpenType fonts in SVG output.
Indeed, this perfectly works with the example code listed below, if I process it with
...
5
votes
0
answers
115
views
LuaTeX: OpenType staircase kerning (MATH kerning) has opposed effect than expected
This is a follow up question to a previous reported font problem. Compiling the following MWE with LuaLaTeX
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{LibertinusMath-Regular.otf}[...
2
votes
1
answer
560
views
Generating PDF files with OpenType math fonts and no font embedding
I am new to TeX, working on an iPhone/iPad app that displays pages from a collection of PDF documents. Every PDF document in the collection contains one or more math expressions. Each PDF file is ...