From: Jürgen Spitzmüller Date: Tue, 24 May 2011 06:22:55 +0000 (+0000) Subject: * BufferParams.cpp: font name can be non-ASCII! (bug #7569). X-Git-Tag: 2.0.1~293 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d9dd37763541857b1ecd5007bfd0cd484a8b6680;p=features.git * BufferParams.cpp: font name can be non-ASCII! (bug #7569). * status.20x: unifiy "bug #X"/"bug X"/"# X" git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38829 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 32c228532f..74b5ab5e6a 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -1373,7 +1373,7 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features, fonts_sans_scale, fonts_typewriter_scale, useNonTeXFonts, features); if (!fonts.empty()) - os << from_ascii(fonts); + os << from_utf8(fonts); if (fonts_default_family != "default") os << "\\renewcommand{\\familydefault}{\\" diff --git a/status.20x b/status.20x index 05932e05f7..463e431e6f 100644 --- a/status.20x +++ b/status.20x @@ -62,23 +62,26 @@ What's new - Fixed crash when outputing the unitone command to XHTML or when using such commands with mathematica, octave, or maple. +- Fix output of non-TeX font names with non-ASCII characters and associated + assertion (bug 7569). + - Fix output of decimally aligned columns in unviewed (on screen) tables. - Avoid LaTeX errors if font changing commands are used in the wrong mode by assuring to switch to the right mode on export. -- Fix validation problem with user macros (bug #7525). +- Fix validation problem with user macros (bug 7525). - Improve import of LaTeX documents with non-ASCII contents before loading - the inputenc package (bug #7509). + the inputenc package (bug 7509). -- Macros that use other macros now output properly to XHTML (bug #7532). +- Macros that use other macros now output properly to XHTML (bug 7532). - Fixed XHTML output for tables that use multirow. - Fixed export to plaintext of, as well as searching within, a document containing aligned and other multi-cell environments - (bug ##7549). + (bug 7549). - On Windows, allow to automatically switch TeX engines without the need of manually saving the preferences after reconfiguring (bug 7557). @@ -89,29 +92,29 @@ What's new - Fix crash relating to outliner and mouse movement. - Fix crash when putting multirow tables into notes---or any other inset - that appears in the outliner (bug #7547). + that appears in the outliner (bug 7547). - Advanced F&R would previously ask to open a master document under some - circumstances, or do strange things with \selectlanguage(bug #6560). This + circumstances, or do strange things with \selectlanguage(bug 6560). This has been mostly fixed. Please see the bug report for remaining issues. - Show the correct label after adding a line to an AMS Multline formula (bug - #7511). + 7511). - Equation numbering in child documents now works properly (bug 7531). -- Display \utilde and \undertilde in formulas correctly (part of bug #6622). +- Display \utilde and \undertilde in formulas correctly (part of bug 6622). - Restore the functionality of the TeX Information dialog on Cygwin if a native Windows TeX engine is used. -- Correct erroneous report of duplicate labels when dissolving insets (#7319). +- Correct erroneous report of duplicate labels when dissolving insets (bug 7319). - Make size of characters in instant preview snippets independent of the LaTeX font size (bug 2200). - Fix On-the-fly spellchecker jumps to next pattern match when replacing a - misspelled word with a suggested one from context menu (#7564). + misspelled word with a suggested one from context menu (bug 7564). * DOCUMENTATION AND LOCALIZATION