]> git.lyx.org Git - lyx.git/log
lyx.git
19 hours agoAmend 207eaeee9071cb 2.4.x
Juergen Spitzmueller [Thu, 16 May 2024 05:33:29 +0000 (07:33 +0200)]
Amend 207eaeee9071cb

The upstream encoding needs to be updated after this routine
(see comment in OutputParams.h:183ff.)

(cherry picked from commit 2d95f8fc160d6ecc63acb81ffac16a99339083b2)

2 days agoAmend(1) 5eaa03a1, Adapt to recognise AC_INIT empty buildtype
Kornel Benko [Wed, 15 May 2024 10:16:59 +0000 (12:16 +0200)]
Amend(1) 5eaa03a1, Adapt to recognise AC_INIT empty buildtype

2 days agoCmake build: Adapt to recognise AC_INIT empty buildtype
Kornel Benko [Tue, 14 May 2024 15:07:18 +0000 (17:07 +0200)]
Cmake build: Adapt to recognise AC_INIT empty buildtype

3 days agoUpdate build file
Richard Kimberly Heck [Mon, 13 May 2024 21:39:44 +0000 (17:39 -0400)]
Update build file

3 days ago2.4.0!
Richard Kimberly Heck [Mon, 13 May 2024 21:34:41 +0000 (17:34 -0400)]
2.4.0!

4 days ago Close notes about status of translation
jpc [Mon, 13 May 2024 09:33:56 +0000 (11:33 +0200)]
      Close notes about status of translation

4 days ago Typo
jpc [Mon, 13 May 2024 08:24:29 +0000 (10:24 +0200)]
   Typo

4 days ago Translate documentation of NeedCProtect
jpc [Mon, 13 May 2024 08:16:16 +0000 (10:16 +0200)]
    Translate documentation of NeedCProtect

4 days agoDocument NeedCProtect -1
Juergen Spitzmueller [Mon, 13 May 2024 04:53:19 +0000 (06:53 +0200)]
Document NeedCProtect -1

4 days agoAmend 207eaeee9071cb
Juergen Spitzmueller [Sun, 12 May 2024 06:52:09 +0000 (08:52 +0200)]
Amend 207eaeee9071cb

FragileFrame, as opposed to normal frame, supports cprotect (and needs
it in the usual circumstances)

(cherry picked from commit eeb3f9e719d15c4117a510e8a214d1c1b2c5a33c)

4 days agoIntroduce NeedCProtect -1 layout option
Juergen Spitzmueller [Sun, 12 May 2024 05:52:16 +0000 (07:52 +0200)]
Introduce NeedCProtect -1 layout option

It turns out beamer frame does not allow \cprotect and errors if it is
used. Hence we need to prevent it in this context entirely.

(cherry picked from commit 207eaeee9071cb828a2ab7f4680f8ff92e379af8)

6 days agoRemerge strings for 2.4.0 release
Richard Kimberly Heck [Fri, 10 May 2024 17:14:09 +0000 (13:14 -0400)]
Remerge strings for 2.4.0 release

6 days agoUpdate LFUNs
Richard Kimberly Heck [Fri, 10 May 2024 17:11:08 +0000 (13:11 -0400)]
Update LFUNs

2 weeks ago Typo
jpc [Fri, 26 Apr 2024 16:33:33 +0000 (18:33 +0200)]
  Typo

2 weeks ago Last review of French Tutorial manual before 2.4.0
jpc [Fri, 26 Apr 2024 16:16:22 +0000 (18:16 +0200)]
    Last review of French Tutorial manual before 2.4.0

3 weeks ago Last review of French Math manual before 2.4.0
jpc [Fri, 26 Apr 2024 09:43:30 +0000 (11:43 +0200)]
   Last review of French Math manual before 2.4.0

3 weeks ago Last review of French Math manual before 2.4.0
jpc [Fri, 26 Apr 2024 09:42:41 +0000 (11:42 +0200)]
     Last review of French Math manual before 2.4.0

3 weeks ago Last review of French Intro manual before 2.4.0
jpc [Thu, 25 Apr 2024 16:26:47 +0000 (18:26 +0200)]
            Last review of French Intro manual before 2.4.0

3 weeks ago Last review of French Customization manual before 2.4.0
jpc [Thu, 25 Apr 2024 16:00:16 +0000 (18:00 +0200)]
  Last review of French Customization manual before 2.4.0

3 weeks ago Check spelling of the French EmbeddedObjects manual
jpc [Wed, 24 Apr 2024 08:44:06 +0000 (10:44 +0200)]
    Check spelling of the French EmbeddedObjects manual

3 weeks ago Translation of French Additional manual completed
jpc [Mon, 22 Apr 2024 16:22:01 +0000 (18:22 +0200)]
    Translation of French Additional manual completed

3 weeks agosmall changes backported from master
Jean-Marc Lasgouttes [Fri, 19 Apr 2024 15:16:00 +0000 (17:16 +0200)]
small changes backported from master

3 weeks ago Typo
jpc [Mon, 22 Apr 2024 08:27:07 +0000 (10:27 +0200)]
   Typo

3 weeks ago Remove non supported Article classes in UserGuide
jpc [Mon, 22 Apr 2024 07:18:52 +0000 (09:18 +0200)]
    Remove non supported Article classes in UserGuide

3 weeks ago* metainfo.xml - homepage missing
Pavel Sanda [Sun, 21 Apr 2024 01:49:12 +0000 (03:49 +0200)]
* metainfo.xml - homepage missing

3 weeks ago Update fr.po
jpc [Sun, 21 Apr 2024 15:19:08 +0000 (17:19 +0200)]
     Update fr.po

3 weeks agoUpdate sk.po
Kornel Benko [Sun, 21 Apr 2024 10:11:59 +0000 (12:11 +0200)]
Update sk.po

3 weeks ago* cs.po
Pavel Sanda [Sun, 21 Apr 2024 09:57:29 +0000 (11:57 +0200)]
* cs.po

3 weeks agode.po
Juergen Spitzmueller [Sun, 21 Apr 2024 09:25:12 +0000 (11:25 +0200)]
de.po

3 weeks agoremerge strings
Juergen Spitzmueller [Sun, 21 Apr 2024 09:24:02 +0000 (11:24 +0200)]
remerge strings

3 weeks agoHandle the case of outdated chkconfig.ltx in user directory
Juergen Spitzmueller [Sat, 20 Apr 2024 12:57:12 +0000 (14:57 +0200)]
Handle the case of outdated chkconfig.ltx in user directory

(cherry picked from commit b8ff824a4f4ab4d3e213b55bf8117fd95b7b9657)

3 weeks agoConvert $${python} placeholder for graphic conversions
José Matos [Sun, 14 Apr 2024 20:30:02 +0000 (21:30 +0100)]
Convert $${python} placeholder for graphic conversions

(cherry picked from commit cdcaf0e7b6cc45bc74175667c390c3148c4730e9)

3 weeks agoCmake install: Forgotten to install tabletemplates.
Kornel Benko [Sat, 20 Apr 2024 17:33:25 +0000 (19:33 +0200)]
Cmake install: Forgotten to install tabletemplates.

(cherry picked from commit d05e295ddc22c65183a203e97240898a055d2d12)

3 weeks ago French UserGuide: check spelling and remove no more exiting article classes
jpc [Fri, 19 Apr 2024 16:54:01 +0000 (18:54 +0200)]
     French UserGuide: check spelling and remove no more exiting article classes

3 weeks ago#13049 add window activation for preferences to avoid it be hidden by main window...
Stephan Witt [Fri, 5 Apr 2024 08:47:49 +0000 (10:47 +0200)]
#13049 add window activation for preferences to avoid it be hidden by main window on mac after alert prompts

(cherry picked from commit 4c1db7cad866d99af2f2474d8467cc8581eb0eef)

4 weeks ago Typos in Additional.lyx, seen while translating in French
jpc [Fri, 19 Apr 2024 09:41:53 +0000 (11:41 +0200)]
   Typos in Additional.lyx, seen while translating in French

4 weeks ago Typo in fr.po
jpc [Fri, 19 Apr 2024 09:22:45 +0000 (11:22 +0200)]
   Typo in fr.po

4 weeks ago Typos iun Franch Additional manual
jpc [Fri, 19 Apr 2024 09:21:08 +0000 (11:21 +0200)]
   Typos iun Franch Additional manual

4 weeks ago Update translation of the French Additional manual, section 4.12 missing
jpc [Fri, 19 Apr 2024 08:54:40 +0000 (10:54 +0200)]
    Update translation of the French Additional manual, section 4.12 missing

4 weeks ago* another update fo zh_CN.po
Pavel Sanda [Thu, 18 Apr 2024 22:15:38 +0000 (00:15 +0200)]
* another update fo zh_CN.po

4 weeks agoImproved copy operation for user directory contents of previous major releases
Stephan Witt [Thu, 11 Apr 2024 16:30:29 +0000 (18:30 +0200)]
Improved copy operation for user directory contents of previous major releases

- avoid copying of configure.log
- avoid copying of chkconfig.ltx
  There is a report of a hang on first start of LyX with new major release.
  The removal of the chkconfig.ltx (leftover from early LyX versions) fixed the issue.

(cherry picked from commit 945a02e2e176e0f8fb9c599700c693032a01fa5d)

4 weeks agoClarify release note.
Juergen Spitzmueller [Sat, 13 Apr 2024 05:12:34 +0000 (07:12 +0200)]
Clarify release note.

4 weeks ago* pt_BR.po from Georger
Pavel Sanda [Sat, 13 Apr 2024 01:07:17 +0000 (03:07 +0200)]
* pt_BR.po from Georger

5 weeks agoUpdate Qt bug documentation (#12641)
Juergen Spitzmueller [Fri, 12 Apr 2024 09:13:15 +0000 (11:13 +0200)]
Update Qt bug documentation (#12641)

5 weeks ago* CREDITS regenerate
Pavel Sanda [Thu, 11 Apr 2024 07:45:38 +0000 (09:45 +0200)]
* CREDITS regenerate

5 weeks agoUpdate credits
Pavel Sanda [Thu, 11 Apr 2024 07:42:29 +0000 (09:42 +0200)]
Update credits

5 weeks ago* zh_CN.po - update credits
Pavel Sanda [Thu, 11 Apr 2024 07:37:36 +0000 (09:37 +0200)]
* zh_CN.po - update credits

5 weeks agoupdate zh_CN translation
Jiaxu Zi [Wed, 10 Apr 2024 09:19:28 +0000 (17:19 +0800)]
update zh_CN translation

5 weeks agoUpdate Win installer for new dictionary links. Untested.
Pavel Sanda [Wed, 10 Apr 2024 19:13:41 +0000 (21:13 +0200)]
Update Win installer for new dictionary links. Untested.

5 weeks agoDocs - update URL for dictionaries after recent infra movements
Pavel Sanda [Wed, 10 Apr 2024 19:12:36 +0000 (21:12 +0200)]
Docs - update URL for dictionaries after recent infra movements

5 weeks ago Update fr.po: a couple of typos and shortcut conflicts resolution
jpc [Wed, 10 Apr 2024 16:57:58 +0000 (18:57 +0200)]
    Update fr.po: a couple of typos and shortcut conflicts resolution

5 weeks ago French Additional manual, translation of chapter 4 up to sec. 4.9
jpc [Wed, 10 Apr 2024 16:50:42 +0000 (18:50 +0200)]
     French Additional manual, translation of chapter 4 up to sec. 4.9

5 weeks agoFix compilation with msvc 2019
Jean-Marc Lasgouttes [Sun, 7 Apr 2024 18:41:13 +0000 (20:41 +0200)]
Fix compilation with msvc 2019

'uint' is not defined, 'unsigned int' is better.

(cherry picked from commit c7f53afd319fc9028be74f8949cec00063972462)

5 weeks agoDo not include <QDate> in InsetInfo.h
Jean-Marc Lasgouttes [Thu, 4 Apr 2024 15:35:54 +0000 (17:35 +0200)]
Do not include <QDate> in InsetInfo.h

This is used by getDate/getTime, which actually should not be
InsetInfoParams methods, but functions in anonymous namespace.

(cherry picked from commit 51562ff37732f4949441bd8c2b55692b0719093a)

5 weeks ago* layouttranslations.review, ack from Yitzhak.
Pavel Sanda [Sun, 7 Apr 2024 20:01:49 +0000 (22:01 +0200)]
* layouttranslations.review, ack from Yitzhak.

5 weeks agoFix assertion when pasting paragraph with insets in lyxrc.ct_markup_copied
Juergen Spitzmueller [Sat, 6 Apr 2024 07:47:22 +0000 (09:47 +0200)]
Fix assertion when pasting paragraph with insets in lyxrc.ct_markup_copied

This has to be done after the inset buffers have been initialized.

(cherry picked from commit 9198ed5965809a1e951d1b721899d0051e619e34)

5 weeks ago French Additional manual, translation of chapter 4 up to sec. 4.3
jpc [Sat, 6 Apr 2024 16:42:09 +0000 (18:42 +0200)]
       French Additional manual, translation of chapter 4 up to sec. 4.3

5 weeks agoCmake build: Make QT5-compilation be default
Kornel Benko [Sat, 6 Apr 2024 10:36:47 +0000 (12:36 +0200)]
Cmake build: Make QT5-compilation be default

5 weeks ago* LFUNs.lyx - regenerate
Pavel Sanda [Fri, 5 Apr 2024 18:01:19 +0000 (20:01 +0200)]
* LFUNs.lyx - regenerate

5 weeks ago* quote-insert lfun description
Pavel Sanda [Fri, 5 Apr 2024 17:47:20 +0000 (19:47 +0200)]
* quote-insert lfun description

5 weeks agoRevert "Update sk.po"
jpc [Fri, 5 Apr 2024 15:48:43 +0000 (17:48 +0200)]
Revert "Update sk.po"

This reverts commit 148001f6fe5575cb3752f11a76360d0372d74ade.

5 weeks agoCouple of corrections in RELEASE-NOTES (mainly typos)
Juergen Spitzmueller [Fri, 5 Apr 2024 11:44:19 +0000 (13:44 +0200)]
Couple of corrections in RELEASE-NOTES (mainly typos)

6 weeks agoUpdate update-po.sh script
Richard Kimberly Heck [Thu, 4 Apr 2024 21:09:16 +0000 (17:09 -0400)]
Update update-po.sh script

(cherry picked from commit b360b9ebf7c2b1bbb0fe674790ed78065c3780c0)
(cherry picked from commit eb57c93aab05d586e8b06ef8a7277850f1591e24)

6 weeks agoCompilation fix with Qt < 5.7
Jean-Marc Lasgouttes [Wed, 3 Apr 2024 10:39:09 +0000 (12:39 +0200)]
Compilation fix with Qt < 5.7

Qt::ImAnchorRectangle has only been introduced in Qt 5.7. Since it is
used to answer a query from the IM machinery, there is no need for
it with older Qt versions.

(cherry picked from commit 6260689fd552a5e83d2970dcfd4d5ba7e09443e7)

6 weeks ago* ANNOUNCE
Pavel Sanda [Wed, 3 Apr 2024 19:49:05 +0000 (21:49 +0200)]
* ANNOUNCE

6 weeks agoFix label escaping in InsetMathRef (#12980)
Juergen Spitzmueller [Tue, 2 Apr 2024 06:15:53 +0000 (08:15 +0200)]
Fix label escaping in InsetMathRef (#12980)

This was completely broken: the IDs have been escaped in the LyX file
(which they absolutely shouldn't) but not in all LaTeX output (which
they should).

(cherry picked from commit 98080ca0d548b754433a99f9f097054134117184)

6 weeks ago Update fr.po
jpc [Tue, 2 Apr 2024 16:52:32 +0000 (18:52 +0200)]
     Update fr.po

6 weeks ago Translation of French Additional.lyx: chapter 3 completed
jpc [Tue, 2 Apr 2024 09:51:49 +0000 (11:51 +0200)]
      Translation of French Additional.lyx: chapter 3 completed

6 weeks agoUpdate sk.po
Kornel Benko [Tue, 2 Apr 2024 09:35:56 +0000 (11:35 +0200)]
Update sk.po

6 weeks agoCmake build: Adapt for branch 2.4
Kornel Benko [Tue, 2 Apr 2024 08:46:20 +0000 (10:46 +0200)]
Cmake build: Adapt for branch 2.4

6 weeks agode/UserGuide: update
Juergen Spitzmueller [Tue, 2 Apr 2024 07:32:02 +0000 (09:32 +0200)]
de/UserGuide: update

6 weeks agoMarking branching
Richard Kimberly Heck [Mon, 1 Apr 2024 20:20:24 +0000 (16:20 -0400)]
Marking branching

6 weeks agoFix context menu of InsetMathRef
Juergen Spitzmueller [Mon, 1 Apr 2024 15:59:56 +0000 (17:59 +0200)]
Fix context menu of InsetMathRef

6 weeks agoFix backslash LaTeXifying in InsetCommand
Juergen Spitzmueller [Mon, 1 Apr 2024 08:57:27 +0000 (10:57 +0200)]
Fix backslash LaTeXifying in InsetCommand

\ was transformed very early to \textbackslash{}, but then the following
routines escaped braces in the string, so we wrongly ended up in
\textbackslash\{\} and "\{} in the output

6 weeks agoFactor out shared method
Juergen Spitzmueller [Sun, 31 Mar 2024 10:40:27 +0000 (12:40 +0200)]
Factor out shared method

Amends babb5b007bd

6 weeks ago Restore Chapter 11
jpc [Sat, 30 Mar 2024 16:38:18 +0000 (17:38 +0100)]
       Restore Chapter 11

6 weeks agoFix crash with quick search starting with mathed selection
Juergen Spitzmueller [Sat, 30 Mar 2024 09:14:34 +0000 (10:14 +0100)]
Fix crash with quick search starting with mathed selection

setCursorSelection does not work with math. Copy the method from
spellchecker.

6 weeks ago Further translations of the French Additional manual
jpc [Fri, 29 Mar 2024 17:58:25 +0000 (18:58 +0100)]
   Further translations of the French Additional manual

7 weeks ago Further translations of French Additional manual + typo and ref. to Hebrew...
jpc [Thu, 28 Mar 2024 18:09:38 +0000 (19:09 +0100)]
  Further translations of French Additional manual + typo and ref. to Hebrew Letter in sec 3.5 of Additional.lyx

7 weeks agoDo not enter page break in heading (#13040)
Juergen Spitzmueller [Thu, 28 Mar 2024 17:03:54 +0000 (18:03 +0100)]
Do not enter page break in heading (#13040)

Rather than that, put it before or after, or disallow,
depending on the position.

7 weeks ago Further translations of French Additional manual
jpc [Thu, 28 Mar 2024 09:13:22 +0000 (10:13 +0100)]
  Further translations of French Additional manual

7 weeks ago Further translation of French Additional manual + typo in English version
jpc [Wed, 27 Mar 2024 17:38:28 +0000 (18:38 +0100)]
   Further translation of French Additional manual + typo in English version

7 weeks agoTypo in doc
Jean-Marc Lasgouttes [Mon, 25 Mar 2024 21:32:17 +0000 (22:32 +0100)]
Typo in doc

Thanks to Peter J. Puchyr for noticing it.

7 weeks agoFix alignment of screen font preview in prefs (remaining part of #13046)
Juergen Spitzmueller [Sun, 24 Mar 2024 08:00:41 +0000 (09:00 +0100)]
Fix alignment of screen font preview in prefs (remaining part of #13046)

7 weeks agoCmake build wit qt(5|6)(macos) did not include "plugins"
Patrick de Visschere [Sat, 23 Mar 2024 10:25:27 +0000 (11:25 +0100)]
Cmake build wit qt(5|6)(macos) did not include "plugins"

This makes things much simpler.

But at least with the latest macos tools (Sonoma and XCode15) a bundle
refuses to run if it 's not signed properly.

Both issues are solved with the patch included and have now been tested
with Qt5.15 and Qt6.7.

For completeness: I've checked the font-emph shortcut issue and, as
reported in the ticket mentioned, ^CmdE works with Qt5.15 but not with
Qt6.7. However the sequence ^C E does work. I don't know whether this is
intended as a workaround for this issue or was already implemented.

7 weeks agoFix display of a math hull inset in a tight inset
Jean-Marc Lasgouttes [Fri, 14 Jul 2023 00:13:18 +0000 (02:13 +0200)]
Fix display of a math hull inset in a tight inset

This is a kind of hack. This allows InsetMathHull to state that it
needs some elbow room beyond its width, in order to fit the numbering
and/or the left margin (with left alignment), which are outside of the
inset itself.

To this end, InsetMathHull::metrics() sets a value in
MetricsInfo::extrawidth and this value is added later to the width of
the row that contains the inset (when this row is tight or shorter
than the max allowed width).

Fixes bug #12320.

7 weeks agoRevert "Fix display of a math hull inset in a tight inset"
Jean-Marc Lasgouttes [Fri, 22 Mar 2024 14:08:26 +0000 (15:08 +0100)]
Revert "Fix display of a math hull inset in a tight inset"

This commit will be replaed by a better solution.

Part of ticket #12320.

This reverts commit 4bbd4a45e7494363903801540102150886fa2c6b.

8 weeks agofix documentation of --enable-cxx-mode
Jean-Marc Lasgouttes [Thu, 21 Mar 2024 21:50:38 +0000 (22:50 +0100)]
fix documentation of --enable-cxx-mode

8 weeks ago* cs.po
Pavel Sanda [Thu, 21 Mar 2024 21:47:31 +0000 (22:47 +0100)]
* cs.po

8 weeks agotypo
Jean-Marc Lasgouttes [Thu, 21 Mar 2024 21:40:19 +0000 (22:40 +0100)]
typo

8 weeks agoAmend 16660d12.
Thibaut Cuvelier [Thu, 21 Mar 2024 20:32:45 +0000 (21:32 +0100)]
Amend 16660d12.

The previous commit introduced wrong behaviours for <>. The new code carefully escapes what needs to be escaped from LaTeX, using the now-standard XML tools (XMLStream).

8 weeks agoMathML in HTML: don't escape <> for a raw LaTeX output.
Thibaut Cuvelier [Wed, 20 Mar 2024 23:29:23 +0000 (00:29 +0100)]
MathML in HTML: don't escape <> for a raw LaTeX output.

In some cases (I only found numbered equations), the LaTeX output still has a bit of HTML. For numbered equations, using \tag{X} (as suggested in https://www.lyx.org/trac/ticket/13048) would require fiddling with the output. KaTeX doesn't support \label. This patch is probably the easiest and most reliable fix.

Fixes https://www.lyx.org/trac/ticket/13048.

8 weeks agoUsing the latest commit and building lyx with cmake on macos-sonoma with
Patrick de Visschere [Wed, 20 Mar 2024 10:44:22 +0000 (11:44 +0100)]
Using the latest commit and building lyx with cmake on macos-sonoma with
xcode fails with multiple error messages like this one:

----------
CMake Error in po/CMakeLists.txt:
       The custom command generating

     <build-directory>/po/LyX2.4.cat.pot

       is attached to multiple targets:

     translations
     update-gmo

  but none of these is a common dependency of the other(s).  This is not
  allowed by the Xcode "new build system".

8 weeks agoAdd $$OrigAbsName placeholder to external
Jürgen Spitzmüller [Wed, 20 Mar 2024 06:57:43 +0000 (07:57 +0100)]
Add $$OrigAbsName placeholder to external

This produces the absolute path to the original file.

Documentation will follow in die time (after documentation has been
unfrozen)

8 weeks agoTableUI - allow expading of TableAlignCO (part of #13046).
Pavel Sanda [Tue, 19 Mar 2024 18:23:22 +0000 (19:23 +0100)]
TableUI - allow expading of TableAlignCO (part of #13046).

2 months agoUse docstring for preview snippet all the way down
Juergen Spitzmueller [Sat, 16 Mar 2024 10:55:17 +0000 (11:55 +0100)]
Use docstring for preview snippet all the way down

No need to convert back and forth

2 months agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Sat, 16 Mar 2024 04:03:16 +0000 (05:03 +0100)]
Merge branch 'master' of git.lyx.org:lyx

2 months agoSimplify b3fe9cb7049da
Juergen Spitzmueller [Sat, 16 Mar 2024 04:01:53 +0000 (05:01 +0100)]
Simplify b3fe9cb7049da

2 months agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Sat, 16 Mar 2024 03:59:08 +0000 (04:59 +0100)]
Merge branch 'master' of git.lyx.org:lyx

2 months agoPrevent iconv exception in previews (#13042)
Juergen Spitzmueller [Sat, 16 Mar 2024 03:52:51 +0000 (04:52 +0100)]
Prevent iconv exception in previews (#13042)

The preview loader assumes all content is in the main document encoding.

As soon as content was not encodable, LyX crashed. We now check for that
and if non-encodable glyphs are found, we do not produce a preview snippet
and warn.

Ideally, the preview loader should be made aware of encoding changes, or
we should generally use utf8 for previews.