Questions tagged [opentype]

{opentype} concerns the OpenType scalable type face format

Filter by
Sorted by
Tagged with
147 votes
1 answer
41k views

Which OpenType Math fonts are available?

What OpenType math fonts are there available for usage in TeX/LaTeX, e.g. with the unicode-math package? Here is a MWE which you can use to show off the font. \documentclass{article} \pagestyle{...
36 votes
3 answers
25k views

How do I use an OpenType font with my LaTeX document?

I want to use a really cool open-source OpenType font with my LaTeX document. I was told that either I could go through a long process of converting the OpenType font to one useable by LaTeX, or I ...
  • 9,841
20 votes
1 answer
3k views

"Interactive PDF, Latex and Article of the Future" with opentype/truetype fonts and unicode

I'm looking for a way to get popup references when hovering with the mouse cursor over the references in my papers. I looked around on this forum and found this question and hpesoj626's answer very ...
  • 2,154
28 votes
4 answers
4k views

How do I get a list of all font features supported by current font

With LuaTeX, how do I get a list of OTF features supported by the current font in use printed? For example, with otfinfo, I can get a list of OTF features by otfinfo -f font_file_name. Can I do ...
  • 8,744
19 votes
2 answers
3k views

How to use OpenType fonts with plain-LuaTeX?

Is it possible to have OpenType fonts with LuaTeX using the plain format? I have tried: \font\test="texgyrepagellaregular"\test test\bye but I get ! Font \test=texgyrepagellaregular not loadable: ...
  • 25k
21 votes
2 answers
3k views

TeX (LuaTeX, XeTeX, fontspec) support for OpenType variable fonts

Is anyone working on implementing support for the new OpenType variable fonts in any TeX/LaTeX implementation like XeTeX or LuaTeX? Will fontspec support accessing the new tables?
  • 527
15 votes
1 answer
1k views

How to find out which glyphs are different in an OpenType style set?

With fontspec, and XeTeX or LuaTeX it's possible to access a font's OpenType features, including the Style Sets, e.g. like this: \addfontfeatures{RawFeature=+ss01;+ss18} TeX.sx has already taught me ...
  • 52.4k
9 votes
2 answers
3k views

LuaLaTeX, fontspec and tracking with microtype

I try to get microtype's tracking working but without success: up-to-date TeXlive 2011 (lualatex 0.70.1) with microtype v2.5 beta 07. Sample code: \documentclass{article} \usepackage[no-math]{...
5 votes
2 answers
1k views

Access a glyph on fontspec using a GID (Glyph ID)

I'm trying to access a glyph, but it's only mentioned in the "Basic Latin and Latin 1" set for a font. The glyph has no name or unicode ID, but it does have a glyph ID or GID. fontspec doesn't mention ...
  • 6,257
18 votes
1 answer
1k views

Can't generate ligatures with LuaLaTeX under MacTeX2014 and MacTeX2015 when using certain fonts

(Remark: This question was posted originally when the big news, TeX-wise, was the impending transition from TeXLive2013 to TeXLive2014. Since the issue identified in this posting persists in ...
  • 449k
14 votes
4 answers
11k views

Inserting slashed zero in non-OpenType supporting LaTeX

Is there a slashed zero symbol in the standard LaTeX font that's accessible with pdflatex et al? I greped through the comprehensive symbols list a bit but didn't spot anything. In XeLaTeX I can use ...
  • 3,025
7 votes
1 answer
2k views

\setmainfont{Linux Libertine O} uses pfb files instead of otf

(This is sort of a follow-up to libertineotf and xelatex - bold smallcaps broken?, based on a problem that I had noticed earlier, but hadn't put my finger on.) \documentclass{article} \usepackage{...
  • 52.4k
48 votes
3 answers
3k views

How to suppress a "Rare" ligature that pre-empts a "Common" ligature for the same character pair?

In several documents I'm creating with LuaLaTeX (using MacTeX2012 on a Mac that's running MacOS X 10.7.5), I primarily use the Adobe-issued font Garamond Premier Pro as the main text font. I use this ...
  • 449k
17 votes
5 answers
4k views

Are there opentype sans math font(s) under development?

Rationale \TeX and \LaTeX were created with the (implicit) goal to create printed documents, mostly in English. In this context, using serif fonts as a default makes sense ; in particular, using ...
8 votes
1 answer
5k views

Install OpenType fonts in Texlive

Maybe this topic has already been discussed, but I haven't found anything clear about it! I bought Garamond Opentype fonts by Adobe, so I have *.otf font files. I'd like to use it in my thesis, but i ...
3 votes
1 answer
1k views

How can Bengali v.2 (bng2) be used to typeset Bengali with XeTeX?

This is a follow-up to this question about typesetting Bengali. As explained in both answers there, XeLaTeX can typeset Bengali given a suitable font using polyglossia and fontspec. For example, \...
  • 184k
23 votes
2 answers
2k views

fontspec, lua, microtype: Renderer=Basic no longer working for specific font styles

You may have noticed that, as of now,* letterspacing small capitals is not as easy as it was in pdfTeX, where we could simply combine \textsc with microtype's \textls. Consider this example, which ...
  • 9,603
12 votes
3 answers
863 views

LuaLaTeX: Change kerning around "1" to simulate proportional figures

I have the problem that both the original Helvetica and the Neue Helevetica font families by Linotype, in their OpenType versions, seem to not have proportional figures, only tabular figures, where ...
  • 3,294
8 votes
2 answers
742 views

Install an Updated Version of an Open Type Font for the Use with LuaLaTeX in TeX Live 2018

In my TeX Live 2018 installation on Linux, I want to replace the Libertinus fonts shipped with TeX Live by their latest GitHub build. If they are used in LuaLaTeX e.g. via \usepackage{fontspec} \...
user avatar
16 votes
2 answers
1k views

Towards a \ucshape and \textuc command for uppercase text (XeTeX, LuaTeX)

While we have \textit and \textsc, \itshape and \scshape etc., there's no \textuc and \ucshape to typeset its argument in uppercase. There is \MakeUppercase, but -- as uppercase is not a font style -- ...
  • 9,603
14 votes
2 answers
2k views

Generating a table of all glyphs – including meta data like name, Unicode etc

The answers to Generating a table of glyphs with XeTeX cycle through character positions in the font and output a glyph (and its ordinal number) if one is assigned to that position, which is only ...
  • 1,836
6 votes
3 answers
590 views

`ccmp` in Lua(la)TeX/ConTeXt, with Source Han serif font

Google and Adobe released a new CJK font Source Han Serif recently. One of the amazing feature is that, using opentype ccmp feature, it becomes possible to type the chinese character biang, as ...
18 votes
3 answers
3k views

Does LaTeX automatically change fonts when switching between Title, Author, Date, and Body Text or sizes modifiers?

I have a question regarding the inner workings of the system. Let us assume that I am using the article class. I cannot help but notice that the title seems to have a different look than the body text—...
1 vote
1 answer
400 views

Is there any way to use OpenType’s “access all alternates” feature in XeLaTeX?

This is inspired by this question, where an alternate character of a font is only available via OpenType’s access all alternates (aalt) feature. My question is simply: Is it possible to access this ...
  • 719
10 votes
1 answer
388 views

querying whether a font feature has been activated via a fontspec command

A LaTeX package I'm currently writing makes use of -- and definitely requires -- some of the power of LuaLaTeX. I would like to make my package's user interface -- in particular, the options that need ...
  • 449k
5 votes
0 answers
511 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 ...
4 votes
0 answers
401 views

Will XeTeX or LuaTeX support COLR table in OpenType fonts? [closed]

Announced at the Microsoft //build conference: A data structure, implemented as a new 'COLR' table in OpenType, breaks down the base glyph into a separate set of glyphs, each with its own z-order and ...
  • 6,907
3 votes
1 answer
124 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 ...
  • 2,827
16 votes
2 answers
1k views

Fixing mathit spacing with unicode-math

I am using lhs2TeX to convert code into LaTeX. It typesets code into math mode. As I am also writing math formulas in the same document, I use unicode-math to switch between different math mode fonts ...
7 votes
3 answers
709 views

unicode-math and braces scaling

I am trying to create a minimal lualatex distribution, and hence try to eliminate as much non OTF fonts as possible (I try to get rid of the .afm, .pfb, .map, etc files to save space). Everything is (...
  • 13.4k
6 votes
1 answer
126 views

Defining an initial variant through a feature file

\documentclass{article} \usepackage{fontspec,filecontents} \begin{filecontents*}{junicode.fea} languagesystem DFLT dflt; languagesystem latn dflt; feature calt { sub \beta by \uni03D0; } calt; \...
  • 3,256
5 votes
1 answer
553 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 ...
  • 916
15 votes
2 answers
2k views

Choice of consistent unicode open-type fonts for Phd Thesis in Engineering

Having written about 60% of my Phd thesis, I gave it to my advisor for review. I used Pdflatex and Latin Modern fonts for text and math. For source code listings, I did not change anything in ...
5 votes
1 answer
3k views

Installing the latest version of EB Garamond in TeX Live

I want to use the coloredlettrine package, which I understand requires a version of the EB Garamond fonts which is newer than that provided by TeX Live 2015. I'm trying to follow the instructions in ...
  • 2,944
13 votes
2 answers
1k views

How can I enable italic correction for LuaTeX?

LuaTeX ignores mathematical italic correction by default, as noted by Khaled Hosny. This leads to some awful errors when using some alphabet which is very slanted, like XITS' mathematical script ...
9 votes
2 answers
1k views

How to tell fontspec to load a font using a specific glyph variant not available as a CharacterVariant

I would like to use OpenType Vollkorn with xetex but its "1" causes me problems. It has an alternate glyph (whose glyph name is "one.ss01"), which I can trigger via StylisticSet={1}. But this also ...
user avatar
4 votes
2 answers
1k views

Substitute one glyph for an alternate glyph of another stylistic set

In LuaTeX, I want to do the following: Having a text in the standard stylistic set of the font, but for a specific letter instead of having the glyph of the standard stylistic set, having it ...
4 votes
1 answer
862 views

Substitute a character by another one (Lualatex)

The lowercase figures of Adobe Garamond Pro are very nice, but the 1 can be confusing: Is this 11 (as it should be) or 2 in Roman? I would like to replace automatically this lowercase 1 with another ...
  • 125
15 votes
1 answer
1k views

fontspec & microtype: fine tune OpenType fonts

I just began to try LuaTeX in order to make use of OpenType fonts. After loading fontspec I select such a font the usual way: \setmainfont{Adobe Garamond Pro} Now I wonder how I can fine tune the ...
  • 863
11 votes
2 answers
2k views

Context : How to install and use new opentype (math) fonts?

Motivation : I'm a die-hard user of LaTeX which is intrigued by ConTeXt and try to learn enough of it to be able to judge on its usability. For now, I'm limiting myself to Mark IV/LuaTeX (Mark II ...
11 votes
2 answers
1k views

OpenType fonts for Metapost Labels

Is it possible to use OpenType fonts in MetaPost labels? I use MiKTeX 2.9. I hoped something like mpost --tex=dvilualatex <myfile>.mp might work, but no luck. Suggestions? I tried this, but ...
10 votes
2 answers
3k views

How can I use OpenType Collection font with fontspec package and LuaTeX?

I have trouble setting monospaced font to Source Han Code JP font using \setmonofont. I tried the following code just the same as when I usually use fontspec package. % file name: example01.tex \...
  • 591
4 votes
1 answer
729 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 ...
  • 151
2 votes
1 answer
548 views

Relative Path to OpenType Font in LyX

I am trying to use custom OpenType fonts (using LuaLaTeX and the fontspec package) in a LyX document under version control. The document is potentially accessed by others on different machines, so I ...
  • 141
12 votes
2 answers
779 views

Accent positioning on 'oe' character with feature file in fontspec

There is no accented glyph for the 'oe' character in Linux Libertine. When trying to form this character, the (acute) accent is centred over the 'e' half. I'm trying to get the accent over the centre ...
  • 123
10 votes
1 answer
2k views

Best choice for open type font: PostScript outlines (OT CFF) or True Type outlines (OT TTF)?

I'd like to buy an open type font which is provided in two versions: with PostScript outlines (OT CFF) or with True Type outlines (OT TTF), as technical format. What would be the best choice for PDF(...
10 votes
1 answer
816 views

What do these OpenType Font Math Table terms mean?

These terms are defined in the OpenType Math Tables as follows : StretchStackTopShiftUp Standard shift up applied to the top element of the stretch stack. StretchStackBottomShiftDown Standard ...
  • 1,205
8 votes
1 answer
856 views

lualatex: smallcaps and microtype don't work together

Compiling the following MWE with lualatex doesn't produce small caps. There are no font warnings. \documentclass{article} \usepackage{fontspec} \newfontfeature{Microtype}{protrusion=default, ...
  • 103
6 votes
1 answer
499 views

Asymptote with lualatex and otf fonts

Consider the following simple asymptote file: import settings; import three; settings.tex = 'lualatex'; settings.outformat = 'pdf'; texpreamble("\usepackage{luatex85} \usepackage[math-style = TeX]{...
  • 9,559
6 votes
3 answers
562 views

LuaLaTeX OpenType style sets by 4-character style set code

This is partially answered by other questions which the TeX search found for me, but not in a comprehensive manner. I am a writer, not a mathematican or academic. I write fiction. So, my needs are ...
user avatar