Questions tagged [opentype]

{opentype} concerns the OpenType scalable type face format

Filter by
Sorted by
Tagged with
2
votes
1answer
55 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 ...
0
votes
0answers
47 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
52 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 ...
0
votes
1answer
227 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
67 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
57 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
65 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
40 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
56 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 ...
0
votes
0answers
28 views

How do I embed an extended section of vertical text into horizontal using luatex-ja?

I have been trying to insert a segment of vertical text with line breaks (turning into columns) into a larger horizontal text. After many tricks and hacks attempted, most of which a) destroy ...
4
votes
1answer
243 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
73 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
74 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
270 views

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

What package of these two is better for changing math-mode fonts (to .ttf fonts)?
1
vote
1answer
56 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
71 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
139 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
160 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
67 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
54 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
102 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
101 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 ...
5
votes
0answers
298 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
vote
0answers
124 views

PDF/A-1b compliance whilst embedding OTF files

As per this wikipedia article (see Fonts section), only pdf v1.6 and above is able to embed opentype fonts in the document. Now the problem is that, my institution requires pdf /A-1b compliance which ...
3
votes
1answer
294 views

How to install ttf and otf fonts for ConTeXt

What command do you use to install TrueType fonts or OpenType fonts? I like ConTeXt and I want to use it with TrueType fonts and OpenType fonts. There are so many variants of TeX that I don't know. ...
4
votes
0answers
128 views

mathspec or mathastext equivalents for ConTeXt

I have just started out with ConTeXt, and am wondering if there is a way to use fonts that do not have an OpenType math table or a specifically designed math font in the way that mathspec or ...
6
votes
1answer
223 views

Opentype features in fallback math font (e. g. EB Garamond) in ConTeXt

Preamble: In a document I want to use EB Garamond for both text and maths and I don't want to install anything that doesn't come with TeX Live (i. e. no Garamond Math and no URW Garamond). So here's ...
8
votes
2answers
557 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} \...
10
votes
2answers
1k 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 ...
1
vote
3answers
146 views

“native” math ligature with OpenType feature

With package semantic, one can easily produce special math symbols via ligature (e.g. -> becomes \rightarrow). In OpenType, however, there are similar things. For example, the Fira Code font ...
85
votes
1answer
15k 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{...
13
votes
2answers
1k 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 ...
1
vote
1answer
196 views

Define SizeFeatures for my own font face with fontspec

I use a large family of fonts, containing a lot of fontfaces. Besides standart Upright, Bold, Italic, and BoldItalic I need to use, e. g. Semibold. I define the new face with FontFace = {...
6
votes
1answer
251 views

fontspec/luaotfload: defining custom features without OTF feature file support

Since 2016, fontspec no longer supports standard OTF feature files. These files made it possible to define sophisticated custom changes to the way an OpenType font is processed. That feature file ...
4
votes
1answer
287 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 ...
1
vote
1answer
335 views

Using OTF with MiKTeX, XeLaTeX on Windows

Install free Cabin Open Type fonts in your home directory. Consider this file to be compiled with XeLaTeX: \documentclass{article} \usepackage{fontspec} \setmainfont{Cabin} \begin{document} {\...
2
votes
1answer
598 views

GFS Didot's Type1 italic word-initial theta (θ→ϑ) is missing

Update 2 I contacted the maintainer about this issue, who was quick to respond with a fix. It should be in CTAN shortly. Original question 0 The Type1 version of GFS Didot has a feature that turns ...
4
votes
0answers
303 views

Is there a difference between the Type 1 and OpenType versions of MetaType1 fonts?

MetaType1 is a system devised to create PostScript Type 1 fonts from MetaPost sources, similar in spirit to Knuth's original MetaFont but producing outline fonts instead of bitmaps. It comprises a set ...
3
votes
1answer
181 views

Using OpenType superior figures with siunitx

I want to use the specifically designed OpenType superior figures in my document. Doing this with fontspec is easy enough, but I couldn’t get siunitx to make the change as well and the package ...
3
votes
1answer
185 views

StylisticSet Command dose not work for some fonts

In some Open-type fonts there are some stylistic sets are available, which help to select the glyph-set which may be appropriate to particular language. For Marathi, the language I want to use, some ...
1
vote
1answer
119 views

Spacing between bars in textstyle fractions--issue with STIX2 or OpenType Math specification

Given the following code: \documentclass{article} \usepackage{unicode-math} \setmathfont{STIX2Math.otf} \begin{document} \[ \frac12\textstyle\frac12 \] \end{document} Using LuaLaTeX version 1.0....
1
vote
1answer
321 views

Use UppercaseSmallCaps with Alegreya and beamer

The problem of Alegreya which has a separate font family for small caps and how to properly include both in order to use bold and italics has been discussed here. However, I would like to use the font ...
1
vote
0answers
69 views

insert the Chinese character 'Biáng' with opentype [duplicate]

With the help of Source Han Serif (思源宋体), one can pseudo-encode some unencoded glyphs, such as the following Chinese character: One can do this through the use of their IDSes (Ideographic Description ...
3
votes
1answer
393 views

What hinders XeTeX in accurately detecting OpenType features?

I decided to investigate the OpenType features of the fonts installed in my computer by using the XeLaTeX code from the chosen answer to How do I get a list of all font features supported by current ...
15
votes
5answers
2k 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 ...
2
votes
1answer
179 views

LuaLaTeX: fonts.handlers.otf.addfeature kerning pairs with unexpected behaviour

So I tried to adapt this answer: https://tex.stackexchange.com/a/370469/75284 to all problematic neighbors of the narrow 1 and added the second group of kerning pairs, the ones that specify the ...
12
votes
3answers
652 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 ...
6
votes
3answers
340 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 ...
0
votes
0answers
161 views

Loading font option in fontspec

I want to use the Alegreya Sans font in my document, so I installed the font on my computer, and use fontspec package to load it. But I just can load several option like Algegreya Sans Light, Medium,...
1
vote
1answer
81 views

How to change font information such that XeTeX selects the correct face of the font family?

I am revising the Fetamont fonts and I am faced with a unsolved problem related to XeLaTeX (or maybe fontspec): I have put all the OpenType font faces in the local font folder (so XeLaTeX is able to ...