mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
* src/Paragraph.cpp (simpleTeXSpecialChars):
- do not assume that typewriter can encode any character (bug 4727). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25434 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
012e2b6d9f
commit
fd5e171bad
@ -986,7 +986,14 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const & buf,
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
#ifdef WITH_WARNINGS
|
||||
#warning Can someone explain this silly method?
|
||||
// JSpitzm 2008/07/03
|
||||
// This looks like complete nonsense to me. Cf. the comments
|
||||
// below. Since this triggers iconv exceptions (see bug 4727),
|
||||
// I have commented this out for the time being.
|
||||
#endif
|
||||
#if 0
|
||||
// I assume this is hack treating typewriter as verbatim
|
||||
// FIXME UNICODE: This can fail if c cannot be encoded
|
||||
// in the current encoding.
|
||||
@ -996,6 +1003,7 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const & buf,
|
||||
}
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
// LyX, LaTeX etc.
|
||||
|
||||
|
@ -90,6 +90,8 @@ What's new
|
||||
landscape orientation, such that viewers can properly display them
|
||||
(bug 2721).
|
||||
|
||||
- Fix encoding errors when typewriter font is used (bug 4727).
|
||||
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
Loading…
Reference in New Issue
Block a user