Questions tagged [ligature]

In writing and typography, a ligature occurs where two or more graphemes or letters are joined as a single glyph. An example is the character æ as used in English, in which the letters a and e are joined. The common ampersand (&) developed from a ligature in which the handwritten Latin letters e and t (spelling et, from the Latin for "and") were combined.

In some typefaces, character combinations such as “fi” and “fl” overlap, resulting in an unsightly shape. The “fi” and “fl” ligatures were designed to improve the appearance of these characters.

The primary purpose of the ligature is to make text more readable by avoiding clashes between more than one character. The perceived fanciness is just an added bonus.

A ligature is a joining of two characters into one shape. For example, in French "œ" is a ligature of "oe".

References and Resources:
- https://en.wikipedia.org/wiki/Typographic_ligature
- https://developer.mozilla.org/en-US/docs/Glossary/Ligature
- https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-ligatures
- https://glyphic.design/ligatures/?route=/2005/12/21/ligatures/

121 questions
2
votes
1 answer

Smart Quotes and Ligatures in pandoc

I have a file text.txt which contains very basic latex/markdown. For example, it might be the following. Here is some basic maths: $f(x) = ax + b$ defines a straight line, often called a "linear" function---but it's not _actually_ a linear function,…
Sam OT
  • 420
  • 1
  • 4
  • 19
2
votes
1 answer

Strange character when I translate a pdf file to text using pdfminer

I translated a pdf file using pdfminer and I realize that in several situations I found a strange non-ascii 'fi' replacing 'fi'. An easy way to correct this problem seems to be content=re.sub('fi','fi',content) However, I only could correct the…
DanielTheRocketMan
  • 3,199
  • 5
  • 36
  • 65
2
votes
1 answer

Unicode composition in javascript

I am looking for a way to count ligatures as single units as they are displayed to user, e.g. https://www.compart.com/en/unicode/U+FEFB. When this character is typed (type G on Arabic keyboard), it's inserted in decomposition form, i.e. U+0644…
psmn
  • 131
  • 2
  • 5
2
votes
1 answer

xaringan metropolis no ligature in code output

I am using xaringan (metropolis theme) to prepare some slides for teaching R, thus I would like to see the code "as is". Xaringan currently uses ligatures in the code, which I think looks nice but is really bad when teaching the language to someone…
David
  • 9,216
  • 4
  • 45
  • 78
2
votes
1 answer

Certain ligatures do not work in chrome

I noticed that google chrome does show only certain characters as ligatures. The following font contains the codepoints ,, and . it also contains ligatures for the following codepoint sequences , , . Sequences containing the codepoint are not…
loominade
  • 1,028
  • 1
  • 11
  • 21
2
votes
3 answers

VS code operator mono light does not seem to support ligatures

After along wait I got the operator mono font, this is the setting I have in my settings file in VS code. { "editor.fontFamily": "Operator Mono Light", "editor.fontSize": 14, "editor.fontLigatures": true, } However ligatures does not…
tmp dev
  • 8,043
  • 16
  • 53
  • 108
2
votes
1 answer

JetBrains Idea Custom Ligatures

I have managed to create a few ligatures in some font editing software such as birdfont. However after I have installed my font into windows and I load PhpStorm, I select my font with the ligatures I have created but PhpStorm can't seem to display…
Seacomit
  • 277
  • 2
  • 12
2
votes
0 answers

Android Paint.breakText doesn't work on KitKat

For the string like "View profile" Android's Paint.breakText (on KitKat) returns 11 characters instead of 12. numberofchars = MyPaint.breakText ("View profile", // String text, true, // boolean measureForwards, 8192, // …
zeus
  • 12,173
  • 9
  • 63
  • 184
2
votes
0 answers

Blogger not showing ligatures

I have enabled ligatures using both font-feature-settingsand font-variant-ligatures (with all the browser-specific lines added, i.e. -moz-, -ms-, -webkit- and -o-), but ligatures just won’t display in Blogger. I’ve tried moving the CSS from html to…
Canned Man
  • 734
  • 1
  • 7
  • 26
2
votes
1 answer

Why does wprintf separate Unicode ligature into two different graphemes?

Code: #include #include #define USE_W int main() { #ifdef USE_W const wchar_t *ae_utf16 = L"\x00E6 & ASCII text ae\n"; wprintf(ae_utf16); #else const char *ae_utf8 = "\xC3\xA6 & ASCII text ae\n"; …
user206334
  • 850
  • 1
  • 8
  • 18
1
vote
1 answer

Tibetan and Devanagari ligatures not getting stacked properly using iText

I tried to output some Unicode text using both iText-2.1.7 and iText-5.1.3. While Devanagari characters got stacked properly, I am unable to see Tibetan characters properly stacked. In stead, each character is occupying a separate space. I tried…
Sanjay
  • 8,755
  • 7
  • 46
  • 62
1
vote
1 answer

Comparing two fonts in HTML5 Canvas

I'm trying to put together a tool that checks whether a given character is displayed in the specified style font or a system default font. My ultimate goal is to be able to check, at least in modern (read: IE8+) browsers, whether a ligature is…
Chris Krycho
  • 3,125
  • 1
  • 23
  • 35
1
vote
1 answer

How do I make the font ligature different than the main font on VS Code?

I would like to change the font ligature only on VS Code, instead of changing the main one (font family), is it possible and how to do? I have Cascadia Code and I would like Fira Code font ligatures. I tried to change the font family in the settings…
SpearN
  • 13
  • 3
1
vote
0 answers

How to make Fira Code Stylistic Settings cv24 and cv31 work in VScode

In my settings.json I have the following lines. "editor.fontFamily": "'Fira Code SemiBold'", "editor.fontLigatures": "'cv24', 'cv31', 'zero', 'ss02', 'ss04', 'ss05', 'ss09', 'calt', 'liga'", picture All of the Stylistic Settings I have tried work…
Xalkor
  • 11
  • 2
1
vote
1 answer

Not equal symbol instead of exclamation and equal

I've seen that some people they have Visual Studio Code showing ≠ instead of a classic !=. Does anyone know how one can enable this option? I've tried to search for an option to enable this, but I didn't encounter anything in the code editor's…
1 2 3
8 9