Page MenuHome

Text objects ignore font kerning data
Open, Needs Triage by DeveloperPublic

Description

System Information
Operating system: Linux-5.0.0-27-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Quadro RTX 5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.56

Blender Version
Broken: version: 2.81 (sub 10), branch: master, commit date: 2019-09-12 08:59, hash: rBa22c2ceb0fee

Short description of error
Blender's text objects ignore kerning data included in font files. This optically increases space between glyphs with round or overhanging shapes.

Exact steps for others to reproduce the error
Simply create a new text object, the issue is already clearly visible in the placeholder text, between the letters 'T' and 'e'.

Details

Type
Bug

Event Timeline

Dalai Felinto (dfelinto) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Sep 12 2019, 3:29 PM

Please attach a sample file with a problematic font and a screenshot with the expected behaviour?

Simply create a new text object, the issue is already clearly visible in the placeholder text, between the letters 'T' and 'e'.

Seems a bit pointless to attach a sample file for issues that are clear as day with default values. But perhaps this screenshot shows what I mean.


Generally, graphics software provide the option to either enable or disable kerning. Which is the default differs per package, but it should never be ignored.
Note that this simply constitutes taking into account a table of data that is already present in the font file (or not, depending on the quality of the typeface). That said, it's possible that Bfont might not have kerning data present in its file at all, but I have tested with typefaces that do, and the same issue shows.

Sam Van Hulle (sam_vh) raised the priority of this task from Needs Information from User to Needs Triage by Developer.Sep 13 2019, 11:22 AM

I agree this is an issue. However, it is not really a bug, more a todo.

In fact some work has been done already: T47725, D2282
Not sure if it is easily possible to update this patch for current master. It looks fairly simple though.