ctests failing on current master

Scott Kostyshak skostysh at lyx.org
Tue Sep 3 08:36:13 UTC 2024


On Tue, Sep 03, 2024 at 09:41:09AM GMT, Kornel Benko wrote:
> Am Mon, 2 Sep 2024 22:28:40 +0200
> schrieb Scott Kostyshak <skostysh at lyx.org>:
> 
> > On Mon, Sep 02, 2024 at 01:20:33PM GMT, Udicoudco wrote:
> > 
> > > > > > > >> export/doc/ja/Customization_pdf5_systemF  
> > 
> > > > > What fonts for example are you using for the japanese tests?
> > > > > What is the error you get with the Japanese Customization doc
> > > > > test?  
> > > >
> > > > I get the following error:
> > > >
> > > >   ! Package polyglossia Error: The current main roman font, name, does not
> > > >   (polyglossia)                contain the "CJK" script!
> > > >   (polyglossia)                Please define \cjkfont with \newfontfamily
> > > >   (polyglossia)                command  
> > > 
> > > Hmmm, and is this new?  
> > 
> > I think so, the test passes on a build from 2024-07-13.
> > 
> > > > > Or even better, is there a way to manually run a specific test?  
> > > >
> > > > I don't know if there is a general way.
> > > >  
> > > > > If I simply open the Japanese customization guide and check
> > > > > the use non-TeX fonts box, I don't see any fonts selected,
> > > > > so I could not tell what fonts were being used in the test
> > > > > that was failing.  
> > > >
> > > > Strange, when I click on the use non-TeX fonts box, I get the attached
> > > > (that is, I did not select those "IPA*" fonts myself). Maybe it is
> > > > because those fonts aren't installed on your system that LyX does not
> > > > show them to you?  
> > > 
> > > I indeed do not have them installed. After installing the fonts, they
> > > do appear in the GUI.
> > > I remembered that LyX indicates such situation by showing the selected
> > > font in the GUI  
> > 
> > > with a "not installed" string or something similar.  
> > 
> > Yes that's what I remember also. I guess it didn't do it this time since
> > the check box wasn't already checked, but not sure what's best.
> > 
> > > In any case, Inspecting the font I see
> > > 
> > > otfinfo -s ipamincho.ttf
> > >     hani        CJK Ideographic
> > >     kana        Hiragana/Katakana
> > >     kana.JAN    Hiragana/Katakana/Japanese
> > >     latn        Latin
> > > 
> > > which means the font does contain the CJK script (hani),
> > > and I don't get any error compiling the Japanese Customization
> > > manual.
> > > 
> > > Can you inspect the font you have installed, Scott?  
> > 
> > Interesting, I don't have any file on my computer named ipamincho.ttf.
> > 
> > $ locate -i ipamincho.ttf
> > $ locate -i mincho.ttf
> > /etc/alternatives/fonts-japanese-mincho.ttf
> > /usr/share/fonts/truetype/fonts-japanese-mincho.ttf
> > /usr/share/fonts/truetype/takao-mincho/TakaoMincho.ttf
> > /usr/share/fonts/truetype/takao-mincho/TakaoPMincho.ttf
> > /var/lib/dpkg/alternatives/fonts-japanese-mincho.ttf
> > $ 
> > 
> > $ otfinfo -s /usr/share/fonts/truetype/fonts-japanese-mincho.ttf
> > hani		CJK Ideographic
> > kana		Hiragana/Katakana
> > kana.JAN	Hiragana/Katakana/Japanese
> > latn		Latin
> > 
> > > I installed it from
> > > https://en.maisfontes.com/ipaexmincho.font  
> > 
> > I installed it from the Ubuntu repositories. It looks like
> > (https://gitlab.com/scottkosty/lyx-tester/-/blob/master/lyx-tester?ref_type=heads) I
> > installed the following packages:
> > 
> > fonts-ipafont-mincho fonts-takao-mincho fonts-ipafont-nonfree-jisx0208
> > fonts-ipaexfont-mincho fonts-ipafont fonts-hosny-amiri fonts-baekmuk
> > fonts-unfonts-extra fonts-ipaexfont
> > 
> > Scott
> 
> Try to see all mincho fonts with
>  $ perl {lyx-build-dir}/development/tools/listFontWithLang.pl -n mincho
> Font : Dejima Mincho [PfEd]
> Font : Harano Aji Mincho Bold [ADBO]
> Font : Harano Aji Mincho ExtraLight [ADBO]
> Font : Harano Aji Mincho Heavy [ADBO]
> Font : Harano Aji Mincho Light [ADBO]
> Font : Harano Aji Mincho Medium [ADBO]
> Font : Harano Aji Mincho Regular [ADBO]
> Font : Harano Aji Mincho SemiBold [ADBO]
> Font : IPAMincho Regular [IPA]
> Font : IPAPMincho Regular [IPA]
> Font : IPAX0208Mincho Regular [IPA]
> Font : IPAX0208PMincho Regular [IPA]
> Font : IPAex Mincho Regular [IPA]
> Font : IPAmj Mincho Regular [IPA]
> Font : Misaki Mincho Regular [Kdm]
> Font : Oradano-Mincho-GSRR [Take]
> Font : Sawarabi Mincho Medium [PfEd]
> Font : Takao Mincho Regular [Taka]
> Font : Takao PMincho Regular [Taka]
> Font : Ume Mincho Regular [Take]
> Font : Ume Mincho S3 Regular [Take]
> Font : Ume P Mincho Regular [Take]
> Font : Ume P Mincho S3 Regular [Take]

I have the following:

$ perl ./listFontWithLang.pl -n mincho
Added extension woff2 for file /usr/local/texlive/tl/texmf-dist/fonts/opentype/public/rit-fonts/RIT-Ezhuthu-Regular.woff2
Font : Harano Aji Mincho Bold [ADBO]
Font : Harano Aji Mincho ExtraLight [ADBO]
Font : Harano Aji Mincho Heavy [ADBO]
Font : Harano Aji Mincho Light [ADBO]
Font : Harano Aji Mincho Medium [ADBO]
Font : Harano Aji Mincho Regular [ADBO]
Font : Harano Aji Mincho SemiBold [ADBO]
Font : IPAMincho Regular [IPA]
Font : IPAPMincho Regular [IPA]
Font : IPAX0208Mincho Regular [IPA]
Font : IPAX0208PMincho Regular [IPA]
Font : IPAex Mincho Regular [IPA]
Font : Takao Mincho Regular [Taka]
Font : Takao PMincho Regular [Taka]
$ 

@Kornel does the following pass or fail for you?

  ctest -R 'export/doc/ja/Customization_pdf5_systemF'

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240903/2c89ba68/attachment.asc>


More information about the lyx-devel mailing list