]> git.lyx.org Git - lyx.git/commitdiff
* Paragraph.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 4 Jul 2008 06:01:45 +0000 (06:01 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 4 Jul 2008 06:01:45 +0000 (06:01 +0000)
- correct the kerning between two subsequent '<' or '>' characters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25436 a592a061-630c-0410-9148-cb99ea01b6c8

src/Paragraph.cpp

index fd914bc201c7181042d63b67e026772985445f4b..ff9d5b6bf18c432436b928ed82a3d5bdcfad72ec 100644 (file)
@@ -923,11 +923,8 @@ bool Paragraph::Private::latexSpecialT1(char_type const c, odocstream & os,
                // but we should avoid ligatures
                if (i + 1 >= int(text_.size()) || text_[i + 1] != c)
                        return true;
-               os << "\\,{}";
-               column += 3;
-               // Alternative code:
-               //os << "\\textcompwordmark{}";
-               //column += 19;
+               os << "\\textcompwordmark{}";
+               column += 19;
                return true;
        case '|':
                os.put(c);