Questions tagged [kerning]

The inter-glyph distance of two characters rendered with a font

In typography, kerning (less commonly mortising) is the process of adjusting the spacing between characters in a proportional font, usually to achieve a visually pleasing result.

Kerning is the adjustment of the space between individual letter forms vs. tracking which is the uniform adjustment of spacing applied over a range of characters. In a well-kerned font, the two-dimensional blank spaces between each pair of characters all have similar area. The related term kern denotes a part of a type letter that overhangs the edge of the type block.

141 questions
1
vote
3 answers

Kerning on font between chrome and firefox

I am working on a menu with a custom font and in chrome (and safari) it is spaced exactly how I want it. http://american-motorsports.net/2012/ When I view it in firefox, the kerning of the font is a little different causing a little black gap on the…
Ronnie
  • 11,138
  • 21
  • 78
  • 140
1
vote
1 answer

Safari removes word-spacing using Typekit with optimizeLegibility

I have a problem with Safari removing the space between words using Typekit font and text-rendering: optimizeLegibility in the css.. It works well in Chrome, so it's not a webkit issue. it works nice in Firefox as well. The reason I want to use…
guzh
  • 315
  • 1
  • 4
  • 19
1
vote
3 answers

"Relative" kerning with ImageMagick

I'm rendering text to a PNG using ImageMagick's convert -annotate command. Now I want to reduce the kerning, i.e. spacing between the letters. This can be done in IM using an option like -kerning -2. Unfortunately, this option completely overrides…
Marc Schütz
  • 1,061
  • 9
  • 16
0
votes
0 answers

How can I use and extract kerning values from TrueType fonts to correctly show glyphs using C++ library?

I need to extract Kerning values of TrueType Fonts using C++ library
0
votes
0 answers

How to Set Font Kerning property in c#

How to set the Font property Kerning and Use Context Properties in C# . It is possible to set in Word So I'm trying to set the font property and write it to pdf . So everytime I write it gives extra space . If I'm able to set the kerning property…
Abhijith
  • 29
  • 2
0
votes
1 answer

Font Kerning > Change Inter character spacing in DrawString System.Drawing

How to increase/decrease inter-character spacing while drawing the string with System.Drawing in C#? In other words, I want to implement Font Kerning while printing labels. I have tried winapi SetTextCharacterExtra but It is not working at all. One…
0
votes
2 answers

can you adjust the kerning between individual letters with Cufon?

Hey all.. exactly as it sounds. currently using @fontface, lettering.js, and kern.js to get this word pretty and scalable. would love to do all that and throw a pretty gradient on top. thanks!
technopeasant
  • 7,809
  • 31
  • 91
  • 149
0
votes
0 answers

How do i change to color of specific characters in a text using javascript?

So I have 2 textareas. In the first one, I have keywords and in the second one, I have the text. I want to change the color of every appearance of the keywords in the text to red and I have to do it in real-time. Like so: Now the problem is whit…
DragonS
  • 31
  • 1
  • 7
0
votes
1 answer

UITextView style is reset when I change kerning

The style is reset when I change kerning. For example, when I change the text size or color, it is saved, but when I change kerning, the style UITextView is reset @IBAction func sizeTextEdit(_ sender: Any) { self.textOne?.font =…
Dmitry
  • 25
  • 8
0
votes
1 answer

Font Size change KerningAdjustment, why?

I solved the problem, I created a function where I just pass the value of the spacing I need and the TextField public static void ChangeSpaceBetweenCharacters(this UITextField textField, float space) { …
0
votes
1 answer

How to change characters spacing in Powerpoint with C#

I just want to update the characters spacing in Powerpoint with C#, but I don't know how to do it. I iterate Slides and Shapes, but I cannot find a Spacing property in Font like Word. int slideCount = pprst.Slides.Count; for (int s = 1; s <=…
Patrick L
  • 1
  • 2
0
votes
1 answer

Swift IBDesignables and character spacing (kerning)

I can successfully implement a variation on the following code (/function) via viewDidLoad(), however, I would like to integrate it into an IBDesignable, as is set out below. @IBDesignable class kernedLabel: UILabel { @IBInspectable var spacing:…
George
  • 183
  • 2
  • 10
0
votes
1 answer

ffmpeg drawtext support for Hindi fonts

We are trying to use ffmpeg drawtext to support hindi fonts. But the ordering of the data is not correct. The unicode for Hindi text is passed like this 1. पिता माता िस्रफ But output renders as Output of code Have used the following code for…
0
votes
1 answer

iText7 - How can I show text kerned with the low level API (PdfCanvas) of iText7 and pdfCalligraph module?

In iText5 there is the class PdfContentByte with the methods showText(String) and showTextKerned(String) to show text without and with kerning. In iText7 the class PdfCanvas, which seems to be the corresponding class to PdfContentByte, does not have…
0
votes
0 answers

Issue regarding letter spacing in canvas with text that has shadows

Since the canvas element does not support letter spacing when rendering text, I decided to add the unicode hair space character (code 8202) between letters of a text string for spacing. Unfortunately, different browsers display this character at…
Chewie The Chorkie
  • 4,896
  • 9
  • 46
  • 90