Caret and Linegap

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
Pyanepsion
Posts: 52
Joined: Thu Jun 04, 2020 5:33 pm

Caret and Linegap

Post by Pyanepsion »

Hello everyone.
English is not always correctly translated by translation software, especially when it comes to technical terms.
What exactly are the words caret and linegap in the Font properties/Masters menu? Is it possible to have a scheme?
1. In the Metrics for Horizontal Layout
  • Line Gap. The help says: The vertical typographic gap. An application can determine the recommended line spacing for single-spaced vertical text for an OpenType font by the following expression: ideographic em-box width + Vertical Typo LineGap.
  • Caret Slope (degrees). The help says nothing.
  • Caret Offset. The help says nothing.
2. In the section Metrics for Vertical Layout
  • Vertical Caret Slope (degrees). The help says: The slope of the caret. Set value equal to 90 (a horizontal caret) for regular/nonslanted fonts.
  • Vertical Caret Offset. The help says: The amount by which the highlight of a slanted glyph needs to be shifted away from the glyph to produce the best appearance. Set value equal to 0 for regular/nonslanted fonts.
Thank you for your explanations.
Last edited by Pyanepsion on Wed Jul 14, 2021 1:33 pm, edited 1 time in total.
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9876
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Caret and Linegap

Post by Bhikkhu Pesala »

Caret: A mark used by an author or editor to indicate where something is to be inserted into a text.
Caret.png
Caret.png (12.62 KiB) Viewed 1781 times
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Pyanepsion
Posts: 52
Joined: Thu Jun 04, 2020 5:33 pm

Re: Caret and Linegap

Post by Pyanepsion »

Thank you, Bhikkhu Pesala,
1. The word Caret is now much clearer. It is the word that is translated as ‘Curseur’ in French.
If I understand correctly, the cursor will be distinguished according to whether the font is written horizontally (e.g. a Latin font) and this is what the Metrics for Horizontal Layout box indicates, or the font is written vertically (e.g. a Chinese font) and this is what the Metrics for Vertical Layout box indicates. Is this correct?
The font ariali.ttc has a 12° slant and a 0 offset (red), shown in white on this diagram.
2. The Line Gap is therefore the distance between the baselines. It is the word that is translated as ‘Interligne’ in French. Is this correct?
But then, what does 67 (orange) for the line gap represents in ariali.ttc?
curseur.jpg
curseur.jpg (666.98 KiB) Viewed 1772 times
caret.png
caret.png (15.64 KiB) Viewed 1772 times
Erwin Denissen
Moderator
Moderator
Posts: 11153
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Caret and Linegap

Post by Erwin Denissen »

Pyanepsion wrote: Wed Jul 14, 2021 2:56 pm Thank you, Bhikkhu Pesala,
1. The word Caret is now much clearer. It is the word that is translated as ‘Curseur’ in French.
If I understand correctly, the cursor will be distinguished according to whether the font is written horizontally (e.g. a Latin font) and this is what the Metrics for Horizontal Layout box indicates, or the font is written vertically (e.g. a Chinese font) and this is what the Metrics for Vertical Layout box indicates. Is this correct?
The font ariali.ttc has a 12° slant and a 0 offset (red), shown in white on this diagram.
Yes, that is correct.

Also be aware there is no data for Metrics for Vertical Layout (the checkbox is unchecked) in this font.
Pyanepsion wrote: Wed Jul 14, 2021 2:56 pm 2. The Line Gap is therefore the distance between the baselines. It is the word that is translated as ‘Interligne’ in French. Is this correct?
But then, what does 67 (orange) for the line gap represents in ariali.ttc?
No, line gap is the distance between the descender of a line and the ascender of the next line.

This article might be of interest:
https://www.high-logic.com/font-editor/ ... ne-spacing
Erwin Denissen
High-Logic
Proven Font Technology
Post Reply