Font (detection) problems (want to use a Garamond font)
Herbert Voss
Herbert.Voss at fu-berlin.de
Sat May 6 04:59:31 UTC 2023
Am 05.05.23 um 17:41 schrieb Christian Obst:
> Here it is:
>
> No. Filename
> Path
> 1. CormorantGaramond-Bold.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
> 2. CormorantGaramond-BoldItalic.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
> 3. CormorantGaramond-Italic.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
[...]
that looks good!
A document with enabling "Don't use TeX fonts" and a preamble setting with
\setmainfont{EBGaramond-Regular.otf}
will use Garamond. The attached example file has
bash-3.2$ pdffonts Neues_Dokument2.pdf name type encoding emb sub uni
object ID ------------------------------------ -----------------
---------------- --- --- --- --------- YLHZXB+EBGaramond-Regular CID
Type 0C Identity-H yes yes yes 4 0
Herbert
> 4. CormorantGaramond-Light.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
> 5. CormorantGaramond-LightItalic.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
> 6. CormorantGaramond-Medium.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
> 7. CormorantGaramond-MediumItalic.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
> 8. CormorantGaramond-Regular.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
> 9. CormorantGaramond-SemiBold.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
> 10. CormorantGaramond-SemiBoldItalic.ttf
> /opt/texlive/2023/texmf-dist/fonts/truetype/catharsis/cormorantgaramond/
> 11. EBGaramond-Bold.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 12. EBGaramond-BoldItalic.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 13. EBGaramond-ExtraBold.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 14. EBGaramond-ExtraBoldItalic.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 15. EBGaramond-Initials.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 16. EBGaramond-Italic.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 17. EBGaramond-Medium.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 18. EBGaramond-MediumItalic.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 19. EBGaramond-Regular.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 20. EBGaramond-SemiBold.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 21. EBGaramond-SemiBoldItalic.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/
> 22. Garamond-Math.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/garamond-math/
> 23. GaramondLibre-Bold.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/garamond-libre/
> 24. GaramondLibre-BoldItalic.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/garamond-libre/
> 25. GaramondLibre-Italic.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/garamond-libre/
> 26. GaramondLibre-Regular.otf
> /opt/texlive/2023/texmf-dist/fonts/opentype/public/garamond-libre/
>
> On Fri, May 5, 2023 at 11:29 AM Herbert Voss <Herbert.Voss at fu-berlin.de> wrote:
>> Am 05.05.23 um 17:22 schrieb Christian Obst:
>>> \usepackage{fontspec}
>>> \setmainfont{EB Garamond}
>>>
>>> but that no longer works (gives me an error about not finding that
>>> font). luaotfload-tool --find "EBGaramond" confirms that it is
>>> installed in "/opt/texlive/2023/texmf-dist/fonts/opentype/public/ebgaramond/EBGaramond-Regular.otf"
>> What is the output of
>>
>> luafindfont -n garamond
>>
>> ??
>>
>> Herbert
>> --
>> lyx-users mailing list
>> lyx-users at lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-users
-------------- next part --------------
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\begin_preamble
\setmainfont{EBGaramond-Regular.otf}
\end_preamble
\use_default_options true
\begin_modules
multicol
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts true
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf5
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine biblatex
\cite_engine_type numerical
\biblatex_bibstyle numeric
\biblatex_citestyle numeric
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Standard
djshfk dksj hkdsh ajdkh ajkdsh ajkldsh jkaldshf
\end_layout
\end_body
\end_document
More information about the lyx-users
mailing list