|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,553
Karma: 14325282
Join Date: Nov 2019
Device: none
|
I like to keep up with the current version but this time it was a mistake
In Sigil for the code view font I've been using Microsoft's Cascadia Code. Ordinarily I'd use Microsoft's Consolas but I switched to Cascadia Code when I heard about it since it looks even nicer. Today I finally upgraded Sigil from 0.whatever it was to the latest version. Checking the preferences I saw Cascadia Code and decided to see if there's a newer version and there was so I replaced the one I had with the new one.
They've completely changed the curly quotes. They look like regular straight quotes. In the screen grab the "Regular quotes" paragraph is using the straight quotes. If you look very close their curly quotes are slightly thicker at the tops or bottoms but it's much too subtle for my eyes. It also has ligatures for coding stuff; I recently read an article online somewhere where they said that is a bad idea. I guess I should try and figure out where they're used so I don't get tripped by that as well. Last edited by hobnail; 03-14-2020 at 06:09 PM. |
![]() |
![]() |
![]() |
#2 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,553
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Ugh, the ligatures are as bad as having the numeric html entities replaced (some like that, but I don't). So != is replaced by an equals sign with a diagonal slash through it, => is replaced by that math arrow symbol.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
https://github.com/microsoft/cascadia-code/releases Looks like the change happened around November 2019. Quote:
Would be interested in seeing this article you speak of. |
||
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,983
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I've seen so many articles both for and against ligatures and coding that finding one is just a Google search away. One sample would be found at I'm Not a Fan of Programming Font Ligatures.
Personally, I'm more in the no camp. The only time I used a font that produced ligatures, it made it harder not easier to read the code. |
![]() |
![]() |
![]() |
#5 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,418
Karma: 99236514
Join Date: Apr 2011
Device: pb360
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,553
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Quote:
Ah, thanks. I'll give it a try. |
|
![]() |
![]() |
![]() |
#7 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,553
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Quote:
Code:
-> --> ==> != === !== && || <=< ### *** www.whatever Last edited by hobnail; 03-24-2020 at 02:44 PM. |
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
![]() |
![]() |
![]() |
#9 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,553
Karma: 14325282
Join Date: Nov 2019
Device: none
|
It's the same as if you were to type fi, fl, etc. with a font/setup that does ligatures; copy and paste gets what you typed.
|
![]() |
![]() |
![]() |
#10 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,418
Karma: 99236514
Join Date: Apr 2011
Device: pb360
|
Quote:
Quote:
Quote:
My only known recent experience with ligatures was a letter I wrote last year in libreoffice. When I printed it there was a blank space where a letter pair had been. I pulled the file up again and the correct letters were there. It took me a while to figure out they were shown as a ligature and that the printer font didn't have it. That put in my mind that a ligature is its own character. It is still my opinion that ligatures are worse than useless. |
|||
![]() |
![]() |
![]() |
#11 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,553
Karma: 14325282
Join Date: Nov 2019
Device: none
|
|
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
In Unicode itself, there are a handful of ligature characters, but these were provided mostly for backwards compatibility. Characters like: ff, fi, fl, ffi. And in the rare case, ligatures are actual letters in the alphabet. Like æ in Danish/Norwegian. For more details on this, see "Æ" on Wikipedia + "Orthographic ligature" > Letters and diacritics originating as ligatures. OpenType In OpenType, there are 4 main categories:
Beyond that, ligatures can also be arbitrary combinations of letters. Like in these code-focused fonts with: +- -> ±. The underlying characters are all still there: fi, st, fl... the font itself will just display these combinations differently or add flourishes depending on the settings (and font size!). Side Note: For more specific details, see Microsoft's article, "OpenType Font Features" > Ligatures. They serve a purpose for readability. It's why often you see 'f' in ligatures, because the 'f' overhangs to the upper right, so it often causes unsightly visual gaps or clashes with other tall letters. Side Note: For a lot more details/reading, see my Post #18 in "Turn off ligatures (temporarily)?" (and the rest of the thread) + especially see the talk I referenced in Post #29, "Selective Ligature Suppression" given at TUG 2018. In that talk, he goes to extreme detail about ligatures and how various languages handle them (plus many strange edge cases, like Turkish with the f + ı [dotless i]). Last edited by Tex2002ans; 03-25-2020 at 07:38 PM. |
|
![]() |
![]() |
![]() |
#13 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,553
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Quote:
(I think of them as glyphs rather than characters.) But aren't those glyphs what's used in the output? My thinking was that when there's a sequence that can be displayed with a ligature then something happens to make the ligature appear in the output instead of the original sequence. |
|
![]() |
![]() |
![]() |
#14 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Yeah. In normal language, glyph/symbol/character get used interchangeably... in Unicode, it gets a bit more technical, so "glyph" would be the proper term for a single displayed shape.
Quote:
Quote:
Last edited by Tex2002ans; 03-29-2020 at 12:13 AM. |
||
![]() |
![]() |
![]() |
#15 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,553
Karma: 14325282
Join Date: Nov 2019
Device: none
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura What is the current firmware version? | ZodWallop | Kobo Reader | 2 | 10-09-2016 02:17 AM |
Current version? | carbonize | Calibre | 0 | 04-17-2011 01:41 PM |
I made a mistake, time to move on...... | VenturingSoul | enTourage Archive | 12 | 07-01-2010 06:31 AM |
Current version | weedfreak | Calibre | 4 | 11-17-2009 12:57 PM |
Seriously thoughtful Your most embarrassing mistake! - Funny AND serious at the same time! | Dr. Drib | Lounge | 15 | 05-03-2009 07:37 AM |