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?
_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to