Font naming problem

Kornel Benko kornel at lyx.org
Sun Jan 30 11:51:26 UTC 2022


This is for lyx2.4 _and_ lyx2.3

1. open new file in lyx
2. write some text
3. Document->Settings->Fonts
   3a. check: Use non-TeX fonts
   3b. Select roman font: "David CLM"
   3c. Formats->Default output format: PDF(LuaTeX)
4. Try a preview ==> Package fontspec Error: The font "DavidCLM" cannot be found.
5. save the file

6. Now check that there _is_ a font matching "David"
 $ fc-list -f "%{fullname}\n" |grep David
	David CLM Medium
	David CLM Medium Italic
	David CLM Bold Italic
	David CLM Bold
7. OK, now edit the saved file with an editor and change
	\font_roman "default" "David CLM [bitstream]"
   to
	\font_roman "default" "David CLM Medium [bitstream]"
8. open again with lyx
9. check the preview now works
10. Look into Document->Settings->Fonts->Roman
	==> David CLM Medium [bitstream] (not installed)


This does not feel OK.

	Kornel



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220130/374a811b/attachment.asc>


More information about the lyx-devel mailing list