Re: [RFC PATCH 0/3] docs: pdfdocs: Improve alignment of CJK ascii-art

From: Wu X.C.
Date: Fri Jun 25 2021 - 13:17:56 EST


On Fri, Jun 25, 2021 at 08:32:47PM +0900, Akira Yokosawa wrote:
> On Fri, 25 Jun 2021 12:24:23 +0200, Mauro Carvalho Chehab wrote:
> > Em Fri, 25 Jun 2021 18:22:26 +0900
> > Akira Yokosawa <akiyks@xxxxxxxxx> escreveu:
> >
> >> On Fri, 25 Jun 2021 09:50:59 +0200, Mauro Carvalho Chehab wrote:
> [...]
> >>
> >> One minor problem might be that the Sarasa font needs manual
> >> download (and install).

It is officially releasing on Github:
<https://github.com/be5invis/Sarasa-Gothic>
Under OFL-1.1 License and provide both ttf and ttc format.
Then install 'sarasa-mono-sc-regular.ttf/c' in the compressed pack.

Above could be a part of tip message.

Thanks,
Wu
> >>
> >> Thanks, Akira
> >
> > If this is not yet packaged as part of texlive packages
> > on distros, this won't be a minor issue, as we'll need
> > to find procedures and test it for all distros supported
> > by the script.
>
> Existence of "Sarasa Mono SC" can be checked by the command:
>
> fc-list | grep "Sarasa Mono SC," | grep "style=Regular" | wc -l
>
> If the result is *not* "0", you have the font somewhere in your
> fontconfig path.
>
> I think this is portable across distros.
> Wouldn't this suffice for sphinx-pre-install?
>
> Thanks, Akira
> >
> > Thanks,
> > Mauro
> >