Questions tagged [opentype]

{opentype} concerns the OpenType scalable type face format

Filter by
Sorted by
Tagged with
0
votes
0answers
24 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 ...
1
vote
1answer
51 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
1answer
163 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
1answer
241 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
0answers
24 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
1answer
58 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 ...
1
vote
1answer
70 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
2answers
302 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
1answer
79 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
1answer
53 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
1answer
90 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
2answers
56 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
0answers
44 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
2answers
135 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
1answer
84 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
1answer
141 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
1answer
69 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
1answer
63 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
1answer
55 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
1answer
141 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
0answers
47 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
1answer
83 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
0answers
44 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
0answers
39 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
1answer
104 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
1answer
150 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 ...
5
votes
0answers
213 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
0answers
77 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
1answer
369 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
0answers
453 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
1answer
70 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
2answers
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
1answer
170 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
0answers
98 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
0answers
118 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
0answers
173 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 ...
2
votes
1answer
100 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
1answer
653 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
0answers
149 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
1answer
109 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
1answer
387 views

Are `mathfont` and `mathspec` intended for same purpose?

What package of these two is better for changing math-mode fonts (to .ttf fonts)?
3
votes
1answer
247 views

How to enable contextual substitutions in lstlisting?

Fira Code (available via its GitHub Release page) not only provides fancy programming ligatures (see Use Fira Code font with ligatures in code listings), but also contains contextual substitutions. ...
1
vote
1answer
103 views

Emulate sups feature for an Opentype font with XeTeX?

I'm trying to access superscript Cyrillic letter in Ladoga Pro Opentype font. I do not get them with \addfontfeature{VerticalPosition=Superior}. As far as I can see, they are not included in sups ...
2
votes
0answers
166 views

realscripts/fontspec update vs. some Opentype fonts

I have a file that was running smoothly a few weeks ago and is now stopping with the message: Argument of \__fontspec_strip_leading_sign:Nw has an extra } Using most system fonts, or Amiri, ...
3
votes
0answers
218 views

XeTeX + \overline: Which \fontdimen’s are used?

Edit: This question has been thoroughly reedited to highlight the problem at hand. I am trying to mimic \overline to create similar symbols. According to Overline thickness on TeX.SX, and ...
2
votes
0answers
89 views

\addfontfeature resets \prehyphenchar and \posthyphenchar

This question is similar, but applies only to XETEX. In LuaTEX, \prehyphenchar and \posthyphenchar supposedly affect the current language: All languages start out with \prehyphenchar=`\-, \...
1
vote
1answer
67 views

tikzpicture and OpenType Fonts

I have a tikzpicture graph. I would like to use OpenType fonts (specifically Adobe Garamond Pro) on the axis marks. The MWE below uses OpenType for the axis labels, legend, and title, but not for ...
1
vote
0answers
149 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 ...
4
votes
0answers
152 views

Source Han: Em dashes (U+2014) fail to compose as U+2E3A and U+2E3B

Background A 破折号 (pòzhéhào, Chinese em dash) is a punctuation mark used in Chinese typesetting. It has very similar usage to the Western em dash. The Chinese em dash has two important features: It ...
5
votes
0answers
439 views

Localized glyphs (locl) have unicode value U+FFFD (�)

Originally this seemed to me like a font issue, as there was no equivalent problem with other fonts, as indicated by this good MWE: Copied text from good PDF EBGaramond12-Italic.otf: [ - ] бгдпт [...

1
2 3 4 5