Questions tagged [opentype]
{opentype} concerns the OpenType scalable type face format
218
questions
0
votes
1
answer
49
views
How to convert amsfonts(pfb) to otf fonts with fontforge?
I want to convert AMS fonts from type1 to otf with fontforge, which options should I choose?
For example: FFTM table or TeX table? Round or Hints? Windows-compatible kern?
0
votes
0
answers
43
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 ...
1
vote
1
answer
87
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
33
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
78
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
47
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
41
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
33
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
100
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
29
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
70
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
173
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
278
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
0
answers
34
views
Converting TeX smart ligatures from TFM/VF (actually OFM/OVF) into OpenType
I have a 917-glyph OVF font using hundreds of TeX smart ligatures and I would like to convert these ligatures into an OpenType ligature table. Before developing a tool especially for this task I would ...
0
votes
1
answer
130
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
93
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
365
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
126
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
74
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
95
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
69
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
54
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
142
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
105
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
198
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
85
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
90
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
61
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{...
1
vote
1
answer
199
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 ...
1
vote
0
answers
48
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
98
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
57
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
40
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
122
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 ...
1
vote
1
answer
223
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 ...
6
votes
0
answers
239
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
...
4
votes
0
answers
88
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
415
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 ...
1
vote
0
answers
518
views
Texmaker "you do not have read permission to this file" imac
I am using texmaker to open a .tex file and a .cls file on a computer. I have tried to open the same files in another computer and I get the error message:
"you do not have read permission to this ...
3
votes
1
answer
90
views
How to change what \normalsize means on a per-font basis?
I'm trying to mix and match fonts, using a beta OTF font that a colleague recommended. But when I load the font at its default size, it's not a good fit with Computer Modern. I need \normalsize to ...
1
vote
2
answers
1k
views
My system can't find installed otf and ttf fonts
I have texlive 2019 on windows 10 OS, I tried several times to install True Type Font or Open Type Font and after installation my system couldn't find them (the problem did not occur with my previous ...
0
votes
1
answer
207
views
Load font style of OpenType font in lualatex
I got some problems loading .otf fonts with fontspec in lualatex. What I don't get is the following: Let's suppose I have several .ttf font styles. Then I will just specify them succesively for my ...
0
votes
0
answers
112
views
How to install different font series files in Latex to compile with pdftex?
I have a problem with compiling my otf "Thesis" font. I have different font families like TheSerif, TheSans and TheMix. Every font family consists of different font series for example bold, italic, ...
0
votes
0
answers
138
views
SVG output from Metapost with opentype fonts
Is there any way to produce SVG output from Metapost and use opentype fonts for labels (like luatex allows with luamplib and pdf output)?
0
votes
0
answers
191
views
Fontspec cannot find OpenType features [duplicate]
And I’m back with more fontspec trouble. Recently, I asked a question about how to access a particular character variant using fontspec (here). Ulrike Fischer’s solution — to put a newer version of ...
3
votes
1
answer
118
views
realscripts – can fakescripts substitute single missing chars
I have a font with real OT-superscripts which I can use easily with the realscripts-package. But I also need a superscript decimal dot which doesn't exist, thus realscripts falls back to the regular ...
4
votes
1
answer
709
views
Is there a way to render a TeX formula in pure HTML/CSS using Open Type fonts? [duplicate]
Is there a way to convert a TeX document into HTML that instead of relying on JavaScript, SVG, HTML Canvas, or images for rendering formulae to solely rely on HTML, CSS, and OTF fonts?
In [Which ...
0
votes
0
answers
167
views
How to get correct content from PDF copying/pasting with Source Han?
I installed the “Language-specific OTFs” version of Source Han Sans from Adobe Font’s Release page, e.g., SourceHanSansSC-Regular.otf, which sets the default ideographs suitable under Simplified ...
4
votes
1
answer
114
views
Difficulty accessing OpenType ligatures with LuaLaTex and fontspec
I’ve been trying to use Greek ligatures with the font Alfios in the version available here. In particular, I’m trying to get the o-u ligature as can be seen in the image — that I get from MS Word.
...
8
votes
1
answer
422
views
Are `mathfont` and `mathspec` intended for same purpose?
What package of these two is better for changing math-mode fonts (to .ttf fonts)?