@@ -179,43 +179,6 @@ describe('Vivliostyle CLI && Node.js', () => {
179179 ) ;
180180} ) ;
181181
182- describe ( 'fonts' , ( ) => {
183- it (
184- 'resolves CJK family aliases to the bundled Noto fonts (fc-match)' ,
185- async ( ) => {
186- await using container = await startIdleContainer ( ) ;
187- const mincho = await sh ( container , 'fc-match "MS Mincho"' ) ;
188- const gothic = await sh ( container , 'fc-match "MS Gothic"' ) ;
189- expect ( mincho . stdout ) . toContain ( 'Noto Serif CJK JP' ) ;
190- expect ( gothic . stdout ) . toContain ( 'Noto Sans CJK JP' ) ;
191- } ,
192- Timeout . LIGHT ,
193- ) ;
194-
195- it (
196- 'bundles a loadable file from each Noto sub-package' ,
197- async ( ) => {
198- const representativeFonts : ReadonlyArray <
199- readonly [ pkg : string , file : string ]
200- > = [
201- [ 'fonts-noto-core' , 'NotoSans-Regular.ttf' ] ,
202- [ 'fonts-noto-cjk' , 'NotoSansCJK-Regular.ttc' ] ,
203- [ 'fonts-noto-cjk-extra' , 'NotoSansCJK-Thin.ttc' ] ,
204- [ 'fonts-noto-color-emoji' , 'NotoColorEmoji.ttf' ] ,
205- [ 'fonts-noto-extra' , 'NotoKufiArabic-Black.ttf' ] ,
206- [ 'fonts-noto-mono' , 'NotoMono-Regular.ttf' ] ,
207- [ 'fonts-noto-ui-core' , 'NotoLoopedLaoUI-Bold.ttf' ] ,
208- [ 'fonts-noto-ui-extra' , 'NotoLoopedLaoUI-Black.ttf' ] ,
209- ] ;
210- const fcList = ( await runOneShot ( 'fc-list' ) ) . stdout ;
211- for ( const [ , file ] of representativeFonts ) {
212- expect ( fcList ) . toContain ( file ) ;
213- }
214- } ,
215- Timeout . LIGHT ,
216- ) ;
217- } ) ;
218-
219182describe ( 'document production' , ( ) => {
220183 function buildWithBrowser (
221184 browserArg : string ,
0 commit comments