texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] Kerning Bug


From: Aleksandr Dobkin
Subject: [Texmacs-dev] Kerning Bug
Date: Tue, 6 Mar 2012 01:16:38 -0600

As I was reviewing the display of the Times (URW Nimbus Roman) type in TeXmacs, I noticed quotation marks were not being positioned correctly. It turns out TeXmacs breaks up words up by whitespace and punctuation marks and runs the ligature-kerning algorithm on individual words only. However, this means that if a punctuation mark occurs next to a letter, it will not be kerned.

The problem is in the function text_language_rep::advance() in the file System/Language/text_language.cpp.

The simplest way to fix this bug would to count punctuation marks as being regular text. Is there a problem with this approach?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]