I use Inkscape to draw one SVG file per letter and FontForge to integrate it. For this, I follow this guide of FontForge documentation.

In the SVG file, I use the right border to indicate a character’s xMax:

A character in Inkscape

But when I import it to FontForge this one doesn’t care about the border and set’s an arbitrary (?) width:

The same character in FontForge

So, how can I define (with Inkscape) a vertical line which will be used by FontForge as the xMax? Or, how can I force FontForge to use SVG width as glyph width?

  • That’s not kerning, that’s the bearing of the glyph. Kerning are individual adjustments of the bearing depending on the preceding or following letter. – Wrzlprmft Apr 14 '17 at 19:56
  • I am pretty certain @Wrzlprmft the correct term is kerning. At least, it’s the term FontForge use to define this functionnality (in Metric→Define right metric). You are probably wrong about the word “bearing”. Or, at least, FontForge users will beter understand me with a word used in the interface. – fauve Apr 15 '17 at 3:02
  • As I see in this image the bearing is a vertical value, when I want to manipulate a horizontal value (called “xMax” by this image). In my problem we can talk about xMax or kerning, or width, or advance but not about “kerning”. Is definitely the wrong concept. – fauve Apr 15 '17 at 3:06
  • In that image, the word bearing appears twice. And you might want to read the context from which it was taken. Anyway, advance and width are also fine in your context. – Wrzlprmft Apr 15 '17 at 6:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.