{opentype} concerns the OpenType scalable type face format

learn more… | top users | synonyms

15
votes
1answer
1k 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 ...
17
votes
3answers
9k 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 ...
13
votes
2answers
1k 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: ...
7
votes
2answers
2k 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} ...
13
votes
1answer
716 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 ...
11
votes
0answers
328 views

Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts

Consider the following MWE: % !TEX TS-program = lualatex \documentclass{article} \listfiles \usepackage{fontspec} \setmainfont[Ligatures={Common,Rare}]{Hoefler Text} \begin{document} ff fi fl ffi ffl ...
3
votes
1answer
2k 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 ...
7
votes
1answer
958 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} ...
17
votes
4answers
1k 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 ...
21
votes
2answers
1k 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 ...
8
votes
4answers
2k 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 ...
5
votes
0answers
236 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 ...
4
votes
2answers
283 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 ...
11
votes
2answers
772 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 ...
38
votes
1answer
1k 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 ...
14
votes
1answer
467 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 -- ...
13
votes
1answer
397 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 ...
9
votes
2answers
681 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 ...
18
votes
3answers
1k 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 ...
12
votes
2answers
331 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 ...
9
votes
1answer
441 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 ...
7
votes
1answer
613 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, ...
2
votes
1answer
60 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 ...
2
votes
1answer
282 views

An Error with XeLaTeX and fontspec [closed]

So I get the following error with some of my fonts and not the others: xdvipdfmx:fatal: Type2 Charstring Parser: Parsing charstring failed: (status=-1, stack=5) Output file removed. Is there a way ...
1
vote
0answers
49 views

How to use en-dash with Cambria fonts? [duplicate]

When using non-TeX fonts in LuaTeX I can produce en-dashes in the usual way by typing two dashes together --: \documentclass{article} \usepackage{fontspec}%use luatex \setmainfont{Cambria} ...
10
votes
1answer
227 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 ...
6
votes
1answer
372 views

Trouble with contextuals in LuaLaTeX with fontspec - trying to get internal long Ss to work

I have been trying to get a project of mine set with internal long Ss. Using fontforge, I have tried to set up the contextual (both [calt] and [cswh]) feature - but when I do, I get no results in the ...
5
votes
1answer
91 views

realscripts when sups are not defined

Many OpenType fonts, both free and commercial, have superiors for only 1, 2, and 3 and do not define the sups feature. I want to use the superiors in files with no more than three footnotes. At ...
4
votes
1answer
204 views

XeLaTeX: WordInitial, Inner and WordFinal seem to match everywhere

I am creating a blackletter font and would like to use it with XeLaTeX. I try to use initial/medial/final substitution for letters, like s/ſ, but the context seems to match even when it should not. ...
4
votes
1answer
873 views

Open Type Fonts have different scale in XeLaTeX

I am trying to create a template that allows easy switching of the main font using fontspec. I have noticed that the size of different fonts varies greatly, as the picture below illustrates. If we ...
2
votes
2answers
213 views

Subscript glyphs in OpenType math fonts. Where are they?

This is a follow-up to this question. The accepted answer tells me that OpenType math fonts typically include (in the same font file) optically scaled glyphs for script and script script sizes. I ...
2
votes
2answers
3k views

Adobe Garamond Pro (otf) with mathdesign

I would like to use the Adobe Garamond Pro (otf) font with mathdesign. The readme of the package says: The following commercial families are also supported: mdpga family corresponds to ...
1
vote
1answer
301 views

fontspec search path in TEXMFHOME

This is related to fontspec (xelatex) finding fonts by name, installed or in TEXMFHOME When installing an OpenType font in TEXMFHOME (~/texmf) I see the following behaviour with fontspec of TeXLive ...