Using fonts from the LaTeX Font Catalogue
David Carlisle
d.p.carlisle at gmail.com
Fri May 7 21:01:41 CEST 2021
On Fri, 7 May 2021 at 16:39, Paulo Ney de Souza <pauloney at gmail.com> wrote:
>
>
> On Thu, May 6, 2021 at 11:54 PM David Carlisle <d.p.carlisle at gmail.com>
> wrote:
>
>>
>> Paulo ,some comments on your list
>> .....
>> Note that if you are searching for fonts by font name rather than
>> filename with xelatex then you need to configure fontconfig
>> to look in the texlive tree, specifically add something like
>>
>> <?xml version="1.0"?>
>> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
>> <fontconfig>
>> <dir>/usr/local/texlive/2021/texmf-dist/fonts/opentype</dir>
>> <dir>/usr/local/texlive/2021/texmf-dist/fonts/truetype</dir>
>> </fontconfig>
>>
>>
> Hi David, indeed I went to a new installation and forgot about that piece:
>
> I used to do this in a different way -- executing the commands:
>
> sudo bash
> cp $(kpsewhich -var-value TEXMFSYSVAR)/fonts/conf/texlive-fontconfig.conf
> /etc/fonts/conf.d/09-texlive.conf
> fc-cache -fsv
>
>
> and I have 3 quick questions:
>
> Are there real differences between the end up results of your way and this
> way?
>
It's the same except I saved the search with kpsewhich and showed the file
directly.
you can save it in conf.d or in local.conf it makes no difference in this
context. fontconfig
looks in lots of places for its settings at system or individual user level
and as long as it's set somewhere...
I actually deleted one of the three directories in the texlive sample (for
type 1 fonts) which I think is a slight
improvement (I posted to texlive list about that a few weeks ago but it
makes no difference in most cases)
> What is exactly the file to be modified, in the way you suggest?
>
> Is this in TL instructions?
>
I was just suggesting that you follow the texlive instructions. I just
showed the file to be saved , you showed how you could
find the installed template file to copy, but it makes no difference.
>
>
>> > Some of them are reported AS part of TeXLive and some as NOT part of
>> TeXLive.
>>
>> It would be helpful to filter out all the cases that are documented as
>> not being in texlive, as in that case clearly the files not being in
>> texlive is not an error.
>>
>
>
> That was going to be my next step on the list.
>
But the list without being filtered in that way is not really any use. It
is just a list saying files that are not supposed to be in texlive, are not
in texlive.
> Paulo Ney
>
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20210507/2ca575be/attachment-0001.html>
More information about the texhax
mailing list.