Questions tagged [opentype]

{opentype} concerns the OpenType scalable type face format

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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 ...
8
votes
1answer
606 views

Use of Script-size and Script-script-size glyphs

In the answers to this question, I learned that OpenType Math fonts like Cambria and Latin Modern Math contain script-size and script-script-size characters, with different optical scaling. In my ...
2
votes
1answer
45 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
16 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 ...
16
votes
2answers
811 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 ...
75
votes
1answer
10k 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{...
6
votes
1answer
1k 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 ...
3
votes
1answer
111 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 ...
13
votes
4answers
7k 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 ...
0
votes
0answers
60 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
64 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. ...
7
votes
1answer
221 views

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

What package of these two is better for changing math-mode fonts (to .ttf fonts)?
0
votes
1answer
35 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
60 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 ...
9
votes
2answers
2k views

Use Type 1 fonts with XeLaTeX

I read many things about XeLaTeX and I wanted to give it a try, but I wasn't able to figure out how to make use of Type 1 fonts, in my case especially the font Lucida, which I bought from pcTeX (which ...
2
votes
0answers
119 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, ...
6
votes
3answers
303 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 ...
3
votes
0answers
132 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
55 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=`\-, \...
5
votes
0answers
186 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
1answer
43 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 ...
6
votes
2answers
372 views

Optical sizes and how to use them (luaTeX, possibly XeTeX)

I know of the OTF "optical sizes" feature, but I don't know how to use it properly. How can I check which optical sizes are available for my font? E.g. I have Adobe Caslon Pro which has the ...
1
vote
2answers
308 views

ArnoPro font loading in xelatex

I am new to XeLaTeX, I want to typeset in ArnoPro font, when I am using the fontsize 10pt xeLaTeX automaticaly load the Font ArnoPro-smText instead of ArnoPro-Regular. The same problem is coming for ...
0
votes
0answers
80 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
96 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 ...
13
votes
2answers
840 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 ...
4
votes
1answer
241 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
0answers
116 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
225 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
118 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
183 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
492 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} \...
7
votes
2answers
314 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 first,...
6
votes
3answers
354 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 ...
10
votes
2answers
894 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 ...
15
votes
4answers
1k 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 ...
1
vote
3answers
117 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 ...
1
vote
1answer
134 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 = {...
49
votes
3answers
2k 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 ...
6
votes
1answer
203 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 ...
8
votes
1answer
114 views

Does LuaTeX + OpenType always calculate inter-word spacing stretch and shrink as 1/2 and 1/3 of the nominal space?

As far as I know, OpenType does not have the concept of inter-word spacing stretch and shrink, only the normal amount. And \fontdimen 3 and 4 are calculated by luatex or the fontloader instead. And ...
1
vote
1answer
238 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} {\...
17
votes
1answer
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
votes
1answer
420 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
274 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
149 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
148 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
288 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
1answer
105 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
0answers
58 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 ...