Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2024, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
Expand All @@ -9,96 +9,84 @@

@font-face {
font-family: 'DejaVu Sans Mono';
src: url('DejaVuLGCSansMono.woff2') format('woff2'),
url('DejaVuLGCSansMono.woff') format('woff');
src: url('DejaVuLGCSansMono.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'DejaVu Sans Mono';
src: url('DejaVuLGCSansMono-Oblique.woff2') format('woff2'),
url('DejaVuLGCSansMono-Oblique.woff') format('woff');
src: url('DejaVuLGCSansMono-Oblique.woff2') format('woff2');
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: 'DejaVu Sans Mono';
src: url('DejaVuLGCSansMono-Bold.woff2') format('woff2'),
url('DejaVuLGCSansMono-Bold.woff') format('woff');
src: url('DejaVuLGCSansMono-Bold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'DejaVu Sans Mono';
src: url('DejaVuLGCSansMono-BoldOblique.woff2') format('woff2'),
url('DejaVuLGCSansMono-BoldOblique.woff') format('woff');
src: url('DejaVuLGCSansMono-BoldOblique.woff2') format('woff2');
font-weight: bold;
font-style: italic;
}

@font-face {
font-family: 'DejaVu Sans';
src: url('DejaVuLGCSans.woff2') format('woff2'),
url('DejaVuLGCSans.woff') format('woff');
src: url('DejaVuLGCSans.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'DejaVu Sans';
src: url('DejaVuLGCSans-Oblique.woff2') format('woff2'),
url('DejaVuLGCSans-Oblique.woff') format('woff');
src: url('DejaVuLGCSans-Oblique.woff2') format('woff2');
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: 'DejaVu Sans';
src: url('DejaVuLGCSans-Bold.woff2') format('woff2'),
url('DejaVuLGCSans-Bold.woff') format('woff');
src: url('DejaVuLGCSans-Bold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'DejaVu Sans';
src: url('DejaVuLGCSans-BoldOblique.woff2') format('woff2'),
url('DejaVuLGCSans-BoldOblique.woff') format('woff');
src: url('DejaVuLGCSans-BoldOblique.woff2') format('woff2');
font-weight: bold;
font-style: italic;
}

@font-face {
font-family: 'DejaVu Serif';
src: url('DejaVuLGCSerif.woff2') format('woff2'),
url('DejaVuLGCSerif.woff') format('woff');
src: url('DejaVuLGCSerif.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'DejaVu Serif';
src: url('DejaVuLGCSerif-Italic.woff2') format('woff2'),
url('DejaVuLGCSerif-Italic.woff') format('woff');
src: url('DejaVuLGCSerif-Italic.woff2') format('woff2');
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: 'DejaVu Serif';
src: url('DejaVuLGCSerif-Bold.woff2') format('woff2'),
url('DejaVuLGCSerif-Bold.woff') format('woff');
src: url('DejaVuLGCSerif-Bold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: 'DejaVu Serif';
src: url('DejaVuLGCSerif-BoldItalic.woff2') format('woff2'),
url('DejaVuLGCSerif-BoldItalic.woff') format('woff');
src: url('DejaVuLGCSerif-BoldItalic.woff2') format('woff2');
font-weight: bold;
font-style: italic;
}
15 changes: 1 addition & 14 deletions test/langtools/jdk/javadoc/doclet/testFonts/TestFonts.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,35 +72,22 @@ public void testFonts(Path base) throws Exception {
"""
@font-face {
font-family: 'DejaVu Sans Mono';
src: url('DejaVuLGCSansMono.woff2') format('woff2'),
url('DejaVuLGCSansMono.woff') format('woff');
src: url('DejaVuLGCSansMono.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}""");
checkFiles(true,
"resource-files/fonts/DejaVuLGCSans-Bold.woff",
"resource-files/fonts/DejaVuLGCSans-Bold.woff2",
"resource-files/fonts/DejaVuLGCSans-BoldOblique.woff",
"resource-files/fonts/DejaVuLGCSans-BoldOblique.woff2",
"resource-files/fonts/DejaVuLGCSans-Oblique.woff",
"resource-files/fonts/DejaVuLGCSans-Oblique.woff2",
"resource-files/fonts/DejaVuLGCSans.woff",
"resource-files/fonts/DejaVuLGCSans.woff2",
"resource-files/fonts/DejaVuLGCSansMono-Bold.woff",
"resource-files/fonts/DejaVuLGCSansMono-Bold.woff2",
"resource-files/fonts/DejaVuLGCSansMono-BoldOblique.woff",
"resource-files/fonts/DejaVuLGCSansMono-BoldOblique.woff2",
"resource-files/fonts/DejaVuLGCSansMono-Oblique.woff",
"resource-files/fonts/DejaVuLGCSansMono-Oblique.woff2",
"resource-files/fonts/DejaVuLGCSansMono.woff",
"resource-files/fonts/DejaVuLGCSansMono.woff2",
"resource-files/fonts/DejaVuLGCSerif-Bold.woff",
"resource-files/fonts/DejaVuLGCSerif-Bold.woff2",
"resource-files/fonts/DejaVuLGCSerif-BoldItalic.woff",
"resource-files/fonts/DejaVuLGCSerif-BoldItalic.woff2",
"resource-files/fonts/DejaVuLGCSerif-Italic.woff",
"resource-files/fonts/DejaVuLGCSerif-Italic.woff2",
"resource-files/fonts/DejaVuLGCSerif.woff",
"resource-files/fonts/DejaVuLGCSerif.woff2");
}

Expand Down
12 changes: 0 additions & 12 deletions test/langtools/jdk/javadoc/tool/api/basic/APITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,29 +216,17 @@ protected void error(String msg) {
"resource-files/x.svg",
"resource-files/sort-a-z.svg",
"resource-files/fonts/dejavu.css",
"resource-files/fonts/DejaVuLGCSans-Bold.woff",
"resource-files/fonts/DejaVuLGCSans-Bold.woff2",
"resource-files/fonts/DejaVuLGCSans-BoldOblique.woff",
"resource-files/fonts/DejaVuLGCSans-BoldOblique.woff2",
"resource-files/fonts/DejaVuLGCSans-Oblique.woff",
"resource-files/fonts/DejaVuLGCSans-Oblique.woff2",
"resource-files/fonts/DejaVuLGCSans.woff",
"resource-files/fonts/DejaVuLGCSans.woff2",
"resource-files/fonts/DejaVuLGCSansMono-Bold.woff",
"resource-files/fonts/DejaVuLGCSansMono-Bold.woff2",
"resource-files/fonts/DejaVuLGCSansMono-BoldOblique.woff",
"resource-files/fonts/DejaVuLGCSansMono-BoldOblique.woff2",
"resource-files/fonts/DejaVuLGCSansMono-Oblique.woff",
"resource-files/fonts/DejaVuLGCSansMono-Oblique.woff2",
"resource-files/fonts/DejaVuLGCSansMono.woff",
"resource-files/fonts/DejaVuLGCSansMono.woff2",
"resource-files/fonts/DejaVuLGCSerif-Bold.woff",
"resource-files/fonts/DejaVuLGCSerif-Bold.woff2",
"resource-files/fonts/DejaVuLGCSerif-BoldItalic.woff",
"resource-files/fonts/DejaVuLGCSerif-BoldItalic.woff2",
"resource-files/fonts/DejaVuLGCSerif-Italic.woff",
"resource-files/fonts/DejaVuLGCSerif-Italic.woff2",
"resource-files/fonts/DejaVuLGCSerif.woff",
"resource-files/fonts/DejaVuLGCSerif.woff2",
"script-files/script.js",
"script-files/search.js",
Expand Down